Simple Question (Direct)
Simple Question
Q553757
P20
Q56061
USER
Where did Ladislaus Hunyadi die ?
(Q553757,P20,c(Q56061))
action filter_type
action find
entity Q553757
relation P20
type Q56061
['Q553757', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q553757 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Ladislaus Hunyadi
action filter_type
action find
entity Ladislaus Hunyadi
relation place of death
type administrative territorial entity
['Ladislaus Hunyadi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Ladislaus_Hunyadi property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q193478
SYSTEM
Buda
Q193478
(Q553757,P20,c(Q56061))
action filter_type
action find
entity Q553757
relation P20
type Q56061
Ladislaus Hunyadi died in [ANSWER]
['Q553757', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q553757 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Buda
Ladislaus Hunyadi died in Buda
Buda
action filter_type
action find
entity Ladislaus Hunyadi
relation place of death
type administrative territorial entity
['Ladislaus Hunyadi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Ladislaus_Hunyadi property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q193478
P276
Q41176
USER
What is located at that administrative territory ?
(c(Q41176),P276,Q193478)
action filter_type
action find_reverse
entity Q193478
relation P276
type Q41176
[{'concept': 'Q41176'}, 'P276', 'Q193478']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q41176 . ?i property:P276 resource:Q193478 }
Buda
action filter_type
action find_reverse
entity Buda
relation location
type building
[{'concept': 'building'}, 'location', 'Buda']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:building . ?i property:location resource:Buda }
[]
building
Q1296740
SYSTEM
Saint Sigismund Church in Buda
Q1296740
(c(Q41176),P276,Q193478)
action filter_type
action find_reverse
entity Q193478
relation P276
type Q41176
[ANSWER] is located at that administrative territory
[{'concept': 'Q41176'}, 'P276', 'Q193478']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q41176 . ?i property:P276 resource:Q193478 }
Saint Sigismund Church in Buda
Saint Sigismund Church in Buda is located at that administrative territory
Saint Sigismund Church in Buda
action filter_type
action find_reverse
entity Buda
relation location
type building
[{'concept': 'building'}, 'location', 'Buda']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:building . ?i property:location resource:Buda }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q193478
P119
Q502895
USER
Which person has that administrative territory as place of burial ?
(c(Q502895),P119,Q1296740)
action filter_type
action find_reverse
entity Q193478
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q1296740']
SELECT DISTINCT ?h WHERE { ?h property:P119 resource:Q193478 . ?h rdf:type ontology:Q502895 }
Buda
action filter_type
action find_reverse
entity Buda
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Saint Sigismund Church in Buda']
SELECT DISTINCT ?h WHERE { ?h property:place_of_burial resource:Buda . ?h rdf:type ontology:common_name }
[]
common name
Q181615
SYSTEM
Catherine of Poděbrady
Q181615
(c(Q502895),P119,Q1296740)
action filter_type
action find_reverse
entity Q193478
relation P119
type Q502895
[ANSWER] has that administrative territory as place of burial
[{'concept': 'Q502895'}, 'P119', 'Q1296740']
SELECT DISTINCT ?h WHERE { ?h property:P119 resource:Q193478 . ?h rdf:type ontology:Q502895 }
Catherine of Poděbrady
Catherine of Poděbrady has that administrative territory as place of burial
Catherine of Poděbrady
action filter_type
action find_reverse
entity Buda
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Saint Sigismund Church in Buda']
SELECT DISTINCT ?h WHERE { ?h property:place_of_burial resource:Buda . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193478
P36
Q7275
USER
Which state contains Buda as its capital ?
(c(Q7275),P36,Q193478)
action filter_type
action find_reverse
entity Q193478
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q193478']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7275 . ?b property:P36 resource:Q193478 }
Buda
action filter_type
action find_reverse
entity Buda
relation capital
type state
[{'concept': 'state'}, 'capital', 'Buda']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:state . ?b property:capital resource:Buda }
[]
state
Q171150
SYSTEM
Kingdom of Hungary
Q171150
(c(Q7275),P36,Q193478)
action filter_type
action find_reverse
entity Q193478
relation P36
type Q7275
[ANSWER] contains Buda as its capital
[{'concept': 'Q7275'}, 'P36', 'Q193478']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7275 . ?b property:P36 resource:Q193478 }
Kingdom of Hungary
Kingdom of Hungary contains Buda as its capital
Kingdom of Hungary
action filter_type
action find_reverse
entity Buda
relation capital
type state
[{'concept': 'state'}, 'capital', 'Buda']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:state . ?b property:capital resource:Buda }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q193478
P190
Q15617994
USER
Which administrative territory is twin town of that administrative territory ?
(c(Q15617994),P190,Q171150)
action filter_type
action find
entity Q193478
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q171150']
SELECT DISTINCT ?o WHERE { resource:Q193478 property:P190 ?o . ?o rdf:type ontology:Q15617994 }
Buda
action filter_type
action find
entity Buda
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Kingdom of Hungary']
SELECT DISTINCT ?o WHERE { resource:Buda property:sister_city ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q50063
SYSTEM
Capestrano
Q50063
(c(Q15617994),P190,Q171150)
action filter_type
action find
entity Q193478
relation P190
type Q15617994
[ANSWER] is twin town of that administrative territory
[{'concept': 'Q15617994'}, 'P190', 'Q171150']
SELECT DISTINCT ?o WHERE { resource:Q193478 property:P190 ?o . ?o rdf:type ontology:Q15617994 }
Capestrano
Capestrano is twin town of that administrative territory
Capestrano
action filter_type
action find
entity Buda
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Kingdom of Hungary']
SELECT DISTINCT ?o WHERE { resource:Buda property:sister_city ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q15617994
USER
How many administrative territories are next to the border of that administrative territory ?
(c(Q15617994),P47,Q50063)
action count
action filter_type
action find_reverse
entity Q50063
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q50063']
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:P47 resource:Q50063 . ?k rdf:type ontology:Q15617994 }
action count
action filter_type
action find_reverse
entity Capestrano
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Capestrano']
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:shares_border_with resource:Capestrano . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
10
Q51360 Q51377 Q51348 Q51347 Q50069 Q50075 Q50088 Q50168 Q50113 Q50111
(c(Q15617994),P47,Q50063)
action count
action filter_type
action find_reverse
entity Q50063
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q50063']
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:P47 resource:Q50063 . ?k rdf:type ontology:Q15617994 }
Corvara Pescosansonesco Bussi sul Tirino Brittoli Carapelle Calvisio Castelvecchio Calvisio Collepietro Villa Santa Lucia degli Abruzzi Ofena Navelli
10
action count
action filter_type
action find_reverse
entity Capestrano
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Capestrano']
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:shares_border_with resource:Capestrano . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q252
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with less number of administrative territories than Indonesia ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q252
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P530 resource:Q252 . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?l < ?n ) . { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?w } }
Indonesia
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Indonesia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:diplomatic_relation resource:Indonesia . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l < ?n ) . { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q45 Q792 Q790 Q954 Q889 Q884 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q32 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q252
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with less number of administrative territories than Indonesia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P530 resource:Q252 . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?l < ?n ) . { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?w } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad Portugal El Salvador Haiti Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Luxembourg Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
Georgia, Netherlands and Poland hold diplomatic relationship with less number of administrative territories than Indonesia
Georgia Netherlands Poland
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Indonesia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:diplomatic_relation resource:Indonesia . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l < ?n ) . { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q55
P610
Q14524493
USER
Which is the highest point of that administrative territory ?
(Q55,P610,c(Q14524493))
action filter_type
action find
entity Q55
relation P610
type Q14524493
['Q55', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?s WHERE { resource:Q55 property:P610 ?s . ?s rdf:type ontology:Q14524493 }
Netherlands
action filter_type
action find
entity Netherlands
relation highest point
type terrain
['Netherlands', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?s WHERE { resource:Netherlands property:highest_point ?s . ?s rdf:type ontology:terrain }
[]
terrain
Clarification for simple ques.
Q55
SYSTEM
Did you mean Netherlands ?
Q230 Q55 Q36
(Q230,P610,c(Q14524493)) (Q55,P610,c(Q14524493)) (Q36,P610,c(Q14524493))
[ANSWER]
['Q230', 'P610', {'concept': 'Q14524493'}] ['Q55', 'P610', {'concept': 'Q14524493'}] ['Q36', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?s WHERE { resource:Q55 property:P610 ?s . ?s rdf:type ontology:Q14524493 }
Georgia Netherlands Poland
Did you mean Netherlands ?
Netherlands
['Georgia', 'highest point', {'concept': 'terrain'}] ['Netherlands', 'highest point', {'concept': 'terrain'}] ['Poland', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?s WHERE { resource:Netherlands property:highest_point ?s . ?s rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
USER
Yes
(Q55,P610,c(Q14524493))
['Q55', 'P610', {'concept': 'Q14524493'}]
['Netherlands', 'highest point', {'concept': 'terrain'}]
[]
Q159860
SYSTEM
Vaalserberg
Q159860
(Q55,P610,c(Q14524493))
action filter_type
action find
entity Q55
relation P610
type Q14524493
The highest point of that administrative territory is the [ANSWER]
['Q55', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?s WHERE { resource:Q55 property:P610 ?s . ?s rdf:type ontology:Q14524493 }
Vaalserberg
The highest point of that administrative territory is the Vaalserberg
Vaalserberg
action filter_type
action find
entity Netherlands
relation highest point
type terrain
['Netherlands', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?s WHERE { resource:Netherlands property:highest_point ?s . ?s rdf:type ontology:terrain }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q159860 Q1093
P610
Q15617994
USER
Is that terrain the zenith of Limburg ?
(Q1093,P610,Q159860)
action is_in
entity Q159860
action find
entity Q1093
relation P610
['Q1093', 'P610', 'Q159860']
ASK WHERE { resource:Q1093 property:P610 resource:Q159860 }
Vaalserberg Limburg
action is_in
entity Vaalserberg
action find
entity Limburg
relation highest point
['Limburg', 'highest point', 'Vaalserberg']
ASK WHERE { resource:Limburg property:highest_point resource:Vaalserberg }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1093,P610,Q159860)
action is_in
entity Q159860
action find
entity Q1093
relation P610
[ANSWER]
['Q1093', 'P610', 'Q159860']
ASK WHERE { resource:Q1093 property:P610 resource:Q159860 }
Yes
action is_in
entity Vaalserberg
action find
entity Limburg
relation highest point
['Limburg', 'highest point', 'Vaalserberg']
ASK WHERE { resource:Limburg property:highest_point resource:Vaalserberg }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q50063 Q50113 Q265003
P47
Q15617994
USER
Is Capestrano next to the border of Ofena and Castelnuovo, Trentino ?
(Q50063,P47,Q50113) (Q50063,P47,Q265003)
action is_in
entity Q50063
action intersection
action find_reverse
entity Q50113
relation P47
action find_reverse
entity Q265003
relation P47
['Q50063', 'P47', 'Q50113'] ['Q50063', 'P47', 'Q265003']
ASK WHERE { resource:Q50063 property:P47 resource:Q50113 . resource:Q50063 property:P47 resource:Q265003 }
Capestrano Ofena Castelnuovo, Trentino
action is_in
entity Capestrano
action intersection
action find_reverse
entity Ofena
relation shares border with
action find_reverse
entity Castelnuovo, Trentino
relation shares border with
['Capestrano', 'shares border with', 'Ofena'] ['Capestrano', 'shares border with', 'Castelnuovo, Trentino']
ASK WHERE { resource:Capestrano property:shares_border_with resource:Ofena . resource:Capestrano property:shares_border_with resource:Castelnuovo,_Trentino }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q50063,P47,Q50113) (Q50063,P47,Q265003)
action is_in
entity Q50063
action intersection
action find_reverse
entity Q50113
relation P47
action find_reverse
entity Q265003
relation P47
[ANSWER]
['Q50063', 'P47', 'Q50113'] ['Q50063', 'P47', 'Q265003']
ASK WHERE { resource:Q50063 property:P47 resource:Q50113 . resource:Q50063 property:P47 resource:Q265003 }
YES and NO respectively
action is_in
entity Capestrano
action intersection
action find_reverse
entity Ofena
relation shares border with
action find_reverse
entity Castelnuovo, Trentino
relation shares border with
['Capestrano', 'shares border with', 'Ofena'] ['Capestrano', 'shares border with', 'Castelnuovo, Trentino']
ASK WHERE { resource:Capestrano property:shares_border_with resource:Ofena . resource:Capestrano property:shares_border_with resource:Castelnuovo,_Trentino }
[]