Simple Question (Direct)
Simple Question
Q16887053
P734
Q82799
USER
Who has the surname James Wilson ?
(Q16887053,P734,c(Q82799))
action filter_type
action find
entity Q16887053
relation P734
type Q82799
['Q16887053', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q82799 . resource:Q16887053 property:P734 ?n }
James Wilson
action filter_type
action find
entity James Wilson
relation family name
type name
['James Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:name . resource:James_Wilson property:family_name ?n }
[]
name
Q1645480
SYSTEM
Wilson
Q1645480
(Q16887053,P734,c(Q82799))
action filter_type
action find
entity Q16887053
relation P734
type Q82799
[ANSWER] has the surname James [ANSWER]
['Q16887053', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q82799 . resource:Q16887053 property:P734 ?n }
Wilson
Wilson has the surname James Wilson
Wilson
action filter_type
action find
entity James Wilson
relation family name
type name
['James Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:name . resource:James_Wilson property:family_name ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16887053
P102
Q7210356
USER
Which party does James Wilson belong to ?
(Q16887053,P102,c(Q7210356))
action filter_type
action find
entity Q16887053
relation P102
type Q7210356
['Q16887053', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q16887053 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
James Wilson
action filter_type
action find
entity James Wilson
relation member of political party
type political organization
['James Wilson', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:James_Wilson property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q16887053,P102,c(Q7210356))
action filter_type
action find
entity Q16887053
relation P102
type Q7210356
James Wilson belongs to [ANSWER]
['Q16887053', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q16887053 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Republican Party
James Wilson belongs to Republican Party
Republican Party
action filter_type
action find
entity James Wilson
relation member of political party
type political organization
['James Wilson', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:James_Wilson property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q29468 Q7601952 Q30
P17
Q15617994
USER
Is that political organization present in Stark County Area Vocational School District, Stark County, Ohio and United States of America ?
(Q29468,P17,Q7601952) (Q29468,P17,Q30)
action is_in
entity Q29468
action intersection
action find_reverse
entity Q7601952
relation P17
action find_reverse
entity Q30
relation P17
['Q29468', 'P17', 'Q7601952'] ['Q29468', 'P17', 'Q30']
ASK WHERE { resource:Q29468 property:P17 resource:Q7601952 . resource:Q29468 property:P17 resource:Q30 }
Republican Party Stark County Area Vocational School District, Stark County, Ohio United States of America
action is_in
entity Republican Party
action intersection
action find_reverse
entity Stark County Area Vocational School District, Stark County, Ohio
relation country
action find_reverse
entity United States of America
relation country
['Republican Party', 'country', 'Stark County Area Vocational School District, Stark County, Ohio'] ['Republican Party', 'country', 'United States of America']
ASK WHERE { resource:Republican_Party property:country resource:Stark_County_Area_Vocational_School_District,_Stark_County,_Ohio . resource:Republican_Party property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q29468,P17,Q7601952) (Q29468,P17,Q30)
action is_in
entity Q29468
action intersection
action find_reverse
entity Q7601952
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q29468', 'P17', 'Q7601952'] ['Q29468', 'P17', 'Q30']
ASK WHERE { resource:Q29468 property:P17 resource:Q7601952 . resource:Q29468 property:P17 resource:Q30 }
NO and YES respectively
action is_in
entity Republican Party
action intersection
action find_reverse
entity Stark County Area Vocational School District, Stark County, Ohio
relation country
action find_reverse
entity United States of America
relation country
['Republican Party', 'country', 'Stark County Area Vocational School District, Stark County, Ohio'] ['Republican Party', 'country', 'United States of America']
ASK WHERE { resource:Republican_Party property:country resource:Stark_County_Area_Vocational_School_District,_Stark_County,_Ohio . resource:Republican_Party property:country resource:United_States_of_America }
[]