Simple Question (Direct)
Simple Question
Q668178
P22
Q502895
USER
Who was the dad of Mihai Brediceanu ?
(Q668178,P22,c(Q502895))
action filter_type
action find
entity Q668178
relation P22
type Q502895
['Q668178', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q668178 property:P22 ?m . ?m rdf:type ontology:Q502895 }
Mihai Brediceanu
action filter_type
action find
entity Mihai Brediceanu
relation father
type common name
['Mihai Brediceanu', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Mihai_Brediceanu property:father ?m . ?m rdf:type ontology:common_name }
[]
common name
Q181350
SYSTEM
Tiberiu Brediceanu
Q181350
(Q668178,P22,c(Q502895))
action filter_type
action find
entity Q668178
relation P22
type Q502895
The dad of Mihai Brediceanu was born [ANSWER]
['Q668178', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q668178 property:P22 ?m . ?m rdf:type ontology:Q502895 }
Tiberiu Brediceanu
The dad of Mihai Brediceanu was born Tiberiu Brediceanu
Tiberiu Brediceanu
action filter_type
action find
entity Mihai Brediceanu
relation father
type common name
['Mihai Brediceanu', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Mihai_Brediceanu property:father ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181350
P20
Q515
USER
Where did the expiration of that person occur ?
(Q181350,P20,c(Q515))
action filter_type
action find
entity Q181350
relation P20
type Q515
['Q181350', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q181350 property:P20 ?n . ?n rdf:type ontology:Q515 }
Tiberiu Brediceanu
action filter_type
action find
entity Tiberiu Brediceanu
relation place of death
type city
['Tiberiu Brediceanu', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Tiberiu_Brediceanu property:place_of_death ?n . ?n rdf:type ontology:city }
[]
city
Q19660
SYSTEM
Bucharest
Q19660
(Q181350,P20,c(Q515))
action filter_type
action find
entity Q181350
relation P20
type Q515
The expiration of that person occurred in [ANSWER]
['Q181350', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q181350 property:P20 ?n . ?n rdf:type ontology:Q515 }
Bucharest
The expiration of that person occurred in Bucharest
Bucharest
action filter_type
action find
entity Tiberiu Brediceanu
relation place of death
type city
['Tiberiu Brediceanu', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Tiberiu_Brediceanu property:place_of_death ?n . ?n rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19660
P1383
Q2983893
USER
Which urban districts are in that city ?
(Q19660,P1383,c(Q2983893))
action filter_type
action find
entity Q19660
relation P1383
type Q2983893
['Q19660', 'P1383', {'concept': 'Q2983893'}]
SELECT DISTINCT ?b WHERE { resource:Q19660 property:P1383 ?b . ?b rdf:type ontology:Q2983893 }
Bucharest
action filter_type
action find
entity Bucharest
relation contains settlement
type urban district
['Bucharest', 'contains settlement', {'concept': 'urban district'}]
SELECT DISTINCT ?b WHERE { resource:Bucharest property:contains_settlement ?b . ?b rdf:type ontology:urban_district }
[]
urban district
Q2162427 Q2728790 Q687235
SYSTEM
Sector 1, Sector 2, Sector 4
Q2162427 Q2728790 Q687235 Q167280 Q2455368 Q167630
(Q19660,P1383,c(Q2983893))
action filter_type
action find
entity Q19660
relation P1383
type Q2983893
[ANSWERS] are in that city
['Q19660', 'P1383', {'concept': 'Q2983893'}]
SELECT DISTINCT ?b WHERE { resource:Q19660 property:P1383 ?b . ?b rdf:type ontology:Q2983893 }
Sector 1 Sector 2 Sector 4 Sector 6 Sector 3 Sector 5
Sector 1, Sector 2 and Sector 4 are in that city
Sector 1 Sector 2 Sector 4
action filter_type
action find
entity Bucharest
relation contains settlement
type urban district
['Bucharest', 'contains settlement', {'concept': 'urban district'}]
SELECT DISTINCT ?b WHERE { resource:Bucharest property:contains_settlement ?b . ?b rdf:type ontology:urban_district }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2162427
P17
Q15617994
USER
Which administrative territory does Sector 1 belong to ?
(Q2162427,P17,c(Q15617994))
action filter_type
action find
entity Q2162427
relation P17
type Q15617994
['Q2162427', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q2162427 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Sector 1
action filter_type
action find
entity Sector 1
relation country
type designation for an administrative territorial entity
['Sector 1', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Sector_1 property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q2162427,P17,c(Q15617994))
action filter_type
action find
entity Q2162427
relation P17
type Q15617994
Sector 1 belongs to the [ANSWER]
['Q2162427', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q2162427 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Romania
Sector 1 belongs to the Romania
Romania
action filter_type
action find
entity Sector 1
relation country
type designation for an administrative territorial entity
['Sector 1', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Sector_1 property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q218 Q7262300
P17
Q56061
USER
Is Putis present in that administrative territory ?
(Q7262300,P17,Q218)
action is_in
entity Q7262300
action find
entity Q218
relation P17
['Q7262300', 'P17', 'Q218']
ASK WHERE { resource:Q218 property:P17 resource:Q7262300 }
Romania Putis
action is_in
entity Putis
action find
entity Romania
relation country
['Putis', 'country', 'Romania']
ASK WHERE { resource:Romania property:country resource:Putis }
[]
administrative territorial entity
SYSTEM
NO
(Q7262300,P17,Q218)
action is_in
entity Q7262300
action find
entity Q218
relation P17
[ANSWER]
['Q7262300', 'P17', 'Q218']
ASK WHERE { resource:Q218 property:P17 resource:Q7262300 }
No
action is_in
entity Putis
action find
entity Romania
relation country
['Putis', 'country', 'Romania']
ASK WHERE { resource:Romania property:country resource:Putis }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q262 Q218
P463
Q484652
USER
Which international organizations had Romania or Algeria as their member ?
OR((Q218,P463,c(Q484652)), (Q262,P463,c(Q484652)))
action filter_type
action union
action find
entity Q218
relation P463
action find
entity Q262
relation P463
type Q484652
{'OR': [['Q218', 'P463', {'concept': 'Q484652'}], ['Q262', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q218 property:P463 ?r } UNION { resource:Q262 property:P463 ?r } } . ?r rdf:type ontology:Q484652 }
Algeria Romania
action filter_type
action union
action find
entity Romania
relation member of
action find
entity Algeria
relation member of
type international organization
{'OR': [['Romania', 'member of', {'concept': 'international organization'}], ['Algeria', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Romania property:member_of ?r } UNION { resource:Algeria property:member_of ?r } } . ?r rdf:type ontology:international_organization }
[]
international organization
Q81299 Q370862 Q1065 Q7184 Q42262 Q1043527
SYSTEM
Organization for Security and Co-operation in Europe, Arab Maghreb Union, United Nations, North Atlantic Treaty Organisation, European Space Agency, Multilateral Investment Guarantee Agency
Q81299 Q370862 Q1065 Q7184 Q42262 Q1043527
OR((Q218,P463,c(Q484652)), (Q262,P463,c(Q484652)))
action filter_type
action union
action find
entity Q218
relation P463
action find
entity Q262
relation P463
type Q484652
[ANSWERS] had Romania or Algeria as their member
{'OR': [['Q218', 'P463', {'concept': 'Q484652'}], ['Q262', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q218 property:P463 ?r } UNION { resource:Q262 property:P463 ?r } } . ?r rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe Arab Maghreb Union United Nations North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, Arab Maghreb Union, United Nations, North Atlantic Treaty Organisation, European Space Agency and Multilateral Investment Guarantee Agency had Romania or Algeria as their member
Organization for Security and Co-operation in Europe Arab Maghreb Union United Nations North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
action filter_type
action union
action find
entity Romania
relation member of
action find
entity Algeria
relation member of
type international organization
{'OR': [['Romania', 'member of', {'concept': 'international organization'}], ['Algeria', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Romania property:member_of ?r } UNION { resource:Algeria property:member_of ?r } } . ?r rdf:type ontology:international_organization }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P108
Q484652 Q502895
USER
Which international organizations employ approximately the same number of people as that international organization ?
(c(Q502895),P108,c(Q484652))
[{'concept': 'Q502895'}, 'P108', {'concept': 'Q484652'}]
SELECT DISTINCT ?y WHERE { ?z property:Q3053337 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q484652 }
[{'concept': 'common name'}, 'employer', {'concept': 'international organization'}]
SELECT DISTINCT ?y WHERE { ?z property:employer ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:international_organization }
[]
international organization common name
Comparative|More/Less|Single entity type|Clarification
Q1065
SYSTEM
Did you mean United Nations ?
(c(Q502895),P108,c(Q484652))
[ANSWER]
[{'concept': 'Q502895'}, 'P108', {'concept': 'Q484652'}]
SELECT DISTINCT ?y WHERE { ?z property:Q3053337 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q484652 }
Did you mean United Nations ?
United Nations
[{'concept': 'common name'}, 'employer', {'concept': 'international organization'}]
SELECT DISTINCT ?y WHERE { ?z property:employer ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:international_organization }
[]
Comparative Reasoning (All)
USER
No, I meant North Atlantic Treaty Organisation. Could you tell me the answer for that?
(c(Q502895),P108,c(Q484652))
Q7184
[{'concept': 'Q502895'}, 'P108', {'concept': 'Q484652'}]
[{'concept': 'common name'}, 'employer', {'concept': 'international organization'}]
[]
Q81299 Q122880 Q42262
SYSTEM
Organization for Security and Co-operation in Europe, European Court of Human Rights, European Space Agency
Q1117074 Q81299 Q4951 Q697711 Q204344 Q188822 Q54129 Q122880 Q7801 Q8475 Q7164 Q47488 Q7804 Q1045198 Q192177 Q182000 Q7184 Q42262 Q134102
(c(Q502895),P108,c(Q484652))
[ANSWERS] employ approximately the same number of people as that international organization
[{'concept': 'Q502895'}, 'P108', {'concept': 'Q484652'}]
SELECT DISTINCT ?y WHERE { ?z property:Q3053337 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q484652 }
Commonwealth War Graves Commission Organization for Security and Co-operation in Europe Court of Justice of the European Union European Space Operations Centre World Food Program Asian Development Bank International Labour Organization European Court of Human Rights International Court of Justice Interpol World Bank International Criminal Court International Monetary Fund Permanent Court of Arbitration Union for the Mediterranean United Nations Conference on Trade and Development North Atlantic Treaty Organisation European Space Agency Organisation internationale de la Francophonie
Organization for Security and Co-operation in Europe, European Court of Human Rights and European Space Agency employ approximately the same number of people as that international organization
Organization for Security and Co-operation in Europe European Court of Human Rights European Space Agency
[{'concept': 'common name'}, 'employer', {'concept': 'international organization'}]
SELECT DISTINCT ?y WHERE { ?z property:employer ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:international_organization }
[]