Simple Question (Direct)
Simple Question
Q1212689
P20
Q56061
USER
Where did János Máté die ?
(Q1212689,P20,c(Q56061))
action filter_type
action find
entity Q1212689
relation P20
type Q56061
['Q1212689', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1212689 property:P20 ?s . ?s rdf:type ontology:Q56061 }
János Máté
action filter_type
action find
entity János Máté
relation place of death
type administrative territorial entity
['János Máté', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:János_Máté property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q134494
SYSTEM
Győr
Q134494
(Q1212689,P20,c(Q56061))
action filter_type
action find
entity Q1212689
relation P20
type Q56061
János Máté died in [ANSWER]
['Q1212689', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1212689 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Győr
János Máté died in Győr
Győr
action filter_type
action find
entity János Máté
relation place of death
type administrative territorial entity
['János Máté', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:János_Máté property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q134494
P931
Q62447
USER
What city is served by that administrative territory ?
(c(Q62447),P931,Q134494)
action filter_type
action find_reverse
entity Q134494
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q134494']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q62447 . ?q property:P931 resource:Q134494 }
Győr
action filter_type
action find_reverse
entity Győr
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Győr']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:aerodrome . ?q property:place_served_by_airport resource:Győr }
[]
aerodrome
Q930606
SYSTEM
Győr-Pér International Airport
Q930606
(c(Q62447),P931,Q134494)
action filter_type
action find_reverse
entity Q134494
relation P931
type Q62447
[ANSWER] is served by that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q134494']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q62447 . ?q property:P931 resource:Q134494 }
Győr-Pér International Airport
Győr-Pér International Airport is served by that administrative territory
Győr-Pér International Airport
action filter_type
action find_reverse
entity Győr
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Győr']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:aerodrome . ?q property:place_served_by_airport resource:Győr }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q134494
P1376
Q1162835
USER
Which district of Hungary has that administrative territory as its capital ?
(Q930606,P1376,c(Q1162835))
action filter_type
action find
entity Q134494
relation P1376
type Q1162835
['Q930606', 'P1376', {'concept': 'Q1162835'}]
SELECT DISTINCT ?x WHERE { resource:Q134494 property:P1376 ?x . ?x rdf:type ontology:Q1162835 }
Győr
action filter_type
action find
entity Győr
relation capital of
type district of Hungary
['Győr-Pér International Airport', 'capital of', {'concept': 'district of Hungary'}]
SELECT DISTINCT ?x WHERE { resource:Győr property:capital_of ?x . ?x rdf:type ontology:district_of_Hungary }
[]
district of Hungary
Q1030726
SYSTEM
Győr  District
Q1030726
(Q930606,P1376,c(Q1162835))
action filter_type
action find
entity Q134494
relation P1376
type Q1162835
Győr District has that administrative territory as its capital
['Q930606', 'P1376', {'concept': 'Q1162835'}]
SELECT DISTINCT ?x WHERE { resource:Q134494 property:P1376 ?x . ?x rdf:type ontology:Q1162835 }
Győr  District
Győr District has that administrative territory as its capital
Győr  District
action filter_type
action find
entity Győr
relation capital of
type district of Hungary
['Győr-Pér International Airport', 'capital of', {'concept': 'district of Hungary'}]
SELECT DISTINCT ?x WHERE { resource:Győr property:capital_of ?x . ?x rdf:type ontology:district_of_Hungary }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q930606
P17
Q15617994
USER
Which administrative territory is Győr-Pér International Airport located in ?
(Q930606,P17,c(Q15617994))
action filter_type
action find
entity Q930606
relation P17
type Q15617994
['Q930606', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q930606 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Győr-Pér International Airport
action filter_type
action find
entity Győr-Pér International Airport
relation country
type designation for an administrative territorial entity
['Győr-Pér International Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Győr-Pér_International_Airport property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q930606,P17,c(Q15617994))
action filter_type
action find
entity Q930606
relation P17
type Q15617994
Which administrative territory is Győr-Pér International Airport located in
['Q930606', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q930606 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Hungary
Which administrative territory is Győr-Pér International Airport located in
Hungary
action filter_type
action find
entity Győr-Pér International Airport
relation country
type designation for an administrative territorial entity
['Győr-Pér International Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Győr-Pér_International_Airport property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q28 Q1639161
P47
Q1048835
USER
Is Tosos adjacent to that administrative territory ?
(Q28,P47,Q1639161)
action is_in
entity Q1639161
action find
entity Q28
relation P47
['Q28', 'P47', 'Q1639161']
ASK WHERE { resource:Q28 property:P47 resource:Q1639161 }
Hungary Tosos
action is_in
entity Tosos
action find
entity Hungary
relation shares border with
['Hungary', 'shares border with', 'Tosos']
ASK WHERE { resource:Hungary property:shares_border_with resource:Tosos }
[]
political territorial entity
SYSTEM
NO
(Q28,P47,Q1639161)
action is_in
entity Q1639161
action find
entity Q28
relation P47
[ANSWER]
['Q28', 'P47', 'Q1639161']
ASK WHERE { resource:Q28 property:P47 resource:Q1639161 }
No
action is_in
entity Tosos
action find
entity Hungary
relation shares border with
['Hungary', 'shares border with', 'Tosos']
ASK WHERE { resource:Hungary property:shares_border_with resource:Tosos }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q17287
P417
Q1445650 Q502895 Q15617994
USER
How many administrative territories have less number of holidays and people as their patron saint than Bosio ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q17287
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Q17287 property:P417 ?u . { { ?u rdf:type ontology:Q1445650 } UNION { ?u rdf:type ontology:Q502895 } } } } . FILTER ( ?h < ?n ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?i WHERE { { ?i property:P417 ?z . ?i rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q502895 } UNION { ?i property:P417 ?z . ?i rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1445650 } } GROUP BY ?i } }
Bosio
action count
action less
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Bosio
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Bosio property:patron_saint ?u . { { ?u rdf:type ontology:holiday } UNION { ?u rdf:type ontology:common_name } } } } . FILTER ( ?h < ?n ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?i WHERE { { ?i property:patron_saint ?z . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:common_name } UNION { ?i property:patron_saint ?z . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:holiday } } GROUP BY ?i } }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
296
Q51179 Q265483 Q18339 Q268902 Q124005 Q43005 Q43000 Q39633 Q56075 Q42950 Q386898 Q490936 Q20203 Q9525 Q9520 Q18022 Q18348 Q283857 Q112226 Q18029 Q206966 Q155 Q42896 Q216492 Q490770 Q17268 Q54612 Q9065 Q54617 Q267241 Q42974 Q390108 Q51202 Q54751 Q58890 Q51370 Q42110 Q224813 Q252343 Q103999 Q52624 Q50134 Q478277 Q17821 Q188499 Q54585 Q95069 Q19277 Q186538 Q294805 Q18075 Q283697 Q39263 Q100404 Q9569 Q20387 Q34519 Q42777 Q198320 Q34694 Q9105 Q39835 Q46357 Q111415 Q56048 Q490412 Q39910 Q22170 Q58719 Q490907 Q265588 Q244048 Q94779 Q53946 Q10234 Q10231 Q10339 Q53492 Q40336 Q53881 Q295289 Q53883 Q42300 Q13649 Q25175 Q53288 Q17811 Q50165 Q265498 Q18088 Q1465 Q270578 Q53835 Q478925 Q285110 Q430988 Q35220 Q91160 Q111602 Q242710 Q216853 Q58461 Q20353 Q9435 Q20056 Q20435 Q51442 Q117471 Q36471 Q53304 Q17350 Q53909 Q271011 Q53903 Q18382 Q20128 Q23285 Q52026 Q72272 Q42343 Q326968 Q42266 Q42260 Q10200 Q24896 Q53876 Q207395 Q103768 Q20244 Q46746 Q42744 Q100094 Q298424 Q20405 Q83083 Q493482 Q39912 Q22182 Q42512 Q52191 Q340908 Q34386 Q72732 Q101648 Q391349 Q51274 Q52132 Q54705 Q91228 Q53355 Q9447 Q52102 Q53957 Q54673 Q54672 Q42963 Q124979 Q218027 Q53686 Q200925 Q18394 Q72712 Q23706 Q20530 Q42318 Q39862 Q54516 Q17804 Q53511 Q20431 Q54685 Q20184 Q283554 Q477618 Q46673 Q51358 Q81151 Q39227 Q48092 Q42557 Q53995 Q56085 Q53260 Q17796 Q18388 Q41077 Q55054 Q80655 Q52146 Q53508 Q40913 Q25187 Q25189 Q168551 Q22216 Q101251 Q9493 Q286671 Q390646 Q82755 Q23592 Q52038 Q23178 Q288273 Q54643 Q496978 Q46968 Q10211 Q16337 Q326780 Q100070 Q34579 Q20503 Q267032 Q382482 Q55017 Q51360 Q43037 Q53212 Q185748 Q51460 Q20170 Q102781 Q52179 Q58549 Q51926 Q23232 Q42629 Q54636 Q496936 Q105325 Q46870 Q91243 Q51812 Q72708 Q270613 Q19937 Q42249 Q42367 Q54699 Q54591 Q20191 Q46833 Q42391 Q386350 Q17378 Q42565 Q47046 Q19944 Q13619 Q341096 Q382223 Q53397 Q42403 Q56091 Q56090 Q53159 Q53152 Q39070 Q54035 Q80851 Q54034 Q103297 Q43040 Q40964 Q112019 Q39933 Q224176 Q54723 Q477800 Q19915 Q46282 Q13320 Q53732 Q34791 Q20389 Q59269 Q59265 Q20585 Q42208 Q53824 Q9028 Q34638 Q40094 Q34703 Q23648 Q9187 Q111147 Q488240 Q49603 Q52953 Q20299 Q39849 Q50079 Q9428 Q9336
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q17287
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Q17287 property:P417 ?u . { { ?u rdf:type ontology:Q1445650 } UNION { ?u rdf:type ontology:Q502895 } } } } . FILTER ( ?h < ?n ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?i WHERE { { ?i property:P417 ?z . ?i rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q502895 } UNION { ?i property:P417 ?z . ?i rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1445650 } } GROUP BY ?i } }
Altino, Abruzzo Campomorone Aisone Diano Castello Falconara Marittima Sesto San Giovanni Lomagna Cairate Monsampolo del Tronto San Martino in Strada Nughedu Santa Vittoria Belmonte Mezzagno Montemale di Cuneo Osasio Orio Canavese Bioglio Bagnasco Decimoputzu Vobarno Callabiana Gabicce Mare Brazil Albairate Borgo a Mozzano San Giuseppe Jato Belforte Monferrato Gerace Borgomasino Laganadi Favale di Malvaro Cesano Boscone Anela Castiglione Messer Marino Zaccanopoli Sant'Angelo d'Alife Manoppello Bellinzago Lombardo Lampedusa e Linosa Eppan an der Weinstraße Chiari Noepoli Rocca di Botte Castiglione di Sicilia Mombaldone Castel del Piano Calanna Antegnate Cerignola Arzachena Gadoni Graglia Burcei Sernio Comun Nuovo Pianezza Poggio a Caiano Maserà di Padova Abbiategrasso Ziano di Fiemme Fiesso Umbertiano Buriasco Bianzone Breganze Polpenazze del Garda Castorano Priolo Gargallo Azzio Cavaglio d'Agogna Mondragone Scillato Crocefieschi Argegno Castel San Pietro Terme Rende Rocca Canavese Rivoli Venaria Reale Andali Gravellona Lomellina Fiumefreddo Bruzio Noragugume Frascineto Comazzo Nuoro Postua Mortegliano Frinco Trasacco Ceranesi Mottalciata Feltre Calizzano Belmonte Calabro Trecastagni Seulo Alessandria della Rocca Montjovet Cetona Rezzato Guidonia Montecelio Camaiore Camigliano Piobesi d'Alba Lugnacco Frabosa Soprana Sale delle Langhe Colledara Trevi nel Lazio Pompei Pasian di Prato Cremolino Mangone Osiglia Malito Bra Magliano Alpi Cannero Riviera Montemesola Monte di Procida Guidizzolo Tenno, Trentino Cervignano d'Adda Montevecchia Porte Borgo d'Ale Domanico Montecopiolo Capriano del Colle Murello Susegana Spino d'Adda San Felice sul Panaro Pergine Valsugana Roascio Monte San Giusto Librizzi Usmate Velate Colazza Vizzolo Predabissi Sannicola Luogosanto Trebaseleghe Vico Equense Telgate Santa Maria Coghinas Roccamontepiano Collepasso Drapia Monteriggioni San Giorgio di Nogaro Lusigliè Subbiano San Cosmo Albanese Sinopoli Siderno Senna Lodigiana Serra San Quirico Zoagli San Floro Lona-Lases Canale Torre Annunziata Trasquera Verduno Terranova dei Passerini Menarola San Mauro Marchesato Cortiglione Conflenti Rossana Terranova Sappo Minulio Monasterolo Casotto Armungia Resuttano Spresiano Civitella Casanova Ogliastro Cilento Ronco Briantino Cologna Veneta Pandino Saracena Palmiano Flaibano Cisterna d'Asti Brossasco Lavena Ponte Tresa Mirabella Eclano Bellizzi Guagnano Cerva Caiolo Rimella Riva Valdobbia Caselle Landi Dormelletto Montello, Lombardy Monteu da Po Santadi Cargeghe Londa, Tuscany Gurro Statte Bisceglie Serrenti Roghudi Roccapalumba Noale Quagliuzzo Novi Ligure Strigno Montefiorino Arre Sommariva del Bosco Santo Stefano d'Aveto Aidomaggiore Casalbore Corvara Annone di Brianza Aiello del Friuli Sant'Elia a Pianisi Pietracamela Martiniana Po Gragnano Trebbiense Porto Cesareo Castel Campagnano Faeto Bannio Anzino Parabiago Platì Sciara Nuvolento Bardolino Monteroni d'Arbia Alberobello Terzigno Celle Ligure Cerretto Langhe Mulazzano Valera Fratta Brognaturo Caraffa del Bianco Monforte d'Alba Albettone Airuno Masullas Malvicino Oggiono Silea Ceva Cosenza Trinità d'Agultu e Vignola Romana, Sardinia Villa Vicentina Acquanegra Cremonese Venarotta Spinetoli Cavasso Nuovo Azzano Decimo Andalo Valtellino Verbicaro Celle di Bulgheria Vaccarizzo Albanese Vicopisano Secugnago Rogolo Sirmione Cadrezzate Longone Sabino Nardodipace Vallelunga Pratameno Castellino Tanaro Castel d'Azzano Savona Tiriolo Aymavilles Montemurlo Montelparo Montefalcone Appennino Villanova Mondovì Malagnino Alessandria del Carretto Balme Arquà Petrarca Morbegno Torreglia Montecrestese Carmagnola Carpineti Lentini Ponte Buggianese Alfonsine Paroldo Robbio Celano Locana Druento
296
action count
action less
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Bosio
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Bosio property:patron_saint ?u . { { ?u rdf:type ontology:holiday } UNION { ?u rdf:type ontology:common_name } } } } . FILTER ( ?h < ?n ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?i WHERE { { ?i property:patron_saint ?z . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:common_name } UNION { ?i property:patron_saint ?z . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:holiday } } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q55901
P417
Q1445650 Q502895 Q15617994
USER
And also tell me about Dugenta?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q55901
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?t WHERE { { ?t property:P417 ?y . ?t rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1445650 . ?t property:P417 ?y } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { { ?g rdf:type ontology:Q1445650 } UNION { ?g rdf:type ontology:Q502895 } } . resource:Q55901 property:P417 ?g } } . FILTER ( ?f < ?n ) }
Dugenta
action count
action less
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Dugenta
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?t WHERE { { ?t property:patron_saint ?y . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:common_name } UNION { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:holiday . ?t property:patron_saint ?y } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { { ?g rdf:type ontology:holiday } UNION { ?g rdf:type ontology:common_name } } . resource:Dugenta property:patron_saint ?g } } . FILTER ( ?f < ?n ) }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
296
Q51179 Q265483 Q18339 Q268902 Q124005 Q43005 Q43000 Q39633 Q56075 Q42950 Q386898 Q490936 Q20203 Q9525 Q9520 Q18022 Q18348 Q283857 Q112226 Q18029 Q206966 Q155 Q42896 Q216492 Q490770 Q17268 Q54612 Q9065 Q54617 Q267241 Q42974 Q390108 Q51202 Q54751 Q58890 Q51370 Q42110 Q224813 Q252343 Q103999 Q52624 Q50134 Q478277 Q17821 Q188499 Q54585 Q95069 Q19277 Q186538 Q294805 Q18075 Q283697 Q39263 Q100404 Q9569 Q20387 Q34519 Q42777 Q198320 Q34694 Q9105 Q39835 Q46357 Q111415 Q56048 Q490412 Q39910 Q22170 Q58719 Q490907 Q265588 Q244048 Q94779 Q53946 Q10234 Q10231 Q10339 Q53492 Q40336 Q53881 Q295289 Q53883 Q42300 Q13649 Q25175 Q53288 Q17811 Q50165 Q265498 Q18088 Q1465 Q270578 Q53835 Q478925 Q285110 Q430988 Q35220 Q91160 Q111602 Q242710 Q216853 Q58461 Q20353 Q9435 Q20056 Q20435 Q51442 Q117471 Q36471 Q53304 Q17350 Q53909 Q271011 Q53903 Q18382 Q20128 Q23285 Q52026 Q72272 Q42343 Q326968 Q42266 Q42260 Q10200 Q24896 Q53876 Q207395 Q103768 Q20244 Q46746 Q42744 Q100094 Q298424 Q20405 Q83083 Q493482 Q39912 Q22182 Q42512 Q52191 Q340908 Q34386 Q72732 Q101648 Q391349 Q51274 Q52132 Q54705 Q91228 Q53355 Q9447 Q52102 Q53957 Q54673 Q54672 Q42963 Q124979 Q218027 Q53686 Q200925 Q18394 Q72712 Q23706 Q20530 Q42318 Q39862 Q54516 Q17804 Q53511 Q20431 Q54685 Q20184 Q283554 Q477618 Q46673 Q51358 Q81151 Q39227 Q48092 Q42557 Q53995 Q56085 Q53260 Q17796 Q18388 Q41077 Q55054 Q80655 Q52146 Q53508 Q40913 Q25187 Q25189 Q168551 Q22216 Q101251 Q9493 Q286671 Q390646 Q82755 Q23592 Q52038 Q23178 Q288273 Q54643 Q496978 Q46968 Q10211 Q16337 Q326780 Q100070 Q34579 Q20503 Q267032 Q382482 Q55017 Q51360 Q43037 Q53212 Q185748 Q51460 Q20170 Q102781 Q52179 Q58549 Q51926 Q23232 Q42629 Q54636 Q496936 Q105325 Q46870 Q91243 Q51812 Q72708 Q270613 Q19937 Q42249 Q42367 Q54699 Q54591 Q20191 Q46833 Q42391 Q386350 Q17378 Q42565 Q47046 Q19944 Q13619 Q341096 Q382223 Q53397 Q42403 Q56091 Q56090 Q53159 Q53152 Q39070 Q54035 Q80851 Q54034 Q103297 Q43040 Q40964 Q112019 Q39933 Q224176 Q54723 Q477800 Q19915 Q46282 Q13320 Q53732 Q34791 Q20389 Q59269 Q59265 Q20585 Q42208 Q53824 Q9028 Q34638 Q40094 Q34703 Q23648 Q9187 Q111147 Q488240 Q49603 Q52953 Q20299 Q39849 Q50079 Q9428 Q9336
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q55901
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?t WHERE { { ?t property:P417 ?y . ?t rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1445650 . ?t property:P417 ?y } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { { ?g rdf:type ontology:Q1445650 } UNION { ?g rdf:type ontology:Q502895 } } . resource:Q55901 property:P417 ?g } } . FILTER ( ?f < ?n ) }
Altino, Abruzzo Campomorone Aisone Diano Castello Falconara Marittima Sesto San Giovanni Lomagna Cairate Monsampolo del Tronto San Martino in Strada Nughedu Santa Vittoria Belmonte Mezzagno Montemale di Cuneo Osasio Orio Canavese Bioglio Bagnasco Decimoputzu Vobarno Callabiana Gabicce Mare Brazil Albairate Borgo a Mozzano San Giuseppe Jato Belforte Monferrato Gerace Borgomasino Laganadi Favale di Malvaro Cesano Boscone Anela Castiglione Messer Marino Zaccanopoli Sant'Angelo d'Alife Manoppello Bellinzago Lombardo Lampedusa e Linosa Eppan an der Weinstraße Chiari Noepoli Rocca di Botte Castiglione di Sicilia Mombaldone Castel del Piano Calanna Antegnate Cerignola Arzachena Gadoni Graglia Burcei Sernio Comun Nuovo Pianezza Poggio a Caiano Maserà di Padova Abbiategrasso Ziano di Fiemme Fiesso Umbertiano Buriasco Bianzone Breganze Polpenazze del Garda Castorano Priolo Gargallo Azzio Cavaglio d'Agogna Mondragone Scillato Crocefieschi Argegno Castel San Pietro Terme Rende Rocca Canavese Rivoli Venaria Reale Andali Gravellona Lomellina Fiumefreddo Bruzio Noragugume Frascineto Comazzo Nuoro Postua Mortegliano Frinco Trasacco Ceranesi Mottalciata Feltre Calizzano Belmonte Calabro Trecastagni Seulo Alessandria della Rocca Montjovet Cetona Rezzato Guidonia Montecelio Camaiore Camigliano Piobesi d'Alba Lugnacco Frabosa Soprana Sale delle Langhe Colledara Trevi nel Lazio Pompei Pasian di Prato Cremolino Mangone Osiglia Malito Bra Magliano Alpi Cannero Riviera Montemesola Monte di Procida Guidizzolo Tenno, Trentino Cervignano d'Adda Montevecchia Porte Borgo d'Ale Domanico Montecopiolo Capriano del Colle Murello Susegana Spino d'Adda San Felice sul Panaro Pergine Valsugana Roascio Monte San Giusto Librizzi Usmate Velate Colazza Vizzolo Predabissi Sannicola Luogosanto Trebaseleghe Vico Equense Telgate Santa Maria Coghinas Roccamontepiano Collepasso Drapia Monteriggioni San Giorgio di Nogaro Lusigliè Subbiano San Cosmo Albanese Sinopoli Siderno Senna Lodigiana Serra San Quirico Zoagli San Floro Lona-Lases Canale Torre Annunziata Trasquera Verduno Terranova dei Passerini Menarola San Mauro Marchesato Cortiglione Conflenti Rossana Terranova Sappo Minulio Monasterolo Casotto Armungia Resuttano Spresiano Civitella Casanova Ogliastro Cilento Ronco Briantino Cologna Veneta Pandino Saracena Palmiano Flaibano Cisterna d'Asti Brossasco Lavena Ponte Tresa Mirabella Eclano Bellizzi Guagnano Cerva Caiolo Rimella Riva Valdobbia Caselle Landi Dormelletto Montello, Lombardy Monteu da Po Santadi Cargeghe Londa, Tuscany Gurro Statte Bisceglie Serrenti Roghudi Roccapalumba Noale Quagliuzzo Novi Ligure Strigno Montefiorino Arre Sommariva del Bosco Santo Stefano d'Aveto Aidomaggiore Casalbore Corvara Annone di Brianza Aiello del Friuli Sant'Elia a Pianisi Pietracamela Martiniana Po Gragnano Trebbiense Porto Cesareo Castel Campagnano Faeto Bannio Anzino Parabiago Platì Sciara Nuvolento Bardolino Monteroni d'Arbia Alberobello Terzigno Celle Ligure Cerretto Langhe Mulazzano Valera Fratta Brognaturo Caraffa del Bianco Monforte d'Alba Albettone Airuno Masullas Malvicino Oggiono Silea Ceva Cosenza Trinità d'Agultu e Vignola Romana, Sardinia Villa Vicentina Acquanegra Cremonese Venarotta Spinetoli Cavasso Nuovo Azzano Decimo Andalo Valtellino Verbicaro Celle di Bulgheria Vaccarizzo Albanese Vicopisano Secugnago Rogolo Sirmione Cadrezzate Longone Sabino Nardodipace Vallelunga Pratameno Castellino Tanaro Castel d'Azzano Savona Tiriolo Aymavilles Montemurlo Montelparo Montefalcone Appennino Villanova Mondovì Malagnino Alessandria del Carretto Balme Arquà Petrarca Morbegno Torreglia Montecrestese Carmagnola Carpineti Lentini Ponte Buggianese Alfonsine Paroldo Robbio Celano Locana Druento
296
action count
action less
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Dugenta
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?t WHERE { { ?t property:patron_saint ?y . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:common_name } UNION { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:holiday . ?t property:patron_saint ?y } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { { ?g rdf:type ontology:holiday } UNION { ?g rdf:type ontology:common_name } } . resource:Dugenta property:patron_saint ?g } } . FILTER ( ?f < ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q134494
P740
Q43229
USER
What was formed at Győr ?
(c(Q43229),P740,Q134494)
action filter_type
action find_reverse
entity Q134494
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q134494']
SELECT DISTINCT ?u WHERE { ?u property:P740 resource:Q134494 . ?u rdf:type ontology:Q43229 }
Győr
action filter_type
action find_reverse
entity Győr
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Győr']
SELECT DISTINCT ?u WHERE { ?u property:location_of_formation resource:Győr . ?u rdf:type ontology:organization }
[]
organization
Q1183666
SYSTEM
Rába
Q1183666
(c(Q43229),P740,Q134494)
action filter_type
action find_reverse
entity Q134494
relation P740
type Q43229
[ANSWER] was formed at Győr
[{'concept': 'Q43229'}, 'P740', 'Q134494']
SELECT DISTINCT ?u WHERE { ?u property:P740 resource:Q134494 . ?u rdf:type ontology:Q43229 }
Rába
Rába was formed at Győr
Rába
action filter_type
action find_reverse
entity Győr
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Győr']
SELECT DISTINCT ?u WHERE { ?u property:location_of_formation resource:Győr . ?u rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q134494
P190
Q1048835
USER
Which political territory is twin city of that administrative territory ?
(Q1183666,P190,c(Q1048835))
action filter_type
action find
entity Q134494
relation P190
type Q1048835
['Q1183666', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q134494 property:P190 ?u . ?u rdf:type ontology:Q1048835 }
Győr
action filter_type
action find
entity Győr
relation sister city
type political territorial entity
['Rába', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Győr property:sister_city ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q11746
SYSTEM
Wuhan
Q11746
(Q1183666,P190,c(Q1048835))
action filter_type
action find
entity Q134494
relation P190
type Q1048835
[ANSWER] is twin city of that administrative territory
['Q1183666', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q134494 property:P190 ?u . ?u rdf:type ontology:Q1048835 }
Wuhan
Wuhan is twin city of that administrative territory
Wuhan
action filter_type
action find
entity Győr
relation sister city
type political territorial entity
['Rába', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Győr property:sister_city ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11746
P276
Q1190554
USER
What is located at that political territory ?
(c(Q1190554),P276,Q11746)
action filter_type
action find_reverse
entity Q11746
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q11746']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1190554 . ?s property:P276 resource:Q11746 }
Wuhan
action filter_type
action find_reverse
entity Wuhan
relation location
type event
[{'concept': 'event'}, 'location', 'Wuhan']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:event . ?s property:location resource:Wuhan }
[]
event
Q2038907
SYSTEM
Battle of Wuhan
Q2038907
(c(Q1190554),P276,Q11746)
action filter_type
action find_reverse
entity Q11746
relation P276
type Q1190554
[ANSWER] is located at that political territory
[{'concept': 'Q1190554'}, 'P276', 'Q11746']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1190554 . ?s property:P276 resource:Q11746 }
Battle of Wuhan
Battle of Wuhan is located at that political territory
Battle of Wuhan
action filter_type
action find_reverse
entity Wuhan
relation location
type event
[{'concept': 'event'}, 'location', 'Wuhan']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:event . ?s property:location resource:Wuhan }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2038907 Q4347618
P17
Q15617994
USER
Is that event a part of Pashkovo ?
(Q2038907,P17,Q4347618)
action is_in
entity Q4347618
action find
entity Q2038907
relation P17
['Q2038907', 'P17', 'Q4347618']
ASK WHERE { resource:Q2038907 property:P17 resource:Q4347618 }
Battle of Wuhan Pashkovo
action is_in
entity Pashkovo
action find
entity Battle of Wuhan
relation country
['Battle of Wuhan', 'country', 'Pashkovo']
ASK WHERE { resource:Battle_of_Wuhan property:country resource:Pashkovo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2038907,P17,Q4347618)
action is_in
entity Q4347618
action find
entity Q2038907
relation P17
[ANSWER]
['Q2038907', 'P17', 'Q4347618']
ASK WHERE { resource:Q2038907 property:P17 resource:Q4347618 }
No
action is_in
entity Pashkovo
action find
entity Battle of Wuhan
relation country
['Battle of Wuhan', 'country', 'Pashkovo']
ASK WHERE { resource:Battle_of_Wuhan property:country resource:Pashkovo }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q28 Q1428
P463
Q43229
USER
How many organizations had Hungary and Georgia as their member ?
(Q28,P463,c(Q43229)) (Q1428,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q28
relation P463
type Q43229
action filter_type
action find
entity Q1428
relation P463
type Q43229
['Q28', 'P463', {'concept': 'Q43229'}] ['Q1428', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Q28 property:P463 ?h . ?h rdf:type ontology:Q43229 . resource:Q1428 property:P463 ?h . ?h rdf:type ontology:Q43229 }
Hungary Georgia
action count
action intersection
action filter_type
action find
entity Hungary
relation member of
type organization
action filter_type
action find
entity Georgia
relation member of
type organization
['Hungary', 'member of', {'concept': 'organization'}] ['Georgia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Hungary property:member_of ?h . ?h rdf:type ontology:organization . resource:Georgia property:member_of ?h . ?h rdf:type ontology:organization }
[]
organization
SYSTEM
4
Q191384 Q899770 Q656801 Q827525
(Q28,P463,c(Q43229)) (Q1428,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q28
relation P463
type Q43229
action filter_type
action find
entity Q1428
relation P463
type Q43229
[ANSWER]
['Q28', 'P463', {'concept': 'Q43229'}] ['Q1428', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Q28 property:P463 ?h . ?h rdf:type ontology:Q43229 . resource:Q1428 property:P463 ?h . ?h rdf:type ontology:Q43229 }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation International Development Association
4
action count
action intersection
action filter_type
action find
entity Hungary
relation member of
type organization
action filter_type
action find
entity Georgia
relation member of
type organization
['Hungary', 'member of', {'concept': 'organization'}] ['Georgia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Hungary property:member_of ?h . ?h rdf:type ontology:organization . resource:Georgia property:member_of ?h . ?h rdf:type ontology:organization }
[]