Simple Question (Direct)
Simple Question
Q2749356
P27
Q15617994
USER
Which administrative territory is Alexsandro Oliveira Duarte an inhabitant of ?
(Q2749356,P27,c(Q15617994))
action filter_type
action find
entity Q2749356
relation P27
type Q15617994
['Q2749356', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q2749356 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Alexsandro Oliveira Duarte
action filter_type
action find
entity Alexsandro Oliveira Duarte
relation country of citizenship
type designation for an administrative territorial entity
['Alexsandro Oliveira Duarte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Alexsandro_Oliveira_Duarte property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q2749356,P27,c(Q15617994))
action filter_type
action find
entity Q2749356
relation P27
type Q15617994
[ANSWER] is Alexsandro Oliveira Duarte an inhabitant of
['Q2749356', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q2749356 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Brazil
Brazil is Alexsandro Oliveira Duarte an inhabitant of
Brazil
action filter_type
action find
entity Alexsandro Oliveira Duarte
relation country of citizenship
type designation for an administrative territorial entity
['Alexsandro Oliveira Duarte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Alexsandro_Oliveira_Duarte property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2749356
P21
Q290
USER
Which sex does that person possess ?
(Q155,P21,c(Q290))
action filter_type
action find
entity Q2749356
relation P21
type Q290
['Q155', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q2749356 property:P21 ?g . ?g rdf:type ontology:Q290 }
Alexsandro Oliveira Duarte
action filter_type
action find
entity Alexsandro Oliveira Duarte
relation gender
type sex
['Brazil', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Alexsandro_Oliveira_Duarte property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q155,P21,c(Q290))
action filter_type
action find
entity Q2749356
relation P21
type Q290
That person possesses a [ANSWER]
['Q155', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q2749356 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Alexsandro Oliveira Duarte
relation gender
type sex
['Brazil', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Alexsandro_Oliveira_Duarte property:gender ?g . ?g rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q486972 Q15617994 Q15617994
USER
Which administrative territories have exactly 1 human settlements or administrative territories as their namesake ?
(c(Q15617994),P138,c(Q486972)|c(Q15617994))
action equal
action union
action find_tuple_counts
relation P138
type Q15617994
type Q486972
action find_tuple_counts
relation P138
type Q15617994
type Q15617994
value 1
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?s ) WHERE { { ?h property:P138 ?l . ?h rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q486972 } UNION { ?h property:P138 ?l . ?h rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } } GROUP BY ?h } . FILTER ( ?s = 1 ) }
action equal
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?s ) WHERE { { ?h property:named_after ?l . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:human_settlement } UNION { ?h property:named_after ?l . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } . FILTER ( ?s = 1 ) }
[]
human settlement designation for an administrative territorial entity designation for an administrative territorial entity
Q217 Q1093 Q158876
SYSTEM
Republic of Moldova, Limburg, Reinickendorf
Q158876 Q1093 Q10903 Q1101 Q217 Q12761 Q480103
(c(Q15617994),P138,c(Q486972)|c(Q15617994))
action equal
action union
action find_tuple_counts
relation P138
type Q15617994
type Q486972
action find_tuple_counts
relation P138
type Q15617994
type Q15617994
value 1
[ANSWERS] have exactly 1 human settlements or administrative territories as their namesake
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?s ) WHERE { { ?h property:P138 ?l . ?h rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q486972 } UNION { ?h property:P138 ?l . ?h rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } } GROUP BY ?h } . FILTER ( ?s = 1 ) }
Reinickendorf Limburg Finnentrop North Brabant Republic of Moldova Seine-Saint-Denis Amt Volmarstein
Republic of Moldova, Limburg and Reinickendorf have exactly 1 human settlements or administrative territories as their namesake
Republic of Moldova Limburg Reinickendorf
action equal
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?s ) WHERE { { ?h property:named_after ?l . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:human_settlement } UNION { ?h property:named_after ?l . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } . FILTER ( ?s = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q217 Q1093 Q158876
P19
Q502895
USER
Who were born at those administrative territories ?
(c(Q502895),P19,Q217) (c(Q502895),P19,Q1093) (c(Q502895),P19,Q158876)
action filter_type
action find_reverse
entity prev_answer
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q217'] [{'concept': 'Q502895'}, 'P19', 'Q1093'] [{'concept': 'Q502895'}, 'P19', 'Q158876']
SELECT DISTINCT ?q WHERE { VALUES ( ?c ) { ( resource:Q158876 ) ( resource:Q1093 ) ( resource:Q10903 ) } . ?q rdf:type ontology:Q502895 . ?q property:P19 ?c }
Republic of Moldova Limburg Reinickendorf
action filter_type
action find_reverse
entity prev_answer
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Republic of Moldova'] [{'concept': 'common name'}, 'place of birth', 'Limburg'] [{'concept': 'common name'}, 'place of birth', 'Reinickendorf']
SELECT DISTINCT ?q WHERE { VALUES ( ?c ) { ( resource:Reinickendorf ) ( resource:Limburg ) ( resource:Finnentrop ) } . ?q rdf:type ontology:common_name . ?q property:place_of_birth ?c }
[]
common name
Q5340487 Q5993404 Q16231671
SYSTEM
Eduard Văluţă, Igor Kostrov, Valentin Furdui
Q2335816 Q4902540 Q16231671 Q16223435 Q3655387 Q24524754 Q15924139 Q22280427 Q4790341 Q816767 Q19561321 Q16233066 Q15909929 Q16233246 Q2638394 Q24450814 Q16233368 Q2604582 Q4150340 Q16235644 Q15844958 Q16197848 Q3659686 Q5340487 Q16206653 Q19795929 Q24450822 Q19795972 Q16201816 Q24450818 Q15331843 Q23800223 Q16205101 Q16235578 Q23198180 Q16235296 Q16236854 Q16236063 Q1965406 Q20987579 Q7938877 Q20819722 Q21006547 Q20987563 Q6454726 Q24007842 Q16229961 Q7936855 Q16232493 Q15964542 Q19577587 Q24062648 Q16199567 Q16236703 Q24062675 Q20810478 Q16232877 Q16202262 Q21623254 Q5993404 Q24062673 Q21621188 Q94755 Q3572957 Q4502866 Q1929920
(c(Q502895),P19,Q217) (c(Q502895),P19,Q1093) (c(Q502895),P19,Q158876)
action filter_type
action find_reverse
entity prev_answer
relation P19
type Q502895
[ANSWERS] were born at those administrative territories
[{'concept': 'Q502895'}, 'P19', 'Q217'] [{'concept': 'Q502895'}, 'P19', 'Q1093'] [{'concept': 'Q502895'}, 'P19', 'Q158876']
SELECT DISTINCT ?q WHERE { VALUES ( ?c ) { ( resource:Q158876 ) ( resource:Q1093 ) ( resource:Q10903 ) } . ?q rdf:type ontology:Q502895 . ?q property:P19 ?c }
Ivan Tabanov Bianna Golodryga Valentin Furdui Serghei Gafina Cannabaudes Nicolae Țurcan Alexei Koșelev Andrei Trifan Arie Radler Mehmed Selim Pasha Valerii Macrițchii Constantin Iavorschi Ştefan Burghiu Vladislav Ivanov Nicolai Bonner Artur Focșa Andrei Marina Miron Costin Eduard Grosu Iurie Mîrza Vadim Raţă Dumitru Bacal Ostrogota Eduard Văluţă Ion Demerji Ludmila Andone Victor Stînă Claudia Chiper Ştefan Caraulan Ion Nicolaescu Vlad Goian Vadim Bejenari Denis Cristofovici Veacheslav Lisa Ion Drăgan Constantin Bogdan Ion Lacusta Cristian Avram Mihai Volontir Alexandru Starîș Vladislav Gavriliuc Sergiu Istrati Roman Șumchin Eugeniu Slivca Marija Butuk Anatolie Prepeliță Mihai Cabac Vitalie Plămădeală Victor Gonța Ivan Prodan Dorin Popovici Andrei Rusnac Anatolie Boeștean Cristian Cîrlan Nicolae Bortă Alexandru Belevschi Maxim Repinețchi Andrian Caşcaval Daniel Vlas Igor Kostrov Veaceslav Zagaevschi Vitalie Damașcan Nicolae Orlovschi Youssef Saheb Ettabaâ Harrie Huijs Michael Zaremba
Eduard Văluţă, Igor Kostrov and Valentin Furdui were born at those administrative territories
Eduard Văluţă Igor Kostrov Valentin Furdui
action filter_type
action find_reverse
entity prev_answer
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Republic of Moldova'] [{'concept': 'common name'}, 'place of birth', 'Limburg'] [{'concept': 'common name'}, 'place of birth', 'Reinickendorf']
SELECT DISTINCT ?q WHERE { VALUES ( ?c ) { ( resource:Reinickendorf ) ( resource:Limburg ) ( resource:Finnentrop ) } . ?q rdf:type ontology:common_name . ?q property:place_of_birth ?c }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5340487
P106
Q12737077
USER
What does that person do for a living ?
(Q5340487,P106,c(Q12737077))
action filter_type
action find
entity Q5340487
relation P106
type Q12737077
['Q5340487', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5340487 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Eduard Văluţă
action filter_type
action find
entity Eduard Văluţă
relation occupation
type occupation
['Eduard Văluţă', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Eduard_Văluţă property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q5993404
SYSTEM
Did you mean Igor Kostrov ?
Q5340487 Q5993404 Q16231671
(Q5340487,P106,c(Q12737077)) (Q5993404,P106,c(Q12737077)) (Q16231671,P106,c(Q12737077))
[ANSWER]
['Q5340487', 'P106', {'concept': 'Q12737077'}] ['Q5993404', 'P106', {'concept': 'Q12737077'}] ['Q16231671', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5340487 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Eduard Văluţă Igor Kostrov Valentin Furdui
Did you mean Igor Kostrov ?
Igor Kostrov
['Eduard Văluţă', 'occupation', {'concept': 'occupation'}] ['Igor Kostrov', 'occupation', {'concept': 'occupation'}] ['Valentin Furdui', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Eduard_Văluţă property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Eduard Văluţă. Could you tell me the answer for that?
(Q5340487,P106,c(Q12737077))
Q5340487
['Q5340487', 'P106', {'concept': 'Q12737077'}]
['Eduard Văluţă', 'occupation', {'concept': 'occupation'}]
[]
Q937857
SYSTEM
association football player
Q937857
(Q5340487,P106,c(Q12737077))
action filter_type
action find
entity Q5340487
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q5340487', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5340487 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Eduard Văluţă
relation occupation
type occupation
['Eduard Văluţă', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Eduard_Văluţă property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q937857 Q337213
P106
Q502895
USER
Does James Gilbert Baker have that occupation as his/her means of employment ?
(Q337213,P106,Q937857)
action is_in
entity Q337213
action find
entity Q937857
relation P106
['Q337213', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q337213 }
association football player James Gilbert Baker
action is_in
entity James Gilbert Baker
action find
entity association football player
relation occupation
['James Gilbert Baker', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:James_Gilbert_Baker }
[]
common name
SYSTEM
NO
(Q337213,P106,Q937857)
action is_in
entity Q337213
action find
entity Q937857
relation P106
[ANSWER]
['Q337213', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q337213 }
No
action is_in
entity James Gilbert Baker
action find
entity association football player
relation occupation
['James Gilbert Baker', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:James_Gilbert_Baker }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q158876
P190 P17
Q56061
USER
Which administrative territories are twin city of Reinickendorf and are present in United States of America ?
AND((c(Q56061),P190,Q158876), (c(Q56061),P17,Q30))
action filter_type
action intersection
action find_reverse
entity Q158876
relation P190
action find_reverse
entity Q30
relation P17
type Q56061
{'AND': [[{'concept': 'Q56061'}, 'P190', 'Q158876'], [{'concept': 'Q56061'}, 'P17', 'Q30']]}
SELECT DISTINCT ?x WHERE { ?x property:P190 resource:Q158876 . ?x property:P17 resource:Q30 . ?x rdf:type ontology:Q56061 }
United States of America Reinickendorf
action filter_type
action intersection
action find_reverse
entity Reinickendorf
relation sister city
action find_reverse
entity United States of America
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Reinickendorf'], [{'concept': 'administrative territorial entity'}, 'country', 'United States of America']]}
SELECT DISTINCT ?x WHERE { ?x property:sister_city resource:Reinickendorf . ?x property:country resource:United_States_of_America . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
AND((c(Q56061),P190,Q158876), (c(Q56061),P17,Q30))
action filter_type
action intersection
action find_reverse
entity Q158876
relation P190
action find_reverse
entity Q30
relation P17
type Q56061
[ANSWER] is twin city of Reinickendorf and is present in United States of America
{'AND': [[{'concept': 'Q56061'}, 'P190', 'Q158876'], [{'concept': 'Q56061'}, 'P17', 'Q30']]}
SELECT DISTINCT ?x WHERE { ?x property:P190 resource:Q158876 . ?x property:P17 resource:Q30 . ?x rdf:type ontology:Q56061 }
Washington, D.C.
Washington, D.C. is twin city of Reinickendorf and is present in United States of America
Washington, D.C.
action filter_type
action intersection
action find_reverse
entity Reinickendorf
relation sister city
action find_reverse
entity United States of America
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Reinickendorf'], [{'concept': 'administrative territorial entity'}, 'country', 'United States of America']]}
SELECT DISTINCT ?x WHERE { ?x property:sister_city resource:Reinickendorf . ?x property:country resource:United_States_of_America . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q152582
P710
Q1190554
USER
How many events were United States of America and Free France a participant of ?
(c(Q1190554),P710,Q30) (c(Q1190554),P710,Q152582)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q152582
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q30'] [{'concept': 'Q1190554'}, 'P710', 'Q152582']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P710 resource:Q30 . ?f rdf:type ontology:Q1190554 . ?f property:P710 resource:Q152582 . ?f rdf:type ontology:Q1190554 }
United States of America Free France
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation participant
type event
action filter_type
action find_reverse
entity Free France
relation participant
type event
[{'concept': 'event'}, 'participant', 'United States of America'] [{'concept': 'event'}, 'participant', 'Free France']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:participant resource:United_States_of_America . ?f rdf:type ontology:event . ?f property:participant resource:Free_France . ?f rdf:type ontology:event }
[]
event
SYSTEM
2
Q218678 Q16470
(c(Q1190554),P710,Q30) (c(Q1190554),P710,Q152582)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q152582
relation P710
type Q1190554
[ANSWER]
[{'concept': 'Q1190554'}, 'P710', 'Q30'] [{'concept': 'Q1190554'}, 'P710', 'Q152582']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P710 resource:Q30 . ?f rdf:type ontology:Q1190554 . ?f property:P710 resource:Q152582 . ?f rdf:type ontology:Q1190554 }
North African Campaign Normandy landings
2
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation participant
type event
action filter_type
action find_reverse
entity Free France
relation participant
type event
[{'concept': 'event'}, 'participant', 'United States of America'] [{'concept': 'event'}, 'participant', 'Free France']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:participant resource:United_States_of_America . ?f rdf:type ontology:event . ?f property:participant resource:Free_France . ?f rdf:type ontology:event }
[]