Simple Question (Direct)
Simple Question
Q1058130
P20
Q56061
USER
Where did Gianfranco Miglio die ?
(Q1058130,P20,c(Q56061))
action filter_type
action find
entity Q1058130
relation P20
type Q56061
['Q1058130', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1058130 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Gianfranco Miglio
action filter_type
action find
entity Gianfranco Miglio
relation place of death
type administrative territorial entity
['Gianfranco Miglio', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Gianfranco_Miglio property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1308
SYSTEM
Como
Q1308
(Q1058130,P20,c(Q56061))
action filter_type
action find
entity Q1058130
relation P20
type Q56061
Gianfranco Miglio died in [ANSWER]
['Q1058130', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1058130 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Como
Gianfranco Miglio died in Como
Como
action filter_type
action find
entity Gianfranco Miglio
relation place of death
type administrative territorial entity
['Gianfranco Miglio', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Gianfranco_Miglio property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1308
P17
Q15617994
USER
Which administrative territory does that administrative territory belong to ?
(Q1308,P17,c(Q15617994))
action filter_type
action find
entity Q1308
relation P17
type Q15617994
['Q1308', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1308 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Como
action filter_type
action find
entity Como
relation country
type designation for an administrative territorial entity
['Como', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Como property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q1308,P17,c(Q15617994))
action filter_type
action find
entity Q1308
relation P17
type Q15617994
That administrative territory belongs to [ANSWER]
['Q1308', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1308 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Italy
That administrative territory belongs to Italy
Italy
action filter_type
action find
entity Como
relation country
type designation for an administrative territorial entity
['Como', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Como property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q228
P122
Q12737077 Q22676587 Q15617994
USER
Which administrative territories have less number of occupations and monarchic systems as the type of government than Andorra ?
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q228
relation P122
type Q12737077
type Q22676587
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Q228 property:P122 ?n . { { ?n rdf:type ontology:Q12737077 } UNION { ?n rdf:type ontology:Q22676587 } } } } . FILTER ( ?y < ?g ) . { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?y ) WHERE { { ?i rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q12737077 . ?i property:P122 ?f } UNION { ?i property:P122 ?f . ?i rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q22676587 } } GROUP BY ?i } }
Andorra
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Andorra
relation basic form of government
type occupation
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Andorra property:basic_form_of_government ?n . { { ?n rdf:type ontology:occupation } UNION { ?n rdf:type ontology:monarchic_system } } } } . FILTER ( ?y < ?g ) . { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?y ) WHERE { { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:occupation . ?i property:basic_form_of_government ?f } UNION { ?i property:basic_form_of_government ?f . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:monarchic_system } } GROUP BY ?i } }
[]
occupation monarchic system designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q154547 Q801 Q805 Q419 Q668 Q414 Q142 Q165116 Q145 Q265 Q1130767 Q711 Q717 Q837 Q208500 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q794 Q889 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q32 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q423 Q953 Q29999 Q153091 Q280312 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q347 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q199688 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q228
relation P122
type Q12737077
type Q22676587
[ANSWERS] have less number of occupations and monarchic systems as the type of government than Andorra
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Q228 property:P122 ?n . { { ?n rdf:type ontology:Q12737077 } UNION { ?n rdf:type ontology:Q22676587 } } } } . FILTER ( ?y < ?g ) . { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?y ) WHERE { { ?i rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q12737077 . ?i property:P122 ?f } UNION { ?i property:P122 ?f . ?i rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q22676587 } } GROUP BY ?i } }
Federated States of Micronesia Panama duchy Israel Yemen Peru India Argentina France grand duchy United Kingdom Uzbekistan Bear Creek Village Mongolia Venezuela Nepal principality Armenia South Africa Portugal Russia Turkey Brazil Iraq Iran Afghanistan South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Luxembourg Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy North Korea Zambia Kingdom of the Netherlands Duchy of Prussia Principality of Lüneburg Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Liechtenstein Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay Almohad Tunisia Nicaragua Cape Verde Lesotho Sudan
Italy, Brazil and United States of America have less number of occupations and monarchic systems as the type of government than Andorra
Italy Brazil United States of America
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Andorra
relation basic form of government
type occupation
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Andorra property:basic_form_of_government ?n . { { ?n rdf:type ontology:occupation } UNION { ?n rdf:type ontology:monarchic_system } } } } . FILTER ( ?y < ?g ) . { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?y ) WHERE { { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:occupation . ?i property:basic_form_of_government ?f } UNION { ?i property:basic_form_of_government ?f . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:monarchic_system } } GROUP BY ?i } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q15324 Q15617994
USER
How many administrative territories are situated in the neighbourhood of atmost 4 waterways or bodies of water ?
(c(Q15617994),P206,c(Q1267889)|c(Q15324))
action count
action atmost
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q15324
value 4
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) ?a WHERE { { ?a property:P206 ?h . ?a rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1267889 } UNION { ?a property:P206 ?h . ?a rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15324 } } GROUP BY ?a } . FILTER ( ?e <= 4 ) }
action count
action atmost
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) ?a WHERE { { ?a property:located_next_to_body_of_water ?h . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:waterway } UNION { ?a property:located_next_to_body_of_water ?h . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:body_of_water } } GROUP BY ?a } . FILTER ( ?e <= 4 ) }
[]
waterway body of water designation for an administrative territorial entity
SYSTEM
134
Q21111 Q505785 Q104577 Q446425 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q55 Q801 Q487328 Q47585 Q1604782 Q241358 Q6237 Q2316529 Q525945 Q14859 Q508863 Q568926 Q1650693 Q1009384 Q657 Q214 Q622487 Q4628 Q503693 Q4391124 Q884 Q664950 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q216422 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q36 Q34 Q38 Q6685 Q3352704 Q252772 Q769680 Q104192 Q519663 Q2360428 Q255698 Q236 Q681329 Q1984541 Q560870 Q20 Q621469 Q28 Q29 Q3088406 Q690219 Q917406 Q511806 Q548982 Q3038 Q2043234 Q42265 Q225 Q224 Q222 Q14889 Q229 Q347 Q17 Q338094 Q3939 Q1577 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q516567 Q507258 Q213 Q547059 Q215 Q269010 Q262684 Q573230 Q1604772 Q3923 Q174307 Q522992 Q1009 Q1438 Q20267 Q522677 Q194136 Q257859 Q252320 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378 Q47612
(c(Q15617994),P206,c(Q1267889)|c(Q15324))
action count
action atmost
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q15324
value 4
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) ?a WHERE { { ?a property:P206 ?h . ?a rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1267889 } UNION { ?a property:P206 ?h . ?a rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15324 } } GROUP BY ?a } . FILTER ( ?e <= 4 ) }
Corn Islands Pförring Desenzano del Garda Altwarp Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Netherlands Israel Marktl Garda Ulul Schleiden Lecco Noordpolderzijl Pfofeld Ansbach Mindelstetten Maasholm Niamey III Weno Chad Slovakia Päwesin Faroe Islands Riedenburg Rakhlitsy South Korea Loddin Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Samsø Bellagio Fischen South Bay Shillingford Yepifan Poland Sweden Italy Dorfhain Oneop Eichstätt Bornholm Kleinmachnow Kösching Tijuana Municipality Abensberg Montenegro Dümmer Niamey II Owschlag Norway Wennigsen Hungary Spain Front de Seine Perlin Niamey V North Slope Borough Heidenheim Helgoland Almere Buiten Abbadia Lariana Bosnia and Herzegovina Croatia Albania Schwabach Cyprus Liechtenstein Japan Polsingen Dinslaken Neuwerk Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kappeln Kipfenberg Czech Republic Gnotzheim Slovenia Neustadt an der Donau Füssen Beilngries Moch Bayreuth Essing Braunlage Cameroon Campania Schwarz Nassenfels Riva del Garda Cham Pleinfeld Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna Domaso
134
action count
action atmost
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) ?a WHERE { { ?a property:located_next_to_body_of_water ?h . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:waterway } UNION { ?a property:located_next_to_body_of_water ?h . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:body_of_water } } GROUP BY ?a } . FILTER ( ?e <= 4 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1308
P19
Q502895
USER
How many people have place of birth as Como ?
(c(Q502895),P19,Q1308)
action count
action filter_type
action find_reverse
entity Q1308
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1308']
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:P19 resource:Q1308 . ?v rdf:type ontology:Q502895 }
Como
action count
action filter_type
action find_reverse
entity Como
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Como']
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:place_of_birth resource:Como . ?v rdf:type ontology:common_name }
[]
common name
SYSTEM
290
Q173289 Q3771379 Q3851035 Q3725883 Q1446029 Q15977583 Q3838187 Q3534139 Q3827808 Q3286900 Q4016297 Q21207588 Q3839374 Q3052320 Q3659153 Q1615033 Q3771097 Q2484564 Q504198 Q327950 Q3659525 Q22953883 Q461867 Q6095912 Q3225633 Q19408634 Q1333576 Q1236699 Q771436 Q3694338 Q16560547 Q1135246 Q1154126 Q2144468 Q21619583 Q3893854 Q3617191 Q3721491 Q2252583 Q3659555 Q15109735 Q16861419 Q3631307 Q2856997 Q3757123 Q20871358 Q3725505 Q3767942 Q1613393 Q3949491 Q2998382 Q3830695 Q16532380 Q16591030 Q3763598 Q1607368 Q1528248 Q7132210 Q3724297 Q1645370 Q3939970 Q17490296 Q23641581 Q17198441 Q3992797 Q3762812 Q3770962 Q17620337 Q3667470 Q1615165 Q3724480 Q2846402 Q1179618 Q663522 Q3852840 Q3960886 Q1056798 Q704842 Q488347 Q3694229 Q680 Q23690179 Q378608 Q1304905 Q87076 Q3972401 Q1540752 Q3846499 Q285390 Q16526702 Q1027708 Q6762394 Q3665364 Q3903299 Q3737838 Q3665378 Q3609219 Q1526272 Q3983893 Q3766403 Q3845081 Q3290161 Q2939256 Q1987236 Q1058130 Q16598534 Q690800 Q3762305 Q19402641 Q21154119 Q18113964 Q3623481 Q455498 Q3856720 Q1445134 Q3929220 Q2895688 Q18419019 Q3839420 Q1908842 Q3604378 Q23842935 Q16617618 Q289629 Q291835 Q6789652 Q640916 Q6789649 Q1640607 Q3893638 Q17266018 Q607066 Q16676317 Q23690182 Q3903642 Q6789678 Q845001 Q2658938 Q3608162 Q16167460 Q20668880 Q3701264 Q82778 Q1486104 Q101286 Q4002852 Q3264999 Q609342 Q3719629 Q2526860 Q182907 Q1984844 Q329264 Q24066907 Q19849894 Q2040915 Q23794860 Q3940277 Q16527734 Q168707 Q3769569 Q1908707 Q20056567 Q3766723 Q17045576 Q3266522 Q3638083 Q3851250 Q3297781 Q1081393 Q741862 Q3845945 Q18784995 Q3725657 Q16658030 Q3769755 Q3724012 Q1526121 Q604494 Q569655 Q3107231 Q3741844 Q3877215 Q353482 Q3756649 Q2905766 Q3964926 Q3779430 Q3290097 Q3903300 Q3769703 Q26971839 Q3852154 Q21030400 Q23309465 Q3903770 Q3719588 Q4755111 Q6757603 Q3839601 Q969138 Q3838545 Q162651 Q2163785 Q3610283 Q3903188 Q3610479 Q2303455 Q6377360 Q3742283 Q23090936 Q19357360 Q3763080 Q3775990 Q3619449 Q3894555 Q956239 Q2706967 Q1525418 Q3768071 Q3719557 Q27702629 Q19408862 Q16601256 Q15057403 Q496037 Q16559759 Q19819516 Q3850942 Q437543 Q15618153 Q16594655 Q15253517 Q2525097 Q15918575 Q18812212 Q3964430 Q16268201 Q3622679 Q16468985 Q543655 Q4762962 Q767295 Q3852605 Q6698995 Q3845696 Q23309456 Q3894392 Q672068 Q3472032 Q3763038 Q542560 Q3960328 Q3734381 Q1465283 Q3762110 Q3839136 Q1675646 Q436811 Q6761535 Q3844749 Q3605693 Q3659809 Q3933037 Q3618971 Q3765478 Q3756547 Q2905631 Q16739814 Q3848738 Q1466646 Q3929658 Q3723145 Q382053 Q16621857 Q1870341 Q3875970 Q3758685 Q3894465 Q3837478 Q3756707 Q3638201 Q2297466 Q3764230 Q3851054 Q23690165 Q4002450 Q18814572 Q3293545 Q7001267
(c(Q502895),P19,Q1308)
action count
action filter_type
action find_reverse
entity Q1308
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q1308']
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:P19 resource:Q1308 . ?v rdf:type ontology:Q502895 }
Max Papis Giuseppe Sacchi Massimiliano Guidetti Enrico Mantero Francesco Ambrosoli Martina Rizzelli Luca Marelli Carolina Ferni Laura Magitteri Manuel Ortiz de Zárate Volpiano Volpi Giulio Cisari Luigi Borgomainerio Emilio Gabaglio Carlo Carcano Piero Ballerini Giuseppe Olgiati Gigi Meroni Aldo Buzzi Aurelio Bianchi-Giovini Carlo Linati Maria Carazzi Gianni Leoni Ivan Bernasconi Carla Prina Chiara Nespoli Francesco Pasquale Ricci Giuseppe Sinigaglia Liliana Ronchetti Corrado Venini Giulio Reiner Corrado Passera Umberto Colombo Renzo Rinaldo Bossi Alessandro Saporiti Paolo Carcano Angelo Rizzoli Elena Riccardi Mattia Notari Carlo Maesani Davide La Rosa Carlo Baravalle Awudu Abass Anton Gioseffo della Torre di Rezzonico Gaetano Scalini Carlo Ballerini Ennio Tarantola Giovanni Pietro Volpi Antonio Cetti Santo Monti Costanza Manfredini Leopoldo Gamberini Bianca Pellegrini Plinio Farina Gianni Ortelli Francesco Casartelli Giuseppe Cocconi Paolo Maino Emiliano Mascetti Luigi Tatti Rodolfo Jannaccone Mario Martinelli Renzo Pecco Thomas Pedrabissi Tommaso Malvito Giancarlo Buzzi Giuseppe Massina Alessia Piazza Chiara Braga Francesco Cigardi Emilio Ostinelli Andrea Roda Giuseppe Pontiggia Carla Porta Musa Mauro Guerra Silvio Grappasonni Cesare Ferrario Lucius Verginius Rufus Luigi Volta Corrado Fumagalli Alessandro Volta Renato Preziati Daniele Danesin Marco Ferradini Adolf von Liebenberg Stefano Bruni Davide Caremi Marco Somalvico Mario Benzing Angelo Luzzani Andrea Romanò Mariano Rosati Cesare Butti Piero Merlo Fabio Sguazzero Cesare Cattaneo Aldo Galli Giovanni Niccolò Perti Teodoro Mariani Giovanni Andrea De Magistris Manuela Dalla Valle Marco Romano Carlo Stefano Anastasio Ciceri Nicolò Carandini Gianfranco Miglio Rosalba Benzoni Francesco Conconi Giacomo Vaghi Federica Clerici Pietro Serrentino Joseph di Pasquale Arnaldo Cipolla Floraleda Sacchi Michele Moretti Mario Biondi Raffaella Masciadri Benci Lucio Leoni Luigi Canali Matilde Marcolli Achille Grandi Eligio Donadeo Pedro Scalabrini Gemma Bellincioni Anna Cappellini Matteo Bogani Gianni Clerici Matteo Bianchetti Antonio Spallino Paola Tagliabue Alberto Mori Massimo Mutarelli Isabella Micheli Francesco Cetti Pietro Antonio Corradi Matteo Lanzoni Claudio Corti Charles Bianconi Alberto Botta Simone Anzani Frediana Biasutti Damiano Della Torre Pliny the Elder Paola Brumana Innocent XI Ugo Napoleone Giuseppe Broggi Luca Princiotta Bartolomeo Bianco Edoardo Monti Vincenzo Camporini Gianluca Zambrotta Diego De Ascentis David Papineau Paolo Civati Donato Pirovano Francesca Rio Francesco Lieto Rolando Picchioni Antonio Ratti Pliny the Younger Giulio Cesare Gattoni Mathilde Krim Giacomo Maspero Giovanni Battista Peregrini Albrici Francesca Cola Luigi Porro Lambertenghi Benedetto Giovio Massimo Ferrario Massimo Vitali Giuseppe Maria Velzi Massimo Bontempelli Marco Berti Virginio Bertinelli Enrico Caporali Antonio Longhini Giulio Pinchetti Emanuele Vezzoli Giovanni Francesco Marchini Antonio Quadranti Anselmo Lurago Giovanni Invernizzi Federico Pagani Nino Ravasini Gabriele Oriali Gabriele Ostinelli Erika Fasana Sonya Caleffi Guido Quadri Marco Galli Piero Meriggi Giulio Maria Odescalchi Paolo Gaifami Matteo Mandorlini Sofia Busato Carlo Reina Pietro Catelli Edoardo Galimberti Andrea Grieco Marco Mallus Luigi Dottesio Lorenzo Boturini Benaduci Luciano Caramel Giorgio Perlasca Adelia Marra Alessandro Sallusti Piero Caldirola Alessio Butti Carlo Ferrario Katia Coppola Felipe Caronti Giuseppe Bernardoni Carlo Gastone Della Torre di Rezzonico Gianfranco Gatti Grazia Lissi Antonio Conelli Paolo Valera Stefano Casiraghi Paolo Sammarco Giorgio Bontempi Giovanni Rusconi Edoardo Clerici Giuseppe Terragni Giada Oliviero Secondo Talamazzini Alberto Angiolini Carlotta Clerici Giovanni Battista Barilli Giovanni Morini Massenzio Masia Paolo Giovio Giovannina Franchi Raul Merzario Santo Garovaglio Giambattista Nolli Felice Bernasconi Gian Pietro Porro Solona Ambrosoli Achille Bordoli Aristide Noseda Gianfranco Aliverti Benedetto Erba Odescalchi Angelo Sguazzero Jennifer Isacco bum Ludovico Moresi Marcello Tentorio Giovanni Piatti Paolo Porta Dario Sala Sandro Gorli Gianfranco Bianchi Laura Vernizzi Sigismondo de Magistris Eugenio Lamanna Stefano Botta Giacomo Gattuso Ludovico Peregrini Ivana Iozzia Fabio Casartelli Maria Roda Manlio Rho Adriano Auguadri Carlo Rovelli Renzo Modesti Antonello Piroso Giorgio Gandola Gabriele Boscetto Julieta Cantaluppi Ernesto Casnati Mario Lucini Giovanni Brenna Rainer Masera Elisa Meneghini Antonio Sant'Elia Vincenzo Reina Loris Tarabini Nicolas Giani Gasparo Molo Paolo Sesana Loterio Rusca Gabriele di Battista Benigno Bossi Lorenzo Di Silvestro Gilberto Gilioli Massimiliano Notari Amedeo Lissi Ubaldo De Ponti Gian Pietro Porro Mario Radice Rocco di Tommaso da Vicenza
290
action count
action filter_type
action find_reverse
entity Como
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Como']
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:place_of_birth resource:Como . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1308
P937
Q502895
USER
Who are an people who works at that administrative territory ?
action filter_type
action find_reverse
entity Q1308
relation P937
type Q502895
SELECT DISTINCT ?n WHERE { ?n property:P937 resource:Q1308 . ?n rdf:type ontology:Q502895 }
Como
action filter_type
action find_reverse
entity Como
relation work location
type common name
SELECT DISTINCT ?n WHERE { ?n property:work_location resource:Como . ?n rdf:type ontology:common_name }
[]
common name
Q15711273 Q15455792
SYSTEM
Giuseppe Rovelli, Achilles Bischoff
Q15711273 Q15455792
action filter_type
action find_reverse
entity Q1308
relation P937
type Q502895
An people works at that administrative territory are Giovanni [ANSWERS]
SELECT DISTINCT ?n WHERE { ?n property:P937 resource:Q1308 . ?n rdf:type ontology:Q502895 }
Giuseppe Rovelli Achilles Bischoff
An people works at that administrative territory are Giovanni Giuseppe Rovelli and Achilles Bischoff
Giuseppe Rovelli Achilles Bischoff
action filter_type
action find_reverse
entity Como
relation work location
type common name
SELECT DISTINCT ?n WHERE { ?n property:work_location resource:Como . ?n rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15455792
P138
Q34442
USER
Which road is the eponym of that person ?
(c(Q34442),P138,Q15455792)
action filter_type
action find_reverse
entity Q15455792
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q15455792']
SELECT DISTINCT ?e WHERE { ?e property:P138 resource:Q15455792 . ?e rdf:type ontology:Q34442 }
Achilles Bischoff
action filter_type
action find_reverse
entity Achilles Bischoff
relation named after
type road
[{'concept': 'road'}, 'named after', 'Achilles Bischoff']
SELECT DISTINCT ?e WHERE { ?e property:named_after resource:Achilles_Bischoff . ?e rdf:type ontology:road }
[]
road
Clarification for simple ques.
Q15711273
SYSTEM
Did you mean Giuseppe Rovelli ?
Q15711273 Q15455792
(c(Q34442),P138,Q15711273) (c(Q34442),P138,Q15455792)
[ANSWER]
[{'concept': 'Q34442'}, 'P138', 'Q15711273'] [{'concept': 'Q34442'}, 'P138', 'Q15455792']
SELECT DISTINCT ?e WHERE { ?e property:P138 resource:Q15455792 . ?e rdf:type ontology:Q34442 }
Giuseppe Rovelli Achilles Bischoff
Did you mean Giuseppe Rovelli ?
Giuseppe Rovelli
[{'concept': 'road'}, 'named after', 'Giuseppe Rovelli'] [{'concept': 'road'}, 'named after', 'Achilles Bischoff']
SELECT DISTINCT ?e WHERE { ?e property:named_after resource:Achilles_Bischoff . ?e rdf:type ontology:road }
[]
Simple Question (Coreferenced)
USER
No, I meant Achilles Bischoff. Could you tell me the answer for that?
(c(Q34442),P138,Q15455792)
Q15455792
[{'concept': 'Q34442'}, 'P138', 'Q15455792']
[{'concept': 'road'}, 'named after', 'Achilles Bischoff']
[]
Q27062387
SYSTEM
Achilles Bischoff-Strasse
Q27062387
(c(Q34442),P138,Q15455792)
action filter_type
action find_reverse
entity Q15455792
relation P138
type Q34442
[ANSWER] is the eponym of that person
[{'concept': 'Q34442'}, 'P138', 'Q15455792']
SELECT DISTINCT ?e WHERE { ?e property:P138 resource:Q15455792 . ?e rdf:type ontology:Q34442 }
Achilles Bischoff-Strasse
Achilles Bischoff-Strasse is the eponym of that person
Achilles Bischoff-Strasse
action filter_type
action find_reverse
entity Achilles Bischoff
relation named after
type road
[{'concept': 'road'}, 'named after', 'Achilles Bischoff']
SELECT DISTINCT ?e WHERE { ?e property:named_after resource:Achilles_Bischoff . ?e rdf:type ontology:road }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q219
P840
Q15617994 Q2342494 Q166142
USER
How many administrative territories are the narrative locations of more number of collectables or applications than Bulgaria ?
(c(Q2342494)|c(Q166142),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q219
relation P840
type Q2342494
type Q166142
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?t WHERE { { ?r property:P840 ?t . ?r rdf:type ontology:Q2342494 . ?t rdf:type ontology:Q15617994 } UNION { ?r property:P840 ?t . ?r rdf:type ontology:Q166142 . ?t rdf:type ontology:Q15617994 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:P840 resource:Q219 . { { ?l rdf:type ontology:Q2342494 } UNION { ?l rdf:type ontology:Q166142 } } } } . FILTER ( ?f > ?i ) }
Bulgaria
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Bulgaria
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?t WHERE { { ?r property:narrative_location ?t . ?r rdf:type ontology:collectable . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r property:narrative_location ?t . ?r rdf:type ontology:application . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:narrative_location resource:Bulgaria . { { ?l rdf:type ontology:collectable } UNION { ?l rdf:type ontology:application } } } } . FILTER ( ?f > ?i ) }
[]
designation for an administrative territorial entity collectable application
SYSTEM
44
Q805 Q20837 Q668 Q414 Q142 Q55 Q1948 Q145 Q148 Q712 Q399 Q1979 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q881 Q858 Q33 Q32 Q31 Q30 Q38 Q739 Q424 Q851 Q854 Q1045 Q29 Q2009 Q843 Q2007 Q227 Q96 Q17 Q298 Q750 Q212 Q79 Q817 Q869
(c(Q2342494)|c(Q166142),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q219
relation P840
type Q2342494
type Q166142
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?t WHERE { { ?r property:P840 ?t . ?r rdf:type ontology:Q2342494 . ?t rdf:type ontology:Q15617994 } UNION { ?r property:P840 ?t . ?r rdf:type ontology:Q166142 . ?t rdf:type ontology:Q15617994 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:P840 resource:Q219 . { { ?l rdf:type ontology:Q2342494 } UNION { ?l rdf:type ontology:Q166142 } } } } . FILTER ( ?f > ?i ) }
Yemen Fanø India Argentina France Netherlands Manitoba United Kingdom People's Republic of China Fiji Armenia Prince Edward Island Russia Turkey Greece Brazil Iraq Iran Afghanistan Vietnam Syria Finland Luxembourg Belgium United States of America Italy Colombia Cambodia Saudi Arabia Sri Lanka Somalia Spain Yukon Pakistan Northwest Territories Azerbaijan Mexico Japan Chile Bolivia Ukraine Egypt Kuwait Thailand
44
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Bulgaria
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?t WHERE { { ?r property:narrative_location ?t . ?r rdf:type ontology:collectable . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r property:narrative_location ?t . ?r rdf:type ontology:application . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:narrative_location resource:Bulgaria . { { ?l rdf:type ontology:collectable } UNION { ?l rdf:type ontology:application } } } } . FILTER ( ?f > ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q30
P840
Q15617994 Q2342494 Q166142
USER
And what about United States of America?
(c(Q2342494)|c(Q166142),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q30
relation P840
type Q2342494
type Q166142
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?h ) WHERE { { ?j rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2342494 . ?t property:P840 ?j } UNION { ?t property:P840 ?j . ?t rdf:type ontology:Q166142 . ?j rdf:type ontology:Q15617994 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P840 resource:Q30 . { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } } } . FILTER ( ?h > ?y ) }
United States of America
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity United States of America
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?h ) WHERE { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:collectable . ?t property:narrative_location ?j } UNION { ?t property:narrative_location ?j . ?t rdf:type ontology:application . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:narrative_location resource:United_States_of_America . { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:collectable ) ( ontology:application ) } } } } . FILTER ( ?h > ?y ) }
[]
designation for an administrative territorial entity collectable application
SYSTEM
11
Q668 Q142 Q148 Q159 Q41 Q155 Q881 Q33 Q38 Q96 Q17
(c(Q2342494)|c(Q166142),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q30
relation P840
type Q2342494
type Q166142
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?h ) WHERE { { ?j rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2342494 . ?t property:P840 ?j } UNION { ?t property:P840 ?j . ?t rdf:type ontology:Q166142 . ?j rdf:type ontology:Q15617994 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P840 resource:Q30 . { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } } } . FILTER ( ?h > ?y ) }
India France People's Republic of China Russia Greece Brazil Vietnam Finland Italy Mexico Japan
11
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity United States of America
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?h ) WHERE { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:collectable . ?t property:narrative_location ?j } UNION { ?t property:narrative_location ?j . ?t rdf:type ontology:application . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:narrative_location resource:United_States_of_America . { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:collectable ) ( ontology:application ) } } } } . FILTER ( ?h > ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15455792
P27
Q15617994
USER
Which administrative territory is Achilles Bischoff an inhabitant of ?
(Q15455792,P27,c(Q15617994))
action filter_type
action find
entity Q15455792
relation P27
type Q15617994
['Q15455792', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q15455792 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Achilles Bischoff
action filter_type
action find
entity Achilles Bischoff
relation country of citizenship
type designation for an administrative territorial entity
['Achilles Bischoff', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Achilles_Bischoff property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q15455792,P27,c(Q15617994))
action filter_type
action find
entity Q15455792
relation P27
type Q15617994
[ANSWER] is Achilles Bischoff an inhabitant of
['Q15455792', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q15455792 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Switzerland
Switzerland is Achilles Bischoff an inhabitant of
Switzerland
action filter_type
action find
entity Achilles Bischoff
relation country of citizenship
type designation for an administrative territorial entity
['Achilles Bischoff', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Achilles_Bischoff property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]