Simple Question (Direct)
Simple Question
Q11554802
P1344
Q18608583
USER
Which recurring sporting event did Masayuki Izumikawa compete in ?
(Q11554802,P1344,c(Q18608583))
action filter_type
action find
entity Q11554802
relation P1344
type Q18608583
['Q11554802', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?p WHERE { resource:Q11554802 property:P1344 ?p . ?p rdf:type ontology:Q18608583 }
Masayuki Izumikawa
action filter_type
action find
entity Masayuki Izumikawa
relation participant of
type recurring sporting event
['Masayuki Izumikawa', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?p WHERE { resource:Masayuki_Izumikawa property:participant_of ?p . ?p rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q494906
SYSTEM
2002 Asian Games
Q494906
(Q11554802,P1344,c(Q18608583))
action filter_type
action find
entity Q11554802
relation P1344
type Q18608583
Masayuki Izumikawa competed in [ANSWER]
['Q11554802', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?p WHERE { resource:Q11554802 property:P1344 ?p . ?p rdf:type ontology:Q18608583 }
2002 Asian Games
Masayuki Izumikawa competed in 2002 Asian Games
2002 Asian Games
action filter_type
action find
entity Masayuki Izumikawa
relation participant of
type recurring sporting event
['Masayuki Izumikawa', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?p WHERE { resource:Masayuki_Izumikawa property:participant_of ?p . ?p rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11554802
P19
Q515
USER
Which city was Masayuki Izumikawa born at ?
(Q11554802,P19,c(Q515))
action filter_type
action find
entity Q11554802
relation P19
type Q515
['Q11554802', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q11554802 property:P19 ?r . ?r rdf:type ontology:Q515 }
Masayuki Izumikawa
action filter_type
action find
entity Masayuki Izumikawa
relation place of birth
type city
['Masayuki Izumikawa', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Masayuki_Izumikawa property:place_of_birth ?r . ?r rdf:type ontology:city }
[]
city
Q269634
SYSTEM
Tachikawa City
Q269634
(Q11554802,P19,c(Q515))
action filter_type
action find
entity Q11554802
relation P19
type Q515
Masayuki Izumikawa was born in [ANSWER]
['Q11554802', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q11554802 property:P19 ?r . ?r rdf:type ontology:Q515 }
Tachikawa City
Masayuki Izumikawa was born in Tachikawa City
Tachikawa City
action filter_type
action find
entity Masayuki Izumikawa
relation place of birth
type city
['Masayuki Izumikawa', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Masayuki_Izumikawa property:place_of_birth ?r . ?r rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q10500183
Q515
USER
And how about László Horváth?
(Q10500183,P19,c(Q515))
action filter_type
action find
entity Q10500183
relation P19
type Q515
['Q10500183', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q515 . resource:Q10500183 property:P19 ?n }
László Horváth
action filter_type
action find
entity László Horváth
relation place of birth
type city
['László Horváth', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:city . resource:László_Horváth property:place_of_birth ?n }
[]
city
Q184998
SYSTEM
Kaposvár
Q184998
(Q10500183,P19,c(Q515))
action filter_type
action find
entity Q10500183
relation P19
type Q515
[ANSWER]
['Q10500183', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q515 . resource:Q10500183 property:P19 ?n }
Kaposvár
Kaposvár
action filter_type
action find
entity László Horváth
relation place of birth
type city
['László Horváth', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:city . resource:László_Horváth property:place_of_birth ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10500183
P641
Q349
USER
What was the sport that László Horváth was a part of ?
(Q10500183,P641,c(Q349))
action filter_type
action find
entity Q10500183
relation P641
type Q349
['Q10500183', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q10500183 property:P641 ?v }
László Horváth
action filter_type
action find
entity László Horváth
relation sport
type sport
['László Horváth', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:László_Horváth property:sport ?v }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q10500183,P641,c(Q349))
action filter_type
action find
entity Q10500183
relation P641
type Q349
The sport that László Horváth was a part of was [ANSWER]
['Q10500183', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q10500183 property:P641 ?v }
association football
The sport that László Horváth was a part of was association football
association football
action filter_type
action find
entity László Horváth
relation sport
type sport
['László Horváth', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:László_Horváth property:sport ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P159
Q515 Q334453 Q7210356
USER
How many cities are the headquarter locations of approximately 12 divisions and political organizations ?
(c(Q334453)|c(Q7210356),P159,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q334453
action find_reverse_tuple_counts
relation P159
type Q515
type Q7210356
value 12
[[{'concept': 'Q334453'}, {'concept': 'Q7210356'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?x WHERE { { ?s rdf:type ontology:Q334453 . ?x rdf:type ontology:Q515 . ?s property:P159 ?x } UNION { ?s property:P159 ?x . ?x rdf:type ontology:Q515 . ?s rdf:type ontology:Q7210356 } } GROUP BY ?x } . FILTER ( ?n = 12 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type division
action find_reverse_tuple_counts
relation headquarters location
type city
type political organization
value 12
[[{'concept': 'division'}, {'concept': 'political organization'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?x WHERE { { ?s rdf:type ontology:division . ?x rdf:type ontology:city . ?s property:headquarters_location ?x } UNION { ?s property:headquarters_location ?x . ?x rdf:type ontology:city . ?s rdf:type ontology:political_organization } } GROUP BY ?x } . FILTER ( ?n = 12 ) }
[]
city division political organization
SYSTEM
13
Q3572 Q3870 Q1794 Q1362 Q3859 Q1953 Q3787 Q1863 Q1865 Q1761 Q3838 Q1530 Q2900
(c(Q334453)|c(Q7210356),P159,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q334453
action find_reverse_tuple_counts
relation P159
type Q515
type Q7210356
value 12
[ANSWER]
[[{'concept': 'Q334453'}, {'concept': 'Q7210356'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?x WHERE { { ?s rdf:type ontology:Q334453 . ?x rdf:type ontology:Q515 . ?s property:P159 ?x } UNION { ?s property:P159 ?x . ?x rdf:type ontology:Q515 . ?s rdf:type ontology:Q7210356 } } GROUP BY ?x } . FILTER ( ?n = 12 ) }
Tunis Nairobi Frankfurt Islamabad Kigali Yerevan Abuja Andorra la Vella Kuala Lumpur Dublin Kinshasa Baghdad Quito
13
action count
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type division
action find_reverse_tuple_counts
relation headquarters location
type city
type political organization
value 12
[[{'concept': 'division'}, {'concept': 'political organization'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?x WHERE { { ?s rdf:type ontology:division . ?x rdf:type ontology:city . ?s property:headquarters_location ?x } UNION { ?s property:headquarters_location ?x . ?x rdf:type ontology:city . ?s rdf:type ontology:political_organization } } GROUP BY ?x } . FILTER ( ?n = 12 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q184998
P19
Q502895
USER
How many people were born at Kaposvár ?
(c(Q502895),P19,Q184998)
action count
action filter_type
action find_reverse
entity Q184998
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q184998']
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:P19 resource:Q184998 . ?d rdf:type ontology:Q502895 }
Kaposvár
action count
action filter_type
action find_reverse
entity Kaposvár
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Kaposvár']
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:place_of_birth resource:Kaposvár . ?d rdf:type ontology:common_name }
[]
common name
SYSTEM
105
Q8188849 Q789835 Q221399 Q10500183 Q4818401 Q4818419 Q1005867 Q570709 Q872899 Q1055473 Q829892 Q8073656 Q1228423 Q23777327 Q1248560 Q16727566 Q1160799 Q901376 Q20177422 Q987906 Q1166168 Q16523877 Q15643827 Q16334622 Q1179285 Q1010491 Q579329 Q2648608 Q1106778 Q20665595 Q1107287 Q16521136 Q12348473 Q4853198 Q1118803 Q687567 Q779563 Q22915721 Q3122753 Q1251140 Q241279 Q1029280 Q1029282 Q725047 Q1315018 Q177917 Q284010 Q768265 Q571974 Q1214107 Q1293549 Q12815411 Q1269590 Q1123170 Q3156374 Q1033741 Q1214143 Q5320127 Q1320957 Q1327059 Q996051 Q1019425 Q1179912 Q1060075 Q22007029 Q1293651 Q26878068 Q1034813 Q1101760 Q218915 Q22132890 Q958933 Q1098646 Q16864088 Q789546 Q2798377 Q927297 Q1101707 Q1177137 Q20435858 Q3723187 Q1160210 Q990093 Q17142717 Q678283 Q1238006 Q569369 Q1226750 Q1660492 Q24460955 Q4068532 Q551538 Q221267 Q1298978 Q205120 Q3154674 Q1318281 Q847370 Q6453219 Q718082 Q479595 Q1399561 Q20195274 Q1054753 Q18028437
(c(Q502895),P19,Q184998)
action count
action filter_type
action find_reverse
entity Q184998
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q184998']
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:P19 resource:Q184998 . ?d rdf:type ontology:Q502895 }
György Győrffy Benjamin Balázs Ferenc Sánta Jr. László Horváth Attila Gelencsér Attila May Jenő Fónay Antal Bolvári Ferenc Csik István Horváth János Vaszary Zoltán Finta Nóra Palkovics Bors István Gábor Reszli Patrik Böjte András M. Novák Győző Burcsa György Ligeti Katinka Egres Ferenc Martyn Irén Zilahy Roland Gergye Tibor Koppány Lajos Morvay István Gilicz András Gosztonyi Anna Pfeffer István Kemény Péter Wagner-Puskás Éva Kerekes Szilárd Kalmár Gyula Miklósy Balázs Tóth Sándor Kopátsy Viktor Petrók István Bank Gábor Nádas Gyula Toki-Horvàth Árpád Rostás Andor Lukáts Leila Gyenesei István Gyenesei Szabolcs Balajcza Szabolcs Sárközy Imre Nagy Ernő Lendvaï Tamás Horváth Sándor Galimberti Emil Nagy Ildikó Szabó Zsuzsanna Móring Dávid Molnár Sándor Kántor Iván Laszczik Péter Hanák Erzsébet Nagy Dávid Vojvoda József Tigyi Tóth Armand Béla Faragó Béla Koplárovics Sándor Murai Jenő Károly József Attila Móring Tamás Szabó Kimmel Gizella Kovács-Bátori Péter Hegedűs Juan Gyenes Zoltán Czibor Judith Magyar Isaacson Kornél Németh Ilona Ivancsics Valentin Hadaró Beatrix Balogh Robert Koch Róbert Waltner Zoltán Jovánczai Ferenc Mikulás Bence Borsi Elisabeth Kasza Attila László Attila Epres Imre Császár Yonderboi Judit Pogány József Rippl-Rónai Kornél Oszlányi Imre Földes Mónika Bek Balla Dragutin Arany Moriz Kaposi Árpád Lengyel Márta Szirmay Béla Király Irène Zilahy Trixi Teremi Béla Drahos Katharina Bregant Péter Frankl Sándor Abday Lajos Ujváry Tímea Papp Zsolt Homonnay Terka Csillag
105
action count
action filter_type
action find_reverse
entity Kaposvár
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Kaposvár']
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:place_of_birth resource:Kaposvár . ?d rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q611074
P1376
Q15617994 Q515
USER
Which administrative territories have greater number of cities have their first city than Mopani District Municipality ?
(c(Q515),P1376,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_type
action find
entity Q611074
relation P1376
type Q15617994
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P1376 ?x . ?x rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q515 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q611074 property:P1376 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?b > ?y ) }
Mopani District Municipality
action greater
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_type
action find
entity Mopani District Municipality
relation capital of
type designation for an administrative territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:capital_of ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:city } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Mopani_District_Municipality property:capital_of ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b > ?y ) }
[]
designation for an administrative territorial entity city
Q155 Q17 Q347
SYSTEM
Brazil, Japan, Liechtenstein
Q414 Q252 Q399 Q258 Q155 Q736 Q843 Q2007 Q1050 Q298 Q115 Q114 Q696651 Q948 Q639100 Q702 Q833 Q790 Q796 Q794 Q889 Q884 Q881 Q541095 Q1037 Q1033 Q1030 Q750 Q30831 Q878 Q46130 Q3044714 Q1951 Q711 Q717 Q1948 Q27 Q225 Q222 Q47261 Q228 Q963 Q1008 Q72670 Q568751 Q2150573 Q12536 Q3342 Q842 Q3240 Q4712 Q924 Q928 Q851 Q12717 Q347 Q3462133 Q17 Q3207 Q212 Q211 Q218 Q974 Q1019 Q1011
(c(Q515),P1376,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_type
action find
entity Q611074
relation P1376
type Q15617994
[ANSWERS] have greater number of cities have their first city than Mopani District Municipality
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P1376 ?x . ?x rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q515 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q611074 property:P1376 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?b > ?y ) }
Argentina Indonesia Armenia South Africa Brazil Ecuador Pakistan Northwest Territories Swaziland Chile Ethiopia Kenya Saxe-Eisenach Tunisia Principality of Reuss-Gera Federated States of Micronesia Malaysia Haiti Iraq Iran Afghanistan South Korea Vietnam Rhin-et-Moselle Rwanda Nigeria Namibia Bolivia Red Sea Governorate United Arab Emirates Rhône Ouest Alberta Mongolia Venezuela Manitoba Ireland Bosnia and Herzegovina Albania Duchy of Bavaria Andorra Botswana Côte d'Ivoire Batumi Oblast Mont-Tonnerre Unterelsaß Abbasid caliphate Côte-d'Or Oman Bouches-du-Rhône Duchy of Burgundy Tanzania Philippines Saudi Arabia Bas-Rhin Liechtenstein Saxe-Coburg and Gotha Japan Aude Ukraine Latvia Romania Democratic Republic of the Congo Madagascar Cape Verde
Brazil, Japan and Liechtenstein have greater number of cities have their first city than Mopani District Municipality
Brazil Japan Liechtenstein
action greater
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_type
action find
entity Mopani District Municipality
relation capital of
type designation for an administrative territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:capital_of ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:city } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Mopani_District_Municipality property:capital_of ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b > ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q894970
P1376
Q15617994 Q515
USER
And how about Bouches-de-la-Meuse?
(c(Q515),P1376,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_type
action find
entity Q894970
relation P1376
type Q15617994
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:P1376 ?o . ?o rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q515 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Q894970 property:P1376 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?q > ?m ) }
Bouches-de-la-Meuse
action greater
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_type
action find
entity Bouches-de-la-Meuse
relation capital of
type designation for an administrative territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:capital_of ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:city } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Bouches-de-la-Meuse property:capital_of ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q > ?m ) }
[]
designation for an administrative territorial entity city
Q155 Q17 Q347
SYSTEM
Brazil, Japan, Liechtenstein
Q414 Q252 Q399 Q258 Q155 Q736 Q843 Q2007 Q1050 Q298 Q115 Q114 Q696651 Q948 Q639100 Q702 Q833 Q790 Q796 Q794 Q889 Q884 Q881 Q541095 Q1037 Q1033 Q1030 Q750 Q30831 Q878 Q46130 Q3044714 Q1951 Q711 Q717 Q1948 Q27 Q225 Q222 Q47261 Q228 Q963 Q1008 Q72670 Q568751 Q2150573 Q12536 Q3342 Q842 Q3240 Q4712 Q924 Q928 Q851 Q12717 Q347 Q3462133 Q17 Q3207 Q212 Q211 Q218 Q974 Q1019 Q1011
(c(Q515),P1376,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_type
action find
entity Q894970
relation P1376
type Q15617994
[ANSWERS]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:P1376 ?o . ?o rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q515 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Q894970 property:P1376 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?q > ?m ) }
Argentina Indonesia Armenia South Africa Brazil Ecuador Pakistan Northwest Territories Swaziland Chile Ethiopia Kenya Saxe-Eisenach Tunisia Principality of Reuss-Gera Federated States of Micronesia Malaysia Haiti Iraq Iran Afghanistan South Korea Vietnam Rhin-et-Moselle Rwanda Nigeria Namibia Bolivia Red Sea Governorate United Arab Emirates Rhône Ouest Alberta Mongolia Venezuela Manitoba Ireland Bosnia and Herzegovina Albania Duchy of Bavaria Andorra Botswana Côte d'Ivoire Batumi Oblast Mont-Tonnerre Unterelsaß Abbasid caliphate Côte-d'Or Oman Bouches-du-Rhône Duchy of Burgundy Tanzania Philippines Saudi Arabia Bas-Rhin Liechtenstein Saxe-Coburg and Gotha Japan Aude Ukraine Latvia Romania Democratic Republic of the Congo Madagascar Cape Verde
Brazil Japan Liechtenstein
action greater
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_type
action find
entity Bouches-de-la-Meuse
relation capital of
type designation for an administrative territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:capital_of ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:city } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Bouches-de-la-Meuse property:capital_of ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q > ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184998
P190
Q56061
USER
Which administrative territories are sister towns of Kaposvár ?
(Q184998,P190,c(Q56061))
action filter_type
action find
entity Q184998
relation P190
type Q56061
['Q184998', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q184998 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Kaposvár
action filter_type
action find
entity Kaposvár
relation sister city
type administrative territorial entity
['Kaposvár', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Kaposvár property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q93347 Q37013
SYSTEM
Mostar, Rauma
Q93347 Q37013
(Q184998,P190,c(Q56061))
action filter_type
action find
entity Q184998
relation P190
type Q56061
[ANSWERS] are sister towns of Kaposvár
['Q184998', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q184998 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Mostar Rauma
Mostar and Rauma are sister towns of Kaposvár
Mostar Rauma
action filter_type
action find
entity Kaposvár
relation sister city
type administrative territorial entity
['Kaposvár', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Kaposvár property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q76001
Q56061
USER
And what about San Pablo?
(Q76001,P190,c(Q56061))
action filter_type
action find
entity Q76001
relation P190
type Q56061
['Q76001', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q76001 property:P190 ?d . ?d rdf:type ontology:Q56061 }
San Pablo
action filter_type
action find
entity San Pablo
relation sister city
type administrative territorial entity
['San Pablo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:San_Pablo property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q891359 Q169943 Q42159
SYSTEM
Bolingbrook, San Mateo, Hanam
Q891359 Q169943 Q42159
(Q76001,P190,c(Q56061))
action filter_type
action find
entity Q76001
relation P190
type Q56061
[ANSWERS]
['Q76001', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q76001 property:P190 ?d . ?d rdf:type ontology:Q56061 }
Bolingbrook San Mateo Hanam
Bolingbrook San Mateo Hanam
action filter_type
action find
entity San Pablo
relation sister city
type administrative territorial entity
['San Pablo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:San_Pablo property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q76001
P190
Q515
USER
Are San Pablo partner town of those administrative territories ?
(Q76001,P190,Q891359) (Q76001,P190,Q169943) (Q76001,P190,Q42159)
action is_in
entity prev_answer
action find
entity Q76001
relation P190
['Q76001', 'P190', 'Q891359'] ['Q76001', 'P190', 'Q169943'] ['Q76001', 'P190', 'Q42159']
ASK WHERE { VALUES ( ?k ) { ( resource:Q891359 ) ( resource:Q169943 ) ( resource:Q42159 ) } . resource:Q76001 property:P190 ?k }
San Pablo
action is_in
entity prev_answer
action find
entity San Pablo
relation sister city
['San Pablo', 'sister city', 'Bolingbrook'] ['San Pablo', 'sister city', 'San Mateo'] ['San Pablo', 'sister city', 'Hanam']
ASK WHERE { VALUES ( ?k ) { ( resource:Bolingbrook ) ( resource:San_Mateo ) ( resource:Hanam ) } . resource:San_Pablo property:sister_city ?k }
[]
city
SYSTEM
YES
(Q76001,P190,Q891359) (Q76001,P190,Q169943) (Q76001,P190,Q42159)
action is_in
entity prev_answer
action find
entity Q76001
relation P190
[ANSWER]
['Q76001', 'P190', 'Q891359'] ['Q76001', 'P190', 'Q169943'] ['Q76001', 'P190', 'Q42159']
ASK WHERE { VALUES ( ?k ) { ( resource:Q891359 ) ( resource:Q169943 ) ( resource:Q42159 ) } . resource:Q76001 property:P190 ?k }
Yes
action is_in
entity prev_answer
action find
entity San Pablo
relation sister city
['San Pablo', 'sister city', 'Bolingbrook'] ['San Pablo', 'sister city', 'San Mateo'] ['San Pablo', 'sister city', 'Hanam']
ASK WHERE { VALUES ( ?k ) { ( resource:Bolingbrook ) ( resource:San_Mateo ) ( resource:Hanam ) } . resource:San_Pablo property:sister_city ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q891359
P931
Q62447
USER
Which aerodrome serves Bolingbrook ?
(c(Q62447),P931,Q891359)
action filter_type
action find_reverse
entity Q891359
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q891359']
SELECT DISTINCT ?r WHERE { ?r property:P931 resource:Q891359 . ?r rdf:type ontology:Q62447 }
Bolingbrook
action filter_type
action find_reverse
entity Bolingbrook
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Bolingbrook']
SELECT DISTINCT ?r WHERE { ?r property:place_served_by_airport resource:Bolingbrook . ?r rdf:type ontology:aerodrome }
[]
aerodrome
Q3886420
SYSTEM
Bolingbrook's Clow International Airport
Q3886420
(c(Q62447),P931,Q891359)
action filter_type
action find_reverse
entity Q891359
relation P931
type Q62447
[ANSWER] serves Bolingbrook
[{'concept': 'Q62447'}, 'P931', 'Q891359']
SELECT DISTINCT ?r WHERE { ?r property:P931 resource:Q891359 . ?r rdf:type ontology:Q62447 }
Bolingbrook's Clow International Airport
Bolingbrook's Clow International Airport serves Bolingbrook
Bolingbrook's Clow International Airport
action filter_type
action find_reverse
entity Bolingbrook
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Bolingbrook']
SELECT DISTINCT ?r WHERE { ?r property:place_served_by_airport resource:Bolingbrook . ?r rdf:type ontology:aerodrome }
[]