Simple Question (Direct)
Simple Question
Q1702045
P39
Q12737077
USER
Which occupations were the positions for which John W. Daniel were appointed ?
(Q1702045,P39,c(Q12737077))
action filter_type
action find
entity Q1702045
relation P39
type Q12737077
['Q1702045', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q1702045 property:P39 ?i }
John W. Daniel
action filter_type
action find
entity John W. Daniel
relation position held
type occupation
['John W. Daniel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:John_W._Daniel property:position_held ?i }
[]
occupation
Q13218630 Q13217683 Q18694588
SYSTEM
United States representative, United States Senator, Member of the United States House of Representatives from Virginia
Q13218630 Q13217683 Q18694588
(Q1702045,P39,c(Q12737077))
action filter_type
action find
entity Q1702045
relation P39
type Q12737077
The [ANSWERS] were the positions for which John W. Daniel were appointed
['Q1702045', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q1702045 property:P39 ?i }
United States representative United States Senator Member of the United States House of Representatives from Virginia
The United States representative, United States Senator and Member of the United States House of Representatives from Virginia were the positions for which John W. Daniel were appointed
United States representative United States Senator Member of the United States House of Representatives from Virginia
action filter_type
action find
entity John W. Daniel
relation position held
type occupation
['John W. Daniel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:John_W._Daniel property:position_held ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1702045
P102
Q7210356
USER
Which political organization is John W. Daniel a member of ?
(Q1702045,P102,c(Q7210356))
action filter_type
action find
entity Q1702045
relation P102
type Q7210356
['Q1702045', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q1702045 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
John W. Daniel
action filter_type
action find
entity John W. Daniel
relation member of political party
type political organization
['John W. Daniel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:John_W._Daniel property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q1702045,P102,c(Q7210356))
action filter_type
action find
entity Q1702045
relation P102
type Q7210356
Party [ANSWER] is John W. Daniel a member of
['Q1702045', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q1702045 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Democratic Party
Party Democratic Party is John W. Daniel a member of
Democratic Party
action filter_type
action find
entity John W. Daniel
relation member of political party
type political organization
['John W. Daniel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:John_W._Daniel property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6451217
Q7210356
USER
And also tell me about Kyle Johansen?
(Q6451217,P102,c(Q7210356))
action filter_type
action find
entity Q6451217
relation P102
type Q7210356
['Q6451217', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7210356 . resource:Q6451217 property:P102 ?b }
Kyle Johansen
action filter_type
action find
entity Kyle Johansen
relation member of political party
type political organization
['Kyle Johansen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_organization . resource:Kyle_Johansen property:member_of_political_party ?b }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q6451217,P102,c(Q7210356))
action filter_type
action find
entity Q6451217
relation P102
type Q7210356
[ANSWER]
['Q6451217', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7210356 . resource:Q6451217 property:P102 ?b }
Republican Party
Republican Party
action filter_type
action find
entity Kyle Johansen
relation member of political party
type political organization
['Kyle Johansen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_organization . resource:Kyle_Johansen property:member_of_political_party ?b }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q29468 Q5292734
P102
Q502895
USER
Is Don Hanaway affiliated to that political organization ?
(Q5292734,P102,Q29468)
action is_in
entity Q29468
action find
entity Q5292734
relation P102
['Q5292734', 'P102', 'Q29468']
ASK WHERE { resource:Q5292734 property:P102 resource:Q29468 }
Republican Party Don Hanaway
action is_in
entity Republican Party
action find
entity Don Hanaway
relation member of political party
['Don Hanaway', 'member of political party', 'Republican Party']
ASK WHERE { resource:Don_Hanaway property:member_of_political_party resource:Republican_Party }
[]
common name
SYSTEM
YES
(Q5292734,P102,Q29468)
action is_in
entity Q29468
action find
entity Q5292734
relation P102
[ANSWER]
['Q5292734', 'P102', 'Q29468']
ASK WHERE { resource:Q5292734 property:P102 resource:Q29468 }
Yes
action is_in
entity Republican Party
action find
entity Don Hanaway
relation member of political party
['Don Hanaway', 'member of political party', 'Republican Party']
ASK WHERE { resource:Don_Hanaway property:member_of_political_party resource:Republican_Party }
[]