Simple Question (Direct)
Simple Question
Q5126586
P102
Q7210356
USER
Which political organizations are Clarence Hoffman a member of ?
(Q5126586,P102,c(Q7210356))
action filter_type
action find
entity Q5126586
relation P102
type Q7210356
['Q5126586', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q5126586 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Clarence Hoffman
action filter_type
action find
entity Clarence Hoffman
relation member of political party
type political organization
['Clarence Hoffman', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Clarence_Hoffman property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
political organization
Q7314655 Q29468
SYSTEM
Republican Party of Iowa, Republican Party
Q7314655 Q29468
(Q5126586,P102,c(Q7210356))
action filter_type
action find
entity Q5126586
relation P102
type Q7210356
Elected [ANSWERS] are Clarence Hoffman a member of
['Q5126586', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q5126586 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Republican Party of Iowa Republican Party
Elected Republican Party of Iowa and Republican Party are Clarence Hoffman a member of
Republican Party of Iowa Republican Party
action filter_type
action find
entity Clarence Hoffman
relation member of political party
type political organization
['Clarence Hoffman', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Clarence_Hoffman property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29468
P463
Q502895
USER
Who is a member of Republican Party ?
(c(Q502895),P463,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q29468']
SELECT DISTINCT ?c WHERE { ?c property:P463 resource:Q29468 . ?c rdf:type ontology:Q502895 }
Republican Party
action filter_type
action find_reverse
entity Republican Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Republican Party']
SELECT DISTINCT ?c WHERE { ?c property:member_of resource:Republican_Party . ?c rdf:type ontology:common_name }
[]
common name
Q2522486
SYSTEM
Victor Murdock
Q2522486
(c(Q502895),P463,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P463
type Q502895
A member of Republican Party is the [ANSWER]
[{'concept': 'Q502895'}, 'P463', 'Q29468']
SELECT DISTINCT ?c WHERE { ?c property:P463 resource:Q29468 . ?c rdf:type ontology:Q502895 }
Victor Murdock
A member of Republican Party is the Victor Murdock
Victor Murdock
action filter_type
action find_reverse
entity Republican Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Republican Party']
SELECT DISTINCT ?c WHERE { ?c property:member_of resource:Republican_Party . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5126586
P69
Q3918
USER
Where was Clarence Hoffman educated ?
(Q5126586,P69,c(Q3918))
action filter_type
action find
entity Q5126586
relation P69
type Q3918
['Q5126586', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q3918 . resource:Q5126586 property:P69 ?a }
Clarence Hoffman
action filter_type
action find
entity Clarence Hoffman
relation educated at
type university
['Clarence Hoffman', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:university . resource:Clarence_Hoffman property:educated_at ?a }
[]
university
Q2302260
SYSTEM
South Dakota State University
Q2302260
(Q5126586,P69,c(Q3918))
action filter_type
action find
entity Q5126586
relation P69
type Q3918
Clarence Hoffman was educated at [ANSWER]
['Q5126586', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q3918 . resource:Q5126586 property:P69 ?a }
South Dakota State University
Clarence Hoffman was educated at South Dakota State University
South Dakota State University
action filter_type
action find
entity Clarence Hoffman
relation educated at
type university
['Clarence Hoffman', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:university . resource:Clarence_Hoffman property:educated_at ?a }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5393603
Q3918
USER
And also tell me about Ernest Nathan Morial?
(Q5393603,P69,c(Q3918))
action filter_type
action find
entity Q5393603
relation P69
type Q3918
['Q5393603', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { resource:Q5393603 property:P69 ?u . ?u rdf:type ontology:Q3918 }
Ernest Nathan Morial
action filter_type
action find
entity Ernest Nathan Morial
relation educated at
type university
['Ernest Nathan Morial', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { resource:Ernest_Nathan_Morial property:educated_at ?u . ?u rdf:type ontology:university }
[]
university
Q1521725
SYSTEM
Louisiana State University
Q1521725
(Q5393603,P69,c(Q3918))
action filter_type
action find
entity Q5393603
relation P69
type Q3918
[ANSWER]
['Q5393603', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { resource:Q5393603 property:P69 ?u . ?u rdf:type ontology:Q3918 }
Louisiana State University
Louisiana State University
action filter_type
action find
entity Ernest Nathan Morial
relation educated at
type university
['Ernest Nathan Morial', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { resource:Ernest_Nathan_Morial property:educated_at ?u . ?u rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5393603
P937
Q56061
USER
What is the location where that person worked ?
(Q1521725,P937,c(Q56061))
action filter_type
action find
entity Q5393603
relation P937
type Q56061
['Q1521725', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q5393603 property:P937 ?w . ?w rdf:type ontology:Q56061 }
Ernest Nathan Morial
action filter_type
action find
entity Ernest Nathan Morial
relation work location
type administrative territorial entity
['Louisiana State University', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ernest_Nathan_Morial property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q28218
SYSTEM
Baton Rouge
Q28218
(Q1521725,P937,c(Q56061))
action filter_type
action find
entity Q5393603
relation P937
type Q56061
The location that person worked is in [ANSWER]
['Q1521725', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q5393603 property:P937 ?w . ?w rdf:type ontology:Q56061 }
Baton Rouge
The location that person worked is in Baton Rouge
Baton Rouge
action filter_type
action find
entity Ernest Nathan Morial
relation work location
type administrative territorial entity
['Louisiana State University', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ernest_Nathan_Morial property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q28218 Q165995
P190
Q15617994
USER
Is Malatya sister town of that administrative territory ?
(Q28218,P190,Q165995)
action is_in
entity Q165995
action find
entity Q28218
relation P190
['Q28218', 'P190', 'Q165995']
ASK WHERE { resource:Q28218 property:P190 resource:Q165995 }
Baton Rouge Malatya
action is_in
entity Malatya
action find
entity Baton Rouge
relation sister city
['Baton Rouge', 'sister city', 'Malatya']
ASK WHERE { resource:Baton_Rouge property:sister_city resource:Malatya }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q28218,P190,Q165995)
action is_in
entity Q165995
action find
entity Q28218
relation P190
[ANSWER]
['Q28218', 'P190', 'Q165995']
ASK WHERE { resource:Q28218 property:P190 resource:Q165995 }
Yes
action is_in
entity Malatya
action find
entity Baton Rouge
relation sister city
['Baton Rouge', 'sister city', 'Malatya']
ASK WHERE { resource:Baton_Rouge property:sister_city resource:Malatya }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2605665 Q5126586
P27
Q15617994
USER
Which administrative territories are Clarence Hoffman or Árni Þór Sigtryggsson a civilian of ?
OR((Q5126586,P27,c(Q15617994)), (Q2605665,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5126586
relation P27
action find
entity Q2605665
relation P27
type Q15617994
{'OR': [['Q5126586', 'P27', {'concept': 'Q15617994'}], ['Q2605665', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { ?w property:P27 ?g . VALUES ( ?w ) { ( resource:Q2605665 ) ( resource:Q5126586 ) } } . ?g rdf:type ontology:Q15617994 }
Árni Þór Sigtryggsson Clarence Hoffman
action filter_type
action union
action find
entity Clarence Hoffman
relation country of citizenship
action find
entity Árni Þór Sigtryggsson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Clarence Hoffman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Árni Þór Sigtryggsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { ?w property:country_of_citizenship ?g . VALUES ( ?w ) { ( resource:Árni_Þór_Sigtryggsson ) ( resource:Clarence_Hoffman ) } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q189
SYSTEM
United States of America, Iceland
Q30 Q189
OR((Q5126586,P27,c(Q15617994)), (Q2605665,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5126586
relation P27
action find
entity Q2605665
relation P27
type Q15617994
[ANSWERS] are Clarence Hoffman or Árni Þór Sigtryggsson a civilian of
{'OR': [['Q5126586', 'P27', {'concept': 'Q15617994'}], ['Q2605665', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { ?w property:P27 ?g . VALUES ( ?w ) { ( resource:Q2605665 ) ( resource:Q5126586 ) } } . ?g rdf:type ontology:Q15617994 }
United States of America Iceland
United States of America and Iceland are Clarence Hoffman or Árni Þór Sigtryggsson a civilian of
United States of America Iceland
action filter_type
action union
action find
entity Clarence Hoffman
relation country of citizenship
action find
entity Árni Þór Sigtryggsson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Clarence Hoffman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Árni Þór Sigtryggsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { ?w property:country_of_citizenship ?g . VALUES ( ?w ) { ( resource:Árni_Þór_Sigtryggsson ) ( resource:Clarence_Hoffman ) } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5255464
P495
Q838948
USER
Did Demobbed originate in those administrative territories ?
(Q5255464,P495,Q30) (Q5255464,P495,Q189)
action is_in
entity prev_answer
action find
entity Q5255464
relation P495
['Q5255464', 'P495', 'Q30'] ['Q5255464', 'P495', 'Q189']
ASK WHERE { VALUES ( ?c ) { ( resource:Q30 ) ( resource:Q189 ) } . resource:Q5255464 property:P495 ?c }
Demobbed
action is_in
entity prev_answer
action find
entity Demobbed
relation country of origin
['Demobbed', 'country of origin', 'United States of America'] ['Demobbed', 'country of origin', 'Iceland']
ASK WHERE { VALUES ( ?c ) { ( resource:United_States_of_America ) ( resource:Iceland ) } . resource:Demobbed property:country_of_origin ?c }
[]
work of art
SYSTEM
NO
(Q5255464,P495,Q30) (Q5255464,P495,Q189)
action is_in
entity prev_answer
action find
entity Q5255464
relation P495
[ANSWER]
['Q5255464', 'P495', 'Q30'] ['Q5255464', 'P495', 'Q189']
ASK WHERE { VALUES ( ?c ) { ( resource:Q30 ) ( resource:Q189 ) } . resource:Q5255464 property:P495 ?c }
No
action is_in
entity prev_answer
action find
entity Demobbed
relation country of origin
['Demobbed', 'country of origin', 'United States of America'] ['Demobbed', 'country of origin', 'Iceland']
ASK WHERE { VALUES ( ?c ) { ( resource:United_States_of_America ) ( resource:Iceland ) } . resource:Demobbed property:country_of_origin ?c }
[]