Simple Question (Direct)
Simple Question
Q1357931
P20
Q56061
USER
Where did Josef Holeček die ?
(Q1357931,P20,c(Q56061))
action filter_type
action find
entity Q1357931
relation P20
type Q56061
['Q1357931', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1357931 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Josef Holeček
action filter_type
action find
entity Josef Holeček
relation place of death
type administrative territorial entity
['Josef Holeček', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Josef_Holeček property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(Q1357931,P20,c(Q56061))
action filter_type
action find
entity Q1357931
relation P20
type Q56061
Josef Holeček died in [ANSWER]
['Q1357931', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1357931 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Prague
Josef Holeček died in Prague
Prague
action filter_type
action find
entity Josef Holeček
relation place of death
type administrative territorial entity
['Josef Holeček', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Josef_Holeček property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1357931
P21
Q290
USER
What is the sex of Josef Holeček ?
(Q1357931,P21,c(Q290))
action filter_type
action find
entity Q1357931
relation P21
type Q290
['Q1357931', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1357931 property:P21 ?o . ?o rdf:type ontology:Q290 }
Josef Holeček
action filter_type
action find
entity Josef Holeček
relation gender
type sex
['Josef Holeček', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Josef_Holeček property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1357931,P21,c(Q290))
action filter_type
action find
entity Q1357931
relation P21
type Q290
The sex of Josef Holeček is a [ANSWER]
['Q1357931', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1357931 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
The sex of Josef Holeček is a male
male
action filter_type
action find
entity Josef Holeček
relation gender
type sex
['Josef Holeček', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Josef_Holeček property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1085
P127
Q362482
USER
Which operation belongs to Prague ?
(c(Q362482),P127,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P127
type Q362482
[{'concept': 'Q362482'}, 'P127', 'Q1085']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q362482 . ?q property:P127 resource:Q1085 }
Prague
action filter_type
action find_reverse
entity Prague
relation owned by
type operation
[{'concept': 'operation'}, 'owned by', 'Prague']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:operation . ?q property:owned_by resource:Prague }
[]
operation
Q3935927
SYSTEM
Vršovice Castle
Q3935927
(c(Q362482),P127,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P127
type Q362482
[ANSWER] belongs to Prague
[{'concept': 'Q362482'}, 'P127', 'Q1085']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q362482 . ?q property:P127 resource:Q1085 }
Vršovice Castle
Vršovice Castle belongs to Prague
Vršovice Castle
action filter_type
action find_reverse
entity Prague
relation owned by
type operation
[{'concept': 'operation'}, 'owned by', 'Prague']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:operation . ?q property:owned_by resource:Prague }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3935927
P17
Q15617994
USER
Which administrative territory does that operation belong to ?
(Q3935927,P17,c(Q15617994))
action filter_type
action find
entity Q3935927
relation P17
type Q15617994
['Q3935927', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3935927 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Vršovice Castle
action filter_type
action find
entity Vršovice Castle
relation country
type designation for an administrative territorial entity
['Vršovice Castle', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Vršovice_Castle property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q3935927,P17,c(Q15617994))
action filter_type
action find
entity Q3935927
relation P17
type Q15617994
That operation belongs to [ANSWER]
['Q3935927', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3935927 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Czech Republic
That operation belongs to Czech Republic
Czech Republic
action filter_type
action find
entity Vršovice Castle
relation country
type designation for an administrative territorial entity
['Vršovice Castle', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Vršovice_Castle property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q213 Q183 Q408
P530
Q1048835
USER
Does Czech Republic have diplomatic associations with Germany and Australia ?
(Q213,P530,Q183) (Q213,P530,Q408)
action is_in
entity Q213
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q408
relation P530
['Q213', 'P530', 'Q183'] ['Q213', 'P530', 'Q408']
ASK WHERE { resource:Q213 property:P530 resource:Q183 . resource:Q213 property:P530 resource:Q408 }
Czech Republic Germany Australia
action is_in
entity Czech Republic
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Czech Republic', 'diplomatic relation', 'Germany'] ['Czech Republic', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Czech_Republic property:diplomatic_relation resource:Germany . resource:Czech_Republic property:diplomatic_relation resource:Australia }
[]
political territorial entity
SYSTEM
YES
(Q213,P530,Q183) (Q213,P530,Q408)
action is_in
entity Q213
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q408
relation P530
[ANSWER]
['Q213', 'P530', 'Q183'] ['Q213', 'P530', 'Q408']
ASK WHERE { resource:Q213 property:P530 resource:Q183 . resource:Q213 property:P530 resource:Q408 }
Yes
action is_in
entity Czech Republic
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Czech Republic', 'diplomatic relation', 'Germany'] ['Czech Republic', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Czech_Republic property:diplomatic_relation resource:Germany . resource:Czech_Republic property:diplomatic_relation resource:Australia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213
P47
Q15617994
USER
Which administrative territories do that one share a border with ?
action filter_type
action find
entity Q213
relation P47
type Q15617994
SELECT DISTINCT ?w WHERE { resource:Q213 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Czech Republic
action filter_type
action find
entity Czech Republic
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?w WHERE { resource:Czech_Republic property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q214
SYSTEM
Poland, Slovakia
Q36 Q214
action filter_type
action find
entity Q213
relation P47
type Q15617994
[ANSWERS] that one share a border with
SELECT DISTINCT ?w WHERE { resource:Q213 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Poland Slovakia
Poland and Slovakia that one share a border with
Poland Slovakia
action filter_type
action find
entity Czech Republic
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?w WHERE { resource:Czech_Republic property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q208929 Q408
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Australia and are not the countries of citizenship of Longin Pastusiak ?
AND((Q408,P530,c(Q15617994)), NOT((Q208929,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q408
relation P530
action find
entity Q208929
relation P27
type Q15617994
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q208929', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?f WHERE { resource:Q408 property:P530 ?f . FILTER NOT EXISTS { resource:Q208929 property:P27 ?f } . ?f rdf:type ontology:Q15617994 }
Longin Pastusiak Australia
action filter_type
action difference
action find
entity Australia
relation diplomatic relation
action find
entity Longin Pastusiak
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Longin Pastusiak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?f WHERE { resource:Australia property:diplomatic_relation ?f . FILTER NOT EXISTS { resource:Longin_Pastusiak property:country_of_citizenship ?f } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q695 Q817 Q697 Q736 Q258 Q145 Q1033 Q115 Q668 Q252
SYSTEM
Some of them are Palau, Kuwait, Nauru, Ecuador, South Africa, United Kingdom, Nigeria, Ethiopia, India, Indonesia
Q702 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q786 Q924 Q712 Q711 Q836 Q837 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q244 Q33 Q921 Q31 Q30 Q37 Q34 Q928 Q39 Q38 Q739 Q423 Q424 Q851 Q733 Q854 Q734 Q736 Q233 Q20 Q1041 Q27 Q29 Q1027 Q1020 Q843 Q1029 Q225 Q224 Q221 Q96 Q229 Q17 Q902 Q1036 Q1033 Q1030 Q191 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q215 Q218 Q219 Q916 Q833 Q977 Q1009 Q683 Q686 Q574 Q79 Q77 Q878 Q774 Q817 Q810 Q811 Q819 Q678 Q33788 Q869 Q953
AND((Q408,P530,c(Q15617994)), NOT((Q208929,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q408
relation P530
action find
entity Q208929
relation P27
type Q15617994
[ANSWERS] have diplomatic relations with Australia and are not the countries of citizenship of Longin Pastusiak
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q208929', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?f WHERE { resource:Q408 property:P530 ?f . FILTER NOT EXISTS { resource:Q208929 property:P27 ?f } . ?f rdf:type ontology:Q15617994 }
Federated States of Micronesia Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Dominican Republic Tanzania Fiji Mongolia Myanmar Nepal Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil El Salvador Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Barbados Finland Brunei Belgium United States of America Lithuania Sweden Philippines Switzerland Italy Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Guyana Ecuador Malta Norway Senegal Ireland Spain Mauritius Malawi Pakistan Mozambique Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Japan Bangladesh Uganda Nigeria Namibia Estonia Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Slovenia Romania Bulgaria Angola Malaysia Djibouti Cameroon Samoa Vanuatu East Timor Egypt Uruguay United Arab Emirates Guatemala Kuwait Jordan Nicaragua Laos Tonga New Caledonia Thailand Zambia
Palau, Kuwait, Nauru, Ecuador, South Africa, United Kingdom, Nigeria, Ethiopia, India and Indonesia have diplomatic relations with Australia and are not the countries of citizenship of Longin Pastusiak
Palau Kuwait Nauru Ecuador South Africa United Kingdom Nigeria Ethiopia India Indonesia
action filter_type
action difference
action find
entity Australia
relation diplomatic relation
action find
entity Longin Pastusiak
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Longin Pastusiak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?f WHERE { resource:Australia property:diplomatic_relation ?f . FILTER NOT EXISTS { resource:Longin_Pastusiak property:country_of_citizenship ?f } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q30 Q1033
P27
Q502895
USER
Which people are a citizen of Nigeria and United States of America ?
AND((c(Q502895),P27,Q1033), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q1033
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q1033'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?e WHERE { ?e property:P27 resource:Q1033 . ?e property:P27 resource:Q30 . ?e rdf:type ontology:Q502895 }
United States of America Nigeria
action filter_type
action intersection
action find_reverse
entity Nigeria
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Nigeria'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?e WHERE { ?e property:country_of_citizenship resource:Nigeria . ?e property:country_of_citizenship resource:United_States_of_America . ?e rdf:type ontology:common_name }
[]
common name
Q979715 Q21029547 Q589836 Q797599 Q273256 Q16194846 Q776631 Q427720 Q3930394 Q21061430
SYSTEM
Some of them are Ekene Ibekwe, Sophia Omotola Omidiji, Dayo Okeniyi, Babatunde Olatunji, Hakeem Olajuwon, Ugonna Okegwo, Alade Aminu, Al-Farouq Aminu, Rashidat Sadiq, Bennet Omalu
Q7347493 Q3294115 Q19885291 Q2626273 Q1328771 Q2401060 Q427720 Q21061430 Q14326800 Q16194846 Q14326804 Q3810299 Q797599 Q1942314 Q726213 Q7308471 Q21029547 Q2857695 Q3792495 Q1798519 Q17640211 Q960067 Q3930394 Q4022679 Q3431085 Q364359 Q3857382 Q452359 Q2948094 Q1419693 Q2419943 Q2824169 Q24951692 Q14648201 Q9209908 Q1374718 Q273256 Q2631957 Q589836 Q14325764 Q1435292 Q776631 Q979715 Q461690
AND((c(Q502895),P27,Q1033), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q1033
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] are a citizen of Nigeria and United States of America
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q1033'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?e WHERE { ?e property:P27 resource:Q1033 . ?e property:P27 resource:Q30 . ?e rdf:type ontology:Q502895 }
Robert McCullum Mark Jelks Opal Tometi Gani Lawal Uzodinma Iweala Teju Cole Al-Farouq Aminu Bennet Omalu Stan Okoye Ugonna Okegwo Jamal Olasewere Josh Akognon Babatunde Olatunji Modupe Oshikoya Koko Archibong Regina George Sophia Omotola Omidiji Antwon Hicks Ike Nwankwo Monzavous Edwards Tyron Akins Emmanuel Chukwudi Eze Rashidat Sadiq Yemi Ogunoye Richard Oruche Michael Umeh Michael Efevberha Amaechi Igwe Chamberlain Oguchi Ugo Ihemelu Ike Diogu Ade Dagunduro Nwanneka Okwelogu Andy Ogide Dominique Duncan Ime Udoka Hakeem Olajuwon Ben Uzoh Dayo Okeniyi Trevor Mbakwe Folarin Campbell Alade Aminu Ekene Ibekwe Sefi Atta
Ekene Ibekwe, Sophia Omotola Omidiji, Dayo Okeniyi, Babatunde Olatunji, Hakeem Olajuwon, Ugonna Okegwo, Alade Aminu, Al-Farouq Aminu, Rashidat Sadiq and Bennet Omalu are a citizen of Nigeria and United States of America
Ekene Ibekwe Sophia Omotola Omidiji Dayo Okeniyi Babatunde Olatunji Hakeem Olajuwon Ugonna Okegwo Alade Aminu Al-Farouq Aminu Rashidat Sadiq Bennet Omalu
action filter_type
action intersection
action find_reverse
entity Nigeria
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Nigeria'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?e WHERE { ?e property:country_of_citizenship resource:Nigeria . ?e property:country_of_citizenship resource:United_States_of_America . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P463
Q874405 Q484652
USER
How many social groups or international organizations were United Kingdom a member of ?
(Q145,P463,c(Q874405)) (Q145,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q145
relation P463
type Q874405
action filter_type
action find
entity Q145
relation P463
type Q484652
['Q145', 'P463', {'concept': 'Q874405'}] ['Q145', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { VALUES ( ?n ) { ( ontology:Q874405 ) ( ontology:Q484652 ) } . ?y rdf:type ?n }
United Kingdom
action count
action union
action filter_type
action find
entity United Kingdom
relation member of
type social group
action filter_type
action find
entity United Kingdom
relation member of
type international organization
['United Kingdom', 'member of', {'concept': 'social group'}] ['United Kingdom', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { VALUES ( ?n ) { ( ontology:social_group ) ( ontology:international_organization ) } . ?y rdf:type ?n }
[]
social group international organization
SYSTEM
11
Q81299 Q19771 Q7785 Q1065 Q188822 Q37143 Q782942 Q8908 Q7184 Q42262 Q1043527
(Q145,P463,c(Q874405)) (Q145,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q145
relation P463
type Q874405
action filter_type
action find
entity Q145
relation P463
type Q484652
[ANSWER]
['Q145', 'P463', {'concept': 'Q874405'}] ['Q145', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { VALUES ( ?n ) { ( ontology:Q874405 ) ( ontology:Q484652 ) } . ?y rdf:type ?n }
Organization for Security and Co-operation in Europe G20 Commonwealth of Nations United Nations Asian Development Bank G8 Australia Group Council of Europe North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
11
action count
action union
action filter_type
action find
entity United Kingdom
relation member of
type social group
action filter_type
action find
entity United Kingdom
relation member of
type international organization
['United Kingdom', 'member of', {'concept': 'social group'}] ['United Kingdom', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { VALUES ( ?n ) { ( ontology:social_group ) ( ontology:international_organization ) } . ?y rdf:type ?n }
[]