Simple Question (Direct)
Simple Question
Q18630805
P21
Q290
USER
Which sex does Robert V. Cullison possess ?
(Q18630805,P21,c(Q290))
action filter_type
action find
entity Q18630805
relation P21
type Q290
['Q18630805', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q18630805 property:P21 ?s . ?s rdf:type ontology:Q290 }
Robert V. Cullison
action filter_type
action find
entity Robert V. Cullison
relation gender
type sex
['Robert V. Cullison', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Robert_V._Cullison property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18630805,P21,c(Q290))
action filter_type
action find
entity Q18630805
relation P21
type Q290
[ANSWER] . Robert V Cullison possesses
['Q18630805', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q18630805 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Male . Robert V Cullison possesses
male
action filter_type
action find
entity Robert V. Cullison
relation gender
type sex
['Robert V. Cullison', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Robert_V._Cullison property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18630805
P102
Q7210356
USER
Which party does Robert V. Cullison belong to ?
(Q18630805,P102,c(Q7210356))
action filter_type
action find
entity Q18630805
relation P102
type Q7210356
['Q18630805', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q18630805 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Robert V. Cullison
action filter_type
action find
entity Robert V. Cullison
relation member of political party
type political organization
['Robert V. Cullison', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Robert_V._Cullison property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q18630805,P102,c(Q7210356))
action filter_type
action find
entity Q18630805
relation P102
type Q7210356
Robert V Cullison belongs to the [ANSWER] .
['Q18630805', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q18630805 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Democratic Party
Robert V Cullison belongs to the Democratic Party .
Democratic Party
action filter_type
action find
entity Robert V. Cullison
relation member of political party
type political organization
['Robert V. Cullison', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Robert_V._Cullison property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18630805
P69
Q163740
USER
Where was that person educated ?
(Q29552,P69,c(Q163740))
action filter_type
action find
entity Q18630805
relation P69
type Q163740
['Q29552', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { resource:Q18630805 property:P69 ?d . ?d rdf:type ontology:Q163740 }
Robert V. Cullison
action filter_type
action find
entity Robert V. Cullison
relation educated at
type nonprofit organization
['Democratic Party', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { resource:Robert_V._Cullison property:educated_at ?d . ?d rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q812573
SYSTEM
Baylor University
Q812573
(Q29552,P69,c(Q163740))
action filter_type
action find
entity Q18630805
relation P69
type Q163740
That person was educated at [ANSWER]
['Q29552', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { resource:Q18630805 property:P69 ?d . ?d rdf:type ontology:Q163740 }
Baylor University
That person was educated at Baylor University
Baylor University
action filter_type
action find
entity Robert V. Cullison
relation educated at
type nonprofit organization
['Democratic Party', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { resource:Robert_V._Cullison property:educated_at ?d . ?d rdf:type ontology:nonprofit_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12725011 Q29552
P17
Q15617994
USER
Which administrative territories are Democratic Party or Osica de Jos a part of ?
OR((Q29552,P17,c(Q15617994)), (Q12725011,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q29552
relation P17
action find
entity Q12725011
relation P17
type Q15617994
{'OR': [['Q29552', 'P17', {'concept': 'Q15617994'}], ['Q12725011', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q29552 property:P17 ?j } UNION { resource:Q12725011 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Osica de Jos Democratic Party
action filter_type
action union
action find
entity Democratic Party
relation country
action find
entity Osica de Jos
relation country
type designation for an administrative territorial entity
{'OR': [['Democratic Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Osica de Jos', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Democratic_Party property:country ?j } UNION { resource:Osica_de_Jos property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q30
SYSTEM
Romania, United States of America
Q218 Q30
OR((Q29552,P17,c(Q15617994)), (Q12725011,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q29552
relation P17
action find
entity Q12725011
relation P17
type Q15617994
In [ANSWERS] are Democratic Party or Osica de Jos a part of
{'OR': [['Q29552', 'P17', {'concept': 'Q15617994'}], ['Q12725011', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q29552 property:P17 ?j } UNION { resource:Q12725011 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Romania United States of America
In Romania and United States of America are Democratic Party or Osica de Jos a part of
Romania United States of America
action filter_type
action union
action find
entity Democratic Party
relation country
action find
entity Osica de Jos
relation country
type designation for an administrative territorial entity
{'OR': [['Democratic Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Osica de Jos', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Democratic_Party property:country ?j } UNION { resource:Osica_de_Jos property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q281296
P495
Q838948
USER
Are those administrative territories a country of origin of The Day of the Locust ?
(Q281296,P495,Q218) (Q281296,P495,Q30)
action is_in
entity prev_answer
action find
entity Q281296
relation P495
['Q281296', 'P495', 'Q218'] ['Q281296', 'P495', 'Q30']
ASK WHERE { VALUES ( ?g ) { ( resource:Q218 ) ( resource:Q30 ) } . resource:Q281296 property:P495 ?g }
The Day of the Locust
action is_in
entity prev_answer
action find
entity The Day of the Locust
relation country of origin
['The Day of the Locust', 'country of origin', 'Romania'] ['The Day of the Locust', 'country of origin', 'United States of America']
ASK WHERE { VALUES ( ?g ) { ( resource:Romania ) ( resource:United_States_of_America ) } . resource:The_Day_of_the_Locust property:country_of_origin ?g }
[]
work of art
SYSTEM
NO
(Q281296,P495,Q218) (Q281296,P495,Q30)
action is_in
entity prev_answer
action find
entity Q281296
relation P495
[ANSWER]
['Q281296', 'P495', 'Q218'] ['Q281296', 'P495', 'Q30']
ASK WHERE { VALUES ( ?g ) { ( resource:Q218 ) ( resource:Q30 ) } . resource:Q281296 property:P495 ?g }
No
action is_in
entity prev_answer
action find
entity The Day of the Locust
relation country of origin
['The Day of the Locust', 'country of origin', 'Romania'] ['The Day of the Locust', 'country of origin', 'United States of America']
ASK WHERE { VALUES ( ?g ) { ( resource:Romania ) ( resource:United_States_of_America ) } . resource:The_Day_of_the_Locust property:country_of_origin ?g }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q30 Q26818584
P6
Q502895
USER
Is Janet de Coux the head of government of United States of America ?
(Q30,P6,Q26818584)
action is_in
entity Q26818584
action find
entity Q30
relation P6
['Q30', 'P6', 'Q26818584']
ASK WHERE { resource:Q30 property:P6 resource:Q26818584 }
United States of America Janet de Coux
action is_in
entity Janet de Coux
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Janet de Coux']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Janet_de_Coux }
[]
common name
SYSTEM
NO
(Q30,P6,Q26818584)
action is_in
entity Q26818584
action find
entity Q30
relation P6
[ANSWER]
['Q30', 'P6', 'Q26818584']
ASK WHERE { resource:Q30 property:P6 resource:Q26818584 }
No
action is_in
entity Janet de Coux
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Janet de Coux']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Janet_de_Coux }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q18630805 Q30
P27
Q15617994
USER
Is that person an inhabitant of United States of America ?
(Q18630805,P27,Q30)
action is_in
entity Q30
action find
entity Q18630805
relation P27
['Q18630805', 'P27', 'Q30']
ASK WHERE { resource:Q18630805 property:P27 resource:Q30 }
Robert V. Cullison United States of America
action is_in
entity United States of America
action find
entity Robert V. Cullison
relation country of citizenship
['Robert V. Cullison', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Robert_V._Cullison property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q18630805,P27,Q30)
action is_in
entity Q30
action find
entity Q18630805
relation P27
[ANSWER]
['Q18630805', 'P27', 'Q30']
ASK WHERE { resource:Q18630805 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Robert V. Cullison
relation country of citizenship
['Robert V. Cullison', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Robert_V._Cullison property:country_of_citizenship resource:United_States_of_America }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18630805
P39
Q12737077
USER
What were the positions held by that person ?
action filter_type
action find
entity Q18630805
relation P39
type Q12737077
SELECT DISTINCT ?b WHERE { resource:Q18630805 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Robert V. Cullison
action filter_type
action find
entity Robert V. Cullison
relation position held
type occupation
SELECT DISTINCT ?b WHERE { resource:Robert_V._Cullison property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q21367377 Q18925362
SYSTEM
member of the State Senate of Oklahoma, Member of the Oklahoma House of Representatives
Q21367377 Q18925362
action filter_type
action find
entity Q18630805
relation P39
type Q12737077
The positions held by that person were [ANSWERS]
SELECT DISTINCT ?b WHERE { resource:Q18630805 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
member of the State Senate of Oklahoma Member of the Oklahoma House of Representatives
The positions held by that person were member of the State Senate of Oklahoma and Member of the Oklahoma House of Representatives
member of the State Senate of Oklahoma Member of the Oklahoma House of Representatives
action filter_type
action find
entity Robert V. Cullison
relation position held
type occupation
SELECT DISTINCT ?b WHERE { resource:Robert_V._Cullison property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18630805
P19
Q486972
USER
Where was that person born ?
(Q21367377,P19,c(Q486972)) (Q18925362,P19,c(Q486972))
action filter_type
action find
entity Q18630805
relation P19
type Q486972
['Q21367377', 'P19', {'concept': 'Q486972'}] ['Q18925362', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q486972 . resource:Q18630805 property:P19 ?o }
Robert V. Cullison
action filter_type
action find
entity Robert V. Cullison
relation place of birth
type human settlement
['member of the State Senate of Oklahoma', 'place of birth', {'concept': 'human settlement'}] ['Member of the Oklahoma House of Representatives', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:human_settlement . resource:Robert_V._Cullison property:place_of_birth ?o }
[]
human settlement
Q1865211
SYSTEM
Turley
Q1865211
(Q21367377,P19,c(Q486972)) (Q18925362,P19,c(Q486972))
action filter_type
action find
entity Q18630805
relation P19
type Q486972
That person was born at [ANSWER]
['Q21367377', 'P19', {'concept': 'Q486972'}] ['Q18925362', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q486972 . resource:Q18630805 property:P19 ?o }
Turley
That person was born at Turley
Turley
action filter_type
action find
entity Robert V. Cullison
relation place of birth
type human settlement
['member of the State Senate of Oklahoma', 'place of birth', {'concept': 'human settlement'}] ['Member of the Oklahoma House of Representatives', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:human_settlement . resource:Robert_V._Cullison property:place_of_birth ?o }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q160717 Q281296
P27 P495
Q15617994
USER
Which administrative territories are the countries of origin of The Day of the Locust and do Tom Lantos belong to ?
AND((Q281296,P495,c(Q15617994)), (Q160717,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q281296
relation P495
action find
entity Q160717
relation P27
type Q15617994
{'AND': [['Q281296', 'P495', {'concept': 'Q15617994'}], ['Q160717', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q281296 property:P495 ?v . resource:Q160717 property:P27 ?v }
Tom Lantos The Day of the Locust
action filter_type
action intersection
action find
entity The Day of the Locust
relation country of origin
action find
entity Tom Lantos
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['The Day of the Locust', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Tom Lantos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Day_of_the_Locust property:country_of_origin ?v . resource:Tom_Lantos property:country_of_citizenship ?v }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q281296,P495,c(Q15617994)), (Q160717,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q281296
relation P495
action find
entity Q160717
relation P27
type Q15617994
[ANSWER] is the countries of origin of The Day of the Locust and do Tom Lantos belong to
{'AND': [['Q281296', 'P495', {'concept': 'Q15617994'}], ['Q160717', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q281296 property:P495 ?v . resource:Q160717 property:P27 ?v }
United States of America
United States of America is the countries of origin of The Day of the Locust and do Tom Lantos belong to
United States of America
action filter_type
action intersection
action find
entity The Day of the Locust
relation country of origin
action find
entity Tom Lantos
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['The Day of the Locust', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Tom Lantos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Day_of_the_Locust property:country_of_origin ?v . resource:Tom_Lantos property:country_of_citizenship ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with atleast 41 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 41
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?s ) WHERE { ?o property:P530 ?i . ?o rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?s >= 41 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 41
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?s ) WHERE { ?o property:diplomatic_relation ?i . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?s >= 41 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
3
Q155 Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 41
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?s ) WHERE { ?o property:P530 ?i . ?o rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?s >= 41 ) }
Brazil Italy Georgia
3
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 41
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?s ) WHERE { ?o property:diplomatic_relation ?i . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?s >= 41 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3723830
P54
Q1194951
USER
Which national sports team is Emmanuel Más a member of ?
(Q3723830,P54,c(Q1194951))
action filter_type
action find
entity Q3723830
relation P54
type Q1194951
['Q3723830', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?n WHERE { resource:Q3723830 property:P54 ?n . ?n rdf:type ontology:Q1194951 }
Emmanuel Más
action filter_type
action find
entity Emmanuel Más
relation member of sports team
type national sports team
['Emmanuel Más', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?n WHERE { resource:Emmanuel_Más property:member_of_sports_team ?n . ?n rdf:type ontology:national_sports_team }
[]
national sports team
Q79800
SYSTEM
Argentina national football team
Q79800
(Q3723830,P54,c(Q1194951))
action filter_type
action find
entity Q3723830
relation P54
type Q1194951
The [ANSWER] is Emmanuel Más a member of
['Q3723830', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?n WHERE { resource:Q3723830 property:P54 ?n . ?n rdf:type ontology:Q1194951 }
Argentina national football team
The Argentina national football team is Emmanuel Más a member of
Argentina national football team
action filter_type
action find
entity Emmanuel Más
relation member of sports team
type national sports team
['Emmanuel Más', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?n WHERE { resource:Emmanuel_Más property:member_of_sports_team ?n . ?n rdf:type ontology:national_sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6932344
Q1194951
USER
And also tell me about Muhammad Afi Aminuddin?
(Q6932344,P54,c(Q1194951))
action filter_type
action find
entity Q6932344
relation P54
type Q1194951
['Q6932344', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?w WHERE { resource:Q6932344 property:P54 ?w . ?w rdf:type ontology:Q1194951 }
Muhammad Afi Aminuddin
action filter_type
action find
entity Muhammad Afi Aminuddin
relation member of sports team
type national sports team
['Muhammad Afi Aminuddin', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?w WHERE { resource:Muhammad_Afi_Aminuddin property:member_of_sports_team ?w . ?w rdf:type ontology:national_sports_team }
[]
national sports team
Q239555
SYSTEM
Brunei national football team
Q239555
(Q6932344,P54,c(Q1194951))
action filter_type
action find
entity Q6932344
relation P54
type Q1194951
[ANSWER]
['Q6932344', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?w WHERE { resource:Q6932344 property:P54 ?w . ?w rdf:type ontology:Q1194951 }
Brunei national football team
Brunei national football team
action filter_type
action find
entity Muhammad Afi Aminuddin
relation member of sports team
type national sports team
['Muhammad Afi Aminuddin', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?w WHERE { resource:Muhammad_Afi_Aminuddin property:member_of_sports_team ?w . ?w rdf:type ontology:national_sports_team }
[]