Simple Question (Direct)
Simple Question
Q1672390
P20
Q56061
USER
Where did the demise of Jan Batory occur ?
(Q1672390,P20,c(Q56061))
action filter_type
action find
entity Q1672390
relation P20
type Q56061
['Q1672390', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1672390 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Jan Batory
action filter_type
action find
entity Jan Batory
relation place of death
type administrative territorial entity
['Jan Batory', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Jan_Batory property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q270
SYSTEM
Warsaw
Q270
(Q1672390,P20,c(Q56061))
action filter_type
action find
entity Q1672390
relation P20
type Q56061
The demise of Jan Batory occurred in [ANSWER]
['Q1672390', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1672390 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Warsaw
The demise of Jan Batory occurred in Warsaw
Warsaw
action filter_type
action find
entity Jan Batory
relation place of death
type administrative territorial entity
['Jan Batory', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Jan_Batory property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1672390
P119
Q43229
USER
Where was Jan Batory buried ?
(Q1672390,P119,c(Q43229))
action filter_type
action find
entity Q1672390
relation P119
type Q43229
['Q1672390', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { resource:Q1672390 property:P119 ?g . ?g rdf:type ontology:Q43229 }
Jan Batory
action filter_type
action find
entity Jan Batory
relation place of burial
type organization
['Jan Batory', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { resource:Jan_Batory property:place_of_burial ?g . ?g rdf:type ontology:organization }
[]
organization
Q168886
SYSTEM
Powązki Cemetery
Q168886
(Q1672390,P119,c(Q43229))
action filter_type
action find
entity Q1672390
relation P119
type Q43229
Jan Batory was buried in [ANSWER]
['Q1672390', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { resource:Q1672390 property:P119 ?g . ?g rdf:type ontology:Q43229 }
Powązki Cemetery
Jan Batory was buried in Powązki Cemetery
Powązki Cemetery
action filter_type
action find
entity Jan Batory
relation place of burial
type organization
['Jan Batory', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { resource:Jan_Batory property:place_of_burial ?g . ?g rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q168886 Q5246973 Q47081
P17
Q15617994
USER
Is that organization located in Dearborn Public Schools and Segusino ?
(Q168886,P17,Q5246973) (Q168886,P17,Q47081)
action is_in
entity Q168886
action intersection
action find_reverse
entity Q5246973
relation P17
action find_reverse
entity Q47081
relation P17
['Q168886', 'P17', 'Q5246973'] ['Q168886', 'P17', 'Q47081']
ASK WHERE { resource:Q168886 property:P17 resource:Q5246973 . resource:Q168886 property:P17 resource:Q47081 }
Powązki Cemetery Dearborn Public Schools Segusino
action is_in
entity Powązki Cemetery
action intersection
action find_reverse
entity Dearborn Public Schools
relation country
action find_reverse
entity Segusino
relation country
['Powązki Cemetery', 'country', 'Dearborn Public Schools'] ['Powązki Cemetery', 'country', 'Segusino']
ASK WHERE { resource:Powązki_Cemetery property:country resource:Dearborn_Public_Schools . resource:Powązki_Cemetery property:country resource:Segusino }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q168886,P17,Q5246973) (Q168886,P17,Q47081)
action is_in
entity Q168886
action intersection
action find_reverse
entity Q5246973
relation P17
action find_reverse
entity Q47081
relation P17
[ANSWER]
['Q168886', 'P17', 'Q5246973'] ['Q168886', 'P17', 'Q47081']
ASK WHERE { resource:Q168886 property:P17 resource:Q5246973 . resource:Q168886 property:P17 resource:Q47081 }
No
action is_in
entity Powązki Cemetery
action intersection
action find_reverse
entity Dearborn Public Schools
relation country
action find_reverse
entity Segusino
relation country
['Powązki Cemetery', 'country', 'Dearborn Public Schools'] ['Powązki Cemetery', 'country', 'Segusino']
ASK WHERE { resource:Powązki_Cemetery property:country resource:Dearborn_Public_Schools . resource:Powązki_Cemetery property:country resource:Segusino }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q270
P190
Q56061
USER
How many administrative territories are twin cities of Warsaw ?
(Q270,P190,c(Q56061))
action count
action filter_type
action find
entity Q270
relation P190
type Q56061
['Q270', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ontology:Q56061 . resource:Q270 property:P190 ?h }
Warsaw
action count
action filter_type
action find
entity Warsaw
relation sister city
type administrative territorial entity
['Warsaw', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Warsaw property:sister_city ?h }
[]
administrative territorial entity
SYSTEM
22
Q649 Q472 Q36600 Q5196 Q1867 Q42308 Q1718 Q1297 Q1524 Q1520 Q1781 Q1741 Q33935 Q585 Q64 Q1724 Q406 Q216 Q172 Q8678 Q2807 Q36036
(Q270,P190,c(Q56061))
action count
action filter_type
action find
entity Q270
relation P190
type Q56061
[ANSWER]
['Q270', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ontology:Q56061 . resource:Q270 property:P190 ?h }
Moscow Sofia The Hague Grozny Taipei Kharkiv Düsseldorf Chicago Athens Astana Budapest Vienna Tel Aviv Oslo Berlin Saarbrücken Istanbul Vilnius Toronto Rio de Janeiro Madrid Lviv
22
action count
action filter_type
action find
entity Warsaw
relation sister city
type administrative territorial entity
['Warsaw', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Warsaw property:sister_city ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q650274
P190
Q56061
USER
And how about Houffalize?
(Q650274,P190,c(Q56061))
action count
action filter_type
action find
entity Q650274
relation P190
type Q56061
['Q650274', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Q650274 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Houffalize
action count
action filter_type
action find
entity Houffalize
relation sister city
type administrative territorial entity
['Houffalize', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Houffalize property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
15
Q15922 Q1009405 Q11874 Q353854 Q1006408 Q586895 Q499318 Q141796 Q213898 Q985402 Q12887 Q954157 Q405136 Q27678 Q530309
(Q650274,P190,c(Q56061))
action count
action filter_type
action find
entity Q650274
relation P190
type Q56061
[ANSWER]
['Q650274', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Q650274 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Škofja Loka Bundoran Zvolen Agros Sesimbra Municipality Sherborne Prienai Türi Preveza Niederanven Schaerbeek Chojna Tryavna Holstebro Karkkila
15
action count
action filter_type
action find
entity Houffalize
relation sister city
type administrative territorial entity
['Houffalize', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Houffalize property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5753
Q56061
USER
And what about Samarkand?
(Q5753,P190,c(Q56061))
action count
action filter_type
action find
entity Q5753
relation P190
type Q56061
['Q5753', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r rdf:type ontology:Q56061 . resource:Q5753 property:P190 ?r }
Samarkand
action count
action filter_type
action find
entity Samarkand
relation sister city
type administrative territorial entity
['Samarkand', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Samarkand property:sister_city ?r }
[]
administrative territorial entity
SYSTEM
10
(Q5753,P190,c(Q56061))
action count
action filter_type
action find
entity Q5753
relation P190
type Q56061
[ANSWER]
['Q5753', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r rdf:type ontology:Q56061 . resource:Q5753 property:P190 ?r }
10
action count
action filter_type
action find
entity Samarkand
relation sister city
type administrative territorial entity
['Samarkand', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Samarkand property:sister_city ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5753
P84
Q1076486
USER
Which sports venue was that city the designer of ?
action filter_type
action find_reverse
entity Q5753
relation P84
type Q1076486
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1076486 . ?j property:P84 resource:Q5753 }
Samarkand
action filter_type
action find_reverse
entity Samarkand
relation architect
type sports venue
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sports_venue . ?j property:architect resource:Samarkand }
[]
sports venue
Q1765518
SYSTEM
Markaziy Stadium
Q1765518
action filter_type
action find_reverse
entity Q5753
relation P84
type Q1076486
The [ANSWER] was that city the designer of
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1076486 . ?j property:P84 resource:Q5753 }
Markaziy Stadium
The Markaziy Stadium was that city the designer of
Markaziy Stadium
action filter_type
action find_reverse
entity Samarkand
relation architect
type sports venue
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sports_venue . ?j property:architect resource:Samarkand }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q988827 Q5753
P20
Q502895
USER
Which people expired at Samarkand or Tonopah ?
OR((c(Q502895),P20,Q5753), (c(Q502895),P20,Q988827))
action filter_type
action union
action find_reverse
entity Q5753
relation P20
action find_reverse
entity Q988827
relation P20
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q5753'], [{'concept': 'Q502895'}, 'P20', 'Q988827']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P20 resource:Q5753 } UNION { ?y property:P20 resource:Q988827 } } . ?y rdf:type ontology:Q502895 }
Tonopah Samarkand
action filter_type
action union
action find_reverse
entity Samarkand
relation place of death
action find_reverse
entity Tonopah
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', 'Samarkand'], [{'concept': 'common name'}, 'place of death', 'Tonopah']]}
SELECT DISTINCT ?y WHERE { { { ?y property:place_of_death resource:Samarkand } UNION { ?y property:place_of_death resource:Tonopah } } . ?y rdf:type ontology:common_name }
[]
common name
Q3201200 Q1817728 Q4524742 Q115466 Q1660675 Q5528370 Q317649 Q4054537 Q12827721 Q15391383
SYSTEM
Some of them are Kotxkunju, Shukhrat Safin, Vassili Chichkine, Jamshīd al-Kāshī, Siddiqiy Ajziy, Gavriel Mullokandov, Abdullah Khan II, Abdullatif, Abu Mansur Maturidi, Fakhr-un-Nissa
Q433669 Q4204414 Q486088 Q4998760 Q15391383 Q3656289 Q12827721 Q376824 Q26341 Q564153 Q2820905 Q1817728 Q3201200 Q764947 Q4177941 Q1660675 Q19840388 Q4524742 Q317649 Q5528370 Q3827308 Q4054537 Q16863404 Q115466 Q3827281 Q1386256 Q5701959 Q656020 Q5672591
OR((c(Q502895),P20,Q5753), (c(Q502895),P20,Q988827))
action filter_type
action union
action find_reverse
entity Q5753
relation P20
action find_reverse
entity Q988827
relation P20
type Q502895
[ANSWERS] expired at Samarkand or Tonopah
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q5753'], [{'concept': 'Q502895'}, 'P20', 'Q988827']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P20 resource:Q5753 } UNION { ?y property:P20 resource:Q988827 } } . ?y rdf:type ontology:Q502895 }
Helen Chenoweth-Hage Konstantin Istomin Ulugh Beg Burhan al-Din al-Marghinani Fakhr-un-Nissa Vali Muhammad Khan Abu Mansur Maturidi Alexander M. Hardy Cleitus the Black Stalking Cat Abd-al-Mumin ibn Abd-Al·lah Shukhrat Safin Kotxkunju Taftazani Jalangtuš Bahadur Siddiqiy Ajziy Sultan Mahmud Mirza Vassili Chichkine Abdullah Khan II Gavriel Mullokandov Pir Muhàmmad I Abdullatif Saray Mulk Khanum Jamshīd al-Kāshī Nawruz Ahmad Qāḍī Zāda al-Rūmī Abu Hafs Omar al-Nasafi Del Andrews Harry Stewart
Kotxkunju, Shukhrat Safin, Vassili Chichkine, Jamshīd al-Kāshī, Siddiqiy Ajziy, Gavriel Mullokandov, Abdullah Khan II, Abdullatif, Abu Mansur Maturidi and Fakhr-un-Nissa expired at Samarkand or Tonopah
Kotxkunju Shukhrat Safin Vassili Chichkine Jamshīd al-Kāshī Siddiqiy Ajziy Gavriel Mullokandov Abdullah Khan II Abdullatif Abu Mansur Maturidi Fakhr-un-Nissa
action filter_type
action union
action find_reverse
entity Samarkand
relation place of death
action find_reverse
entity Tonopah
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', 'Samarkand'], [{'concept': 'common name'}, 'place of death', 'Tonopah']]}
SELECT DISTINCT ?y WHERE { { { ?y property:place_of_death resource:Samarkand } UNION { ?y property:place_of_death resource:Tonopah } } . ?y rdf:type ontology:common_name }
[]