Simple Question (Direct)
Simple Question
Q11731754
P106
Q12737077
USER
What is the job of Józef Świerczyński ?
(Q11731754,P106,c(Q12737077))
action filter_type
action find
entity Q11731754
relation P106
type Q12737077
['Q11731754', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q11731754 property:P106 ?i }
Józef Świerczyński
action filter_type
action find
entity Józef Świerczyński
relation occupation
type occupation
['Józef Świerczyński', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Józef_Świerczyński property:occupation ?i }
[]
occupation
Q189290
SYSTEM
officer
Q189290
(Q11731754,P106,c(Q12737077))
action filter_type
action find
entity Q11731754
relation P106
type Q12737077
The job of Józef Świerczyński is an [ANSWER]
['Q11731754', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q11731754 property:P106 ?i }
officer
The job of Józef Świerczyński is an officer
officer
action filter_type
action find
entity Józef Świerczyński
relation occupation
type occupation
['Józef Świerczyński', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Józef_Świerczyński property:occupation ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11731754
P19
Q486972
USER
Which human settlement is the birthplace of that person ?
(Q189290,P19,c(Q486972))
action filter_type
action find
entity Q11731754
relation P19
type Q486972
['Q189290', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { resource:Q11731754 property:P19 ?x . ?x rdf:type ontology:Q486972 }
Józef Świerczyński
action filter_type
action find
entity Józef Świerczyński
relation place of birth
type human settlement
['officer', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { resource:Józef_Świerczyński property:place_of_birth ?x . ?x rdf:type ontology:human_settlement }
[]
human settlement
Q5004600
SYSTEM
Byszewy
Q5004600
(Q189290,P19,c(Q486972))
action filter_type
action find
entity Q11731754
relation P19
type Q486972
[ANSWER] is the birthplace of that person
['Q189290', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { resource:Q11731754 property:P19 ?x . ?x rdf:type ontology:Q486972 }
Byszewy
Byszewy is the birthplace of that person
Byszewy
action filter_type
action find
entity Józef Świerczyński
relation place of birth
type human settlement
['officer', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { resource:Józef_Świerczyński property:place_of_birth ?x . ?x rdf:type ontology:human_settlement }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q148540
P1376
Q515 Q486972
USER
How many cities have more number of human settlements have their center of administration than Republic of Florence ?
(c(Q486972),P1376,c(Q515))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find
entity Q148540
relation P1376
type Q515
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:P1376 ?p . ?p rdf:type ontology:Q515 . ?b rdf:type ontology:Q486972 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Q148540 property:P1376 ?u . ?u rdf:type ontology:Q515 } } . FILTER ( ?v > ?q ) }
Republic of Florence
action count
action greater
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find
entity Republic of Florence
relation capital of
type city
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:capital_of ?p . ?p rdf:type ontology:city . ?b rdf:type ontology:human_settlement } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Republic_of_Florence property:capital_of ?u . ?u rdf:type ontology:city } } . FILTER ( ?v > ?q ) }
[]
city human settlement
SYSTEM
218
Q280364 Q168921 Q837161 Q253825 Q507846 Q283862 Q850974 Q3846983 Q935834 Q765841 Q851056 Q292769 Q851409 Q775799 Q585548 Q777619 Q508313 Q328647 Q584825 Q248018 Q169127 Q850982 Q835227 Q639520 Q851037 Q331577 Q1018204 Q771191 Q325736 Q275645 Q275642 Q855187 Q325732 Q3573941 Q837167 Q2198771 Q803706 Q850962 Q276156 Q265012 Q850969 Q386945 Q794200 Q276164 Q923254 Q556266 Q666373 Q851042 Q732851 Q207196 Q851048 Q571769 Q276168 Q276152 Q226000 Q591285 Q751352 Q737830 Q169135 Q837968 Q10860283 Q221214 Q789811 Q276120 Q837960 Q778516 Q209782 Q641218 Q276004 Q592480 Q203929 Q930102 Q837170 Q596043 Q250006 Q829051 Q276042 Q521108 Q275810 Q275895 Q423441 Q899427 Q179297 Q737276 Q276119 Q837173 Q225257 Q1018184 Q373707 Q946893 Q518992 Q376233 Q660417 Q666521 Q851007 Q276336 Q325555 Q252061 Q963829 Q739444 Q586387 Q912204 Q750220 Q570113 Q916156 Q610341 Q593157 Q267708 Q899454 Q590443 Q548502 Q568376 Q186719 Q276083 Q75537 Q535516 Q508057 Q754721 Q839796 Q837157 Q837154 Q837152 Q748068 Q743752 Q736276 Q276135 Q276137 Q276132 Q197687 Q383306 Q253872 Q1209 Q217131 Q899448 Q275990 Q248959 Q511951 Q855719 Q576804 Q834101 Q935846 Q75504 Q313689 Q629776 Q899551 Q275981 Q651322 Q906711 Q276128 Q790338 Q186214 Q756585 Q851001 Q292759 Q375371 Q276127 Q912224 Q855721 Q276009 Q305001 Q305182 Q169064 Q772576 Q1017982 Q166829 Q926163 Q247807 Q589880 Q526019 Q167121 Q275997 Q548575 Q275910 Q678884 Q668701 Q584531 Q587746 Q383085 Q756593 Q756590 Q756596 Q851013 Q167792 Q19660 Q602184 Q899467 Q276154 Q423371 Q899461 Q209977 Q650981 Q764806 Q791387 Q756578 Q390156 Q851021 Q592497 Q727421 Q276117 Q533078 Q851029 Q225100 Q423414 Q596609 Q655818 Q386091 Q386888 Q275904 Q275890 Q508670 Q125604 Q1006796 Q679428 Q276145 Q276146 Q213296 Q276141 Q850992
(c(Q486972),P1376,c(Q515))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find
entity Q148540
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:P1376 ?p . ?p rdf:type ontology:Q515 . ?b rdf:type ontology:Q486972 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Q148540 property:P1376 ?u . ?u rdf:type ontology:Q515 } } . FILTER ( ?v > ?q ) }
Titu Bragadiru Sânnicolau Mare Salcea Sebiș Băicoi Segarcea Șimleu Silvaniei Sângeorz-Băi Urlați Cristuru Secuiesc Întorsura Buzăului Budești Baia de Arieș Ocnele Mari Strehaia Nădlac Sulina Scornicești Isaccea Chitila Curtici Ineu Voluntari Comarnic Abrud Slănic Berești Ciacova Fierbinți-Târg Roznov Câmpeni Gătaia Săliște Hațeg Măgurele Baia Sprie Copșa Mică Berbești Bușteni Victoria Babadag Beclean Căzănești Fundulea Târgu Ocna Seini Hârlău Mioveni Zlatna Făget Boldești-Scăeni Pătârlagele Dragomirești Jimbolia Piatra-Olt Plopeni Mizil Pantelimon Băile Tușnad Broșteni Cugir Bălan Ulmeni Năvodari Baia de Aramă Borșa Videle Murgeni Târgu Bujor Zimnicea Tăuții-Măgherăuș Gura Humorului Ovidiu Slănic-Moldova Moldova Nouă Băneasa Dumbrăveni Cajvana Șomcuta Mare Țăndărei Iernut Nehoiu Cehu Silvaniei Liteni Cisnădie Rupea Cavnic Luduș Teiuș Călan Săcueni Jibou Târgu Cărbunești Deta Livada Recaș Valea lui Mihai Mihăilești Topoloveni Eforie Lehliu Gară Huedin Uricani Ghimbav Pogoanele Murfatlar Sovata Panciu Balș Anina Breaza Ocna Sibiului Potcoava Oțelu Roșu Azuga Drăgănești-Olt Corabia Borsec Covasna Simeria Ocna Mureș Hârșova Odobești Cernavodă Dăbuleni Milișăuți Pecica Miercurea Sibiului Tismana Bechet Free Hanseatic City of Bremen Buftea Negrești Răcari Zărnești Predeal Băile Govora Mărășești Bolintin-Vale Vlăhița Bocșa Agnita Vânju Mare Ianca Podu Iloaiei Năsăud Nucet Frasin Râșnov Turceni Buhuși Măcin Însurăței Călimănești Bălcești Techirghiol Băile Olănești Amara Negru Vodă Dărmănești Sângeorgiu de Pădure Negrești-Oaș Geoagiu Miercurea Nirajului Popești-Leordeni Săveni Pucioasa Brezoi Ungheni Ardud Aninoasa Sântana Fieni Tășnad Bumbești-Jiu Siret Oravița Târgu Neamț Comănești Filiași Vașcău Sărmașu Bucharest Solca Darabani Ștefănești Ștei Horezu Ștefănești Băile Herculane Rovinari Avrig Târgu Frumos Petrila Pâncota Vălenii de Munte Otopeni Dolhasca Baraolt Aleșd Bicaz Țicleni Vișeu de Sus Buziaș Novaci Târgu Lăpuș Flămânzi Băbeni Chișineu-Criș Găești Făurei Tălmaciu Vicovu de Sus Bucecea Sinaia Săliștea de Sus Costești
218
action count
action greater
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find
entity Republic of Florence
relation capital of
type city
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:capital_of ?p . ?p rdf:type ontology:city . ?b rdf:type ontology:human_settlement } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Republic_of_Florence property:capital_of ?u . ?u rdf:type ontology:city } } . FILTER ( ?v > ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1410
P1376
Q515 Q486972
USER
And what about Gibraltar?
(c(Q486972),P1376,c(Q515))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find
entity Q1410
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Q1410 property:P1376 ?v . ?v rdf:type ontology:Q486972 } } . FILTER ( ?u > ?z ) . { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?u ) WHERE { ?k rdf:type ontology:Q515 . ?b rdf:type ontology:Q486972 . ?b property:P1376 ?k } GROUP BY ?k } }
Gibraltar
action count
action greater
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find
entity Gibraltar
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Gibraltar property:capital_of ?v . ?v rdf:type ontology:human_settlement } } . FILTER ( ?u > ?z ) . { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?u ) WHERE { ?k rdf:type ontology:city . ?b rdf:type ontology:human_settlement . ?b property:capital_of ?k } GROUP BY ?k } }
[]
city human settlement
SYSTEM
218
Q280364 Q168921 Q837161 Q253825 Q507846 Q283862 Q850974 Q3846983 Q935834 Q765841 Q851056 Q292769 Q851409 Q775799 Q585548 Q777619 Q508313 Q328647 Q584825 Q248018 Q169127 Q850982 Q835227 Q639520 Q851037 Q331577 Q1018204 Q771191 Q325736 Q275645 Q275642 Q855187 Q325732 Q3573941 Q837167 Q2198771 Q803706 Q850962 Q276156 Q265012 Q850969 Q386945 Q794200 Q276164 Q923254 Q556266 Q666373 Q851042 Q732851 Q207196 Q851048 Q571769 Q276168 Q276152 Q226000 Q591285 Q751352 Q737830 Q169135 Q837968 Q10860283 Q221214 Q789811 Q276120 Q837960 Q778516 Q209782 Q641218 Q276004 Q592480 Q203929 Q930102 Q837170 Q596043 Q250006 Q829051 Q276042 Q521108 Q275810 Q275895 Q423441 Q899427 Q179297 Q737276 Q276119 Q837173 Q225257 Q1018184 Q373707 Q946893 Q518992 Q376233 Q660417 Q666521 Q851007 Q276336 Q325555 Q252061 Q963829 Q739444 Q586387 Q912204 Q750220 Q570113 Q916156 Q610341 Q593157 Q267708 Q899454 Q590443 Q548502 Q568376 Q186719 Q276083 Q75537 Q535516 Q508057 Q754721 Q839796 Q837157 Q837154 Q837152 Q748068 Q743752 Q736276 Q276135 Q276137 Q276132 Q197687 Q383306 Q253872 Q1209 Q217131 Q899448 Q275990 Q248959 Q511951 Q855719 Q576804 Q834101 Q935846 Q75504 Q313689 Q629776 Q899551 Q275981 Q651322 Q906711 Q276128 Q790338 Q186214 Q756585 Q851001 Q292759 Q375371 Q276127 Q912224 Q855721 Q276009 Q305001 Q305182 Q169064 Q772576 Q1017982 Q166829 Q926163 Q247807 Q589880 Q526019 Q167121 Q275997 Q548575 Q275910 Q678884 Q668701 Q584531 Q587746 Q383085 Q756593 Q756590 Q756596 Q851013 Q167792 Q19660 Q602184 Q899467 Q276154 Q423371 Q899461 Q209977 Q650981 Q764806 Q791387 Q756578 Q390156 Q851021 Q592497 Q727421 Q276117 Q533078 Q851029 Q225100 Q423414 Q596609 Q655818 Q386091 Q386888 Q275904 Q275890 Q508670 Q125604 Q1006796 Q679428 Q276145 Q276146 Q213296 Q276141 Q850992
(c(Q486972),P1376,c(Q515))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find
entity Q1410
relation P1376
type Q486972
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Q1410 property:P1376 ?v . ?v rdf:type ontology:Q486972 } } . FILTER ( ?u > ?z ) . { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?u ) WHERE { ?k rdf:type ontology:Q515 . ?b rdf:type ontology:Q486972 . ?b property:P1376 ?k } GROUP BY ?k } }
Titu Bragadiru Sânnicolau Mare Salcea Sebiș Băicoi Segarcea Șimleu Silvaniei Sângeorz-Băi Urlați Cristuru Secuiesc Întorsura Buzăului Budești Baia de Arieș Ocnele Mari Strehaia Nădlac Sulina Scornicești Isaccea Chitila Curtici Ineu Voluntari Comarnic Abrud Slănic Berești Ciacova Fierbinți-Târg Roznov Câmpeni Gătaia Săliște Hațeg Măgurele Baia Sprie Copșa Mică Berbești Bușteni Victoria Babadag Beclean Căzănești Fundulea Târgu Ocna Seini Hârlău Mioveni Zlatna Făget Boldești-Scăeni Pătârlagele Dragomirești Jimbolia Piatra-Olt Plopeni Mizil Pantelimon Băile Tușnad Broșteni Cugir Bălan Ulmeni Năvodari Baia de Aramă Borșa Videle Murgeni Târgu Bujor Zimnicea Tăuții-Măgherăuș Gura Humorului Ovidiu Slănic-Moldova Moldova Nouă Băneasa Dumbrăveni Cajvana Șomcuta Mare Țăndărei Iernut Nehoiu Cehu Silvaniei Liteni Cisnădie Rupea Cavnic Luduș Teiuș Călan Săcueni Jibou Târgu Cărbunești Deta Livada Recaș Valea lui Mihai Mihăilești Topoloveni Eforie Lehliu Gară Huedin Uricani Ghimbav Pogoanele Murfatlar Sovata Panciu Balș Anina Breaza Ocna Sibiului Potcoava Oțelu Roșu Azuga Drăgănești-Olt Corabia Borsec Covasna Simeria Ocna Mureș Hârșova Odobești Cernavodă Dăbuleni Milișăuți Pecica Miercurea Sibiului Tismana Bechet Free Hanseatic City of Bremen Buftea Negrești Răcari Zărnești Predeal Băile Govora Mărășești Bolintin-Vale Vlăhița Bocșa Agnita Vânju Mare Ianca Podu Iloaiei Năsăud Nucet Frasin Râșnov Turceni Buhuși Măcin Însurăței Călimănești Bălcești Techirghiol Băile Olănești Amara Negru Vodă Dărmănești Sângeorgiu de Pădure Negrești-Oaș Geoagiu Miercurea Nirajului Popești-Leordeni Săveni Pucioasa Brezoi Ungheni Ardud Aninoasa Sântana Fieni Tășnad Bumbești-Jiu Siret Oravița Târgu Neamț Comănești Filiași Vașcău Sărmașu Bucharest Solca Darabani Ștefănești Ștei Horezu Ștefănești Băile Herculane Rovinari Avrig Târgu Frumos Petrila Pâncota Vălenii de Munte Otopeni Dolhasca Baraolt Aleșd Bicaz Țicleni Vișeu de Sus Buziaș Novaci Târgu Lăpuș Flămânzi Băbeni Chișineu-Criș Găești Făurei Tălmaciu Vicovu de Sus Bucecea Sinaia Săliștea de Sus Costești
218
action count
action greater
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find
entity Gibraltar
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Gibraltar property:capital_of ?v . ?v rdf:type ontology:human_settlement } } . FILTER ( ?u > ?z ) . { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?u ) WHERE { ?k rdf:type ontology:city . ?b rdf:type ontology:human_settlement . ?b property:capital_of ?k } GROUP BY ?k } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5004600
P17
Q15617994
USER
How many administrative territories do Byszewy belong to ?
(Q5004600,P17,c(Q15617994))
action count
action filter_type
action find
entity Q5004600
relation P17
type Q15617994
['Q5004600', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Q5004600 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Byszewy
action count
action filter_type
action find
entity Byszewy
relation country
type designation for an administrative territorial entity
['Byszewy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Byszewy property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q36
(Q5004600,P17,c(Q15617994))
action count
action filter_type
action find
entity Q5004600
relation P17
type Q15617994
[ANSWER]
['Q5004600', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Q5004600 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Poland
1
action count
action filter_type
action find
entity Byszewy
relation country
type designation for an administrative territorial entity
['Byszewy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Byszewy property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q17529342
Q15617994
USER
And what about Church Of St Andrew?
(Q17529342,P17,c(Q15617994))
action count
action filter_type
action find
entity Q17529342
relation P17
type Q15617994
['Q17529342', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Q17529342 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Church Of St Andrew
action count
action filter_type
action find
entity Church Of St Andrew
relation country
type designation for an administrative territorial entity
['Church Of St Andrew', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Church_Of_St_Andrew property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q17529342,P17,c(Q15617994))
action count
action filter_type
action find
entity Q17529342
relation P17
type Q15617994
[ANSWER]
['Q17529342', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Q17529342 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Church Of St Andrew
relation country
type designation for an administrative territorial entity
['Church Of St Andrew', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Church_Of_St_Andrew property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17529342
P1435
Q41176
USER
Which building is the heritage status of that temple ?
action filter_type
action find
entity Q17529342
relation P1435
type Q41176
SELECT DISTINCT ?e WHERE { resource:Q17529342 property:P1435 ?e . ?e rdf:type ontology:Q41176 }
Church Of St Andrew
action filter_type
action find
entity Church Of St Andrew
relation heritage status
type building
SELECT DISTINCT ?e WHERE { resource:Church_Of_St_Andrew property:heritage_status ?e . ?e rdf:type ontology:building }
[]
building
Q15700818
SYSTEM
Grade I listed building
Q15700818
action filter_type
action find
entity Q17529342
relation P1435
type Q41176
The [ANSWER] is the heritage status of that temple
SELECT DISTINCT ?e WHERE { resource:Q17529342 property:P1435 ?e . ?e rdf:type ontology:Q41176 }
Grade I listed building
The Grade I listed building is the heritage status of that temple
Grade I listed building
action filter_type
action find
entity Church Of St Andrew
relation heritage status
type building
SELECT DISTINCT ?e WHERE { resource:Church_Of_St_Andrew property:heritage_status ?e . ?e rdf:type ontology:building }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q15700818 Q17791459
P1435
Q44539
USER
Does Morton, Old Parish Church have that building as its heritage status ?
(Q17791459,P1435,Q15700818)
action is_in
entity Q17791459
action find
entity Q15700818
relation P1435
['Q17791459', 'P1435', 'Q15700818']
ASK WHERE { resource:Q15700818 property:P1435 resource:Q17791459 }
Grade I listed building Morton, Old Parish Church
action is_in
entity Morton, Old Parish Church
action find
entity Grade I listed building
relation heritage status
['Morton, Old Parish Church', 'heritage status', 'Grade I listed building']
ASK WHERE { resource:Grade_I_listed_building property:heritage_status resource:Morton,_Old_Parish_Church }
[]
temple
SYSTEM
NO
(Q17791459,P1435,Q15700818)
action is_in
entity Q17791459
action find
entity Q15700818
relation P1435
[ANSWER]
['Q17791459', 'P1435', 'Q15700818']
ASK WHERE { resource:Q15700818 property:P1435 resource:Q17791459 }
No
action is_in
entity Morton, Old Parish Church
action find
entity Grade I listed building
relation heritage status
['Morton, Old Parish Church', 'heritage status', 'Grade I listed building']
ASK WHERE { resource:Grade_I_listed_building property:heritage_status resource:Morton,_Old_Parish_Church }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11731754
P410
Q4189293
USER
Which title was the military rank held by Józef Świerczyński ?
(Q11731754,P410,c(Q4189293))
action filter_type
action find
entity Q11731754
relation P410
type Q4189293
['Q11731754', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?z WHERE { resource:Q11731754 property:P410 ?z . ?z rdf:type ontology:Q4189293 }
Józef Świerczyński
action filter_type
action find
entity Józef Świerczyński
relation military rank
type title
['Józef Świerczyński', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?z WHERE { resource:Józef_Świerczyński property:military_rank ?z . ?z rdf:type ontology:title }
[]
title
Q104680
SYSTEM
colonel
Q104680
(Q11731754,P410,c(Q4189293))
action filter_type
action find
entity Q11731754
relation P410
type Q4189293
[ANSWER] was the military rank held by Józef Świerczyński
['Q11731754', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?z WHERE { resource:Q11731754 property:P410 ?z . ?z rdf:type ontology:Q4189293 }
colonel
Colonel was the military rank held by Józef Świerczyński
colonel
action filter_type
action find
entity Józef Świerczyński
relation military rank
type title
['Józef Świerczyński', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?z WHERE { resource:Józef_Świerczyński property:military_rank ?z . ?z rdf:type ontology:title }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6128411
Q4189293
USER
And what about James Agnew?
(Q6128411,P410,c(Q4189293))
action filter_type
action find
entity Q6128411
relation P410
type Q4189293
['Q6128411', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?g WHERE { resource:Q6128411 property:P410 ?g . ?g rdf:type ontology:Q4189293 }
James Agnew
action filter_type
action find
entity James Agnew
relation military rank
type title
['James Agnew', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?g WHERE { resource:James_Agnew property:military_rank ?g . ?g rdf:type ontology:title }
[]
title
Q152956
SYSTEM
brigadier general
Q152956
(Q6128411,P410,c(Q4189293))
action filter_type
action find
entity Q6128411
relation P410
type Q4189293
[ANSWER]
['Q6128411', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?g WHERE { resource:Q6128411 property:P410 ?g . ?g rdf:type ontology:Q4189293 }
brigadier general
brigadier general
action filter_type
action find
entity James Agnew
relation military rank
type title
['James Agnew', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?g WHERE { resource:James_Agnew property:military_rank ?g . ?g rdf:type ontology:title }
[]