Simple Question (Direct)
Simple Question
Q16527412
P19
Q15617994
USER
Where was Antonio Cabiati born ?
(Q16527412,P19,c(Q15617994))
action filter_type
action find
entity Q16527412
relation P19
type Q15617994
['Q16527412', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q16527412 property:P19 ?s . ?s rdf:type ontology:Q15617994 }
Antonio Cabiati
action filter_type
action find
entity Antonio Cabiati
relation place of birth
type designation for an administrative territorial entity
['Antonio Cabiati', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Antonio_Cabiati property:place_of_birth ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q270761
SYSTEM
Laigueglia
Q270761
(Q16527412,P19,c(Q15617994))
action filter_type
action find
entity Q16527412
relation P19
type Q15617994
Antonio Cabiati was born in [ANSWER]
['Q16527412', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q16527412 property:P19 ?s . ?s rdf:type ontology:Q15617994 }
Laigueglia
Antonio Cabiati was born in Laigueglia
Laigueglia
action filter_type
action find
entity Antonio Cabiati
relation place of birth
type designation for an administrative territorial entity
['Antonio Cabiati', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Antonio_Cabiati property:place_of_birth ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q270761
P190
Q15617994
USER
Which administrative territory is the sister city of that one ?
(Q270761,P190,c(Q15617994))
action filter_type
action find
entity Q270761
relation P190
type Q15617994
['Q270761', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q270761 property:P190 ?d . ?d rdf:type ontology:Q15617994 }
Laigueglia
action filter_type
action find
entity Laigueglia
relation sister city
type designation for an administrative territorial entity
['Laigueglia', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Laigueglia property:sister_city ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q35188
SYSTEM
La Thuile, Aosta Valley
Q35188
(Q270761,P190,c(Q15617994))
action filter_type
action find
entity Q270761
relation P190
type Q15617994
[ANSWER] is the sister city of that one
['Q270761', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q270761 property:P190 ?d . ?d rdf:type ontology:Q15617994 }
La Thuile, Aosta Valley
La Thuile, Aosta Valley is the sister city of that one
La Thuile, Aosta Valley
action filter_type
action find
entity Laigueglia
relation sister city
type designation for an administrative territorial entity
['Laigueglia', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Laigueglia property:sister_city ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q35188
P47
Q15617994
USER
Which administrative territories share border with that one ?
(Q35188,P47,c(Q15617994))
action filter_type
action find
entity Q35188
relation P47
type Q15617994
['Q35188', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q35188 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
La Thuile, Aosta Valley
action filter_type
action find
entity La Thuile, Aosta Valley
relation shares border with
type designation for an administrative territorial entity
['La Thuile, Aosta Valley', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:La_Thuile,_Aosta_Valley property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34993 Q34759 Q34758
SYSTEM
Courmayeur, Arvier, Avise
Q34758 Q34759 Q35184 Q35295 Q35226 Q34993 Q35510
(Q35188,P47,c(Q15617994))
action filter_type
action find
entity Q35188
relation P47
type Q15617994
[ANSWERS] share border with that one
['Q35188', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q35188 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
Avise Arvier La Salle, Aosta Valley Pré-Saint-Didier Morgex Courmayeur Valgrisenche
Courmayeur, Arvier and Avise share border with that one
Courmayeur Arvier Avise
action filter_type
action find
entity La Thuile, Aosta Valley
relation shares border with
type designation for an administrative territorial entity
['La Thuile, Aosta Valley', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:La_Thuile,_Aosta_Valley property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q56061 Q2221906 Q15617994
USER
Which administrative territories are named after min number of administrative territories or geographic locations ?
(c(Q15617994),P138,c(Q56061)|c(Q2221906))
action argmin
action union
action find_tuple_counts
relation P138
type Q15617994
type Q56061
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?t ) { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?u ) WHERE { { ?n rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q56061 . ?n property:P138 ?k } UNION { ?n property:P138 ?k . ?k rdf:type ontology:Q2221906 . ?n rdf:type ontology:Q15617994 } } GROUP BY ?n } } . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:Q56061 ) ( ontology:Q2221906 ) } . ?m rdf:type ?r } GROUP BY ?g } . FILTER ( ?d = ?t ) }
action argmin
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?t ) { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?u ) WHERE { { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:administrative_territorial_entity . ?n property:named_after ?k } UNION { ?n property:named_after ?k . ?k rdf:type ontology:geographic_location . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } } . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:administrative_territorial_entity ) ( ontology:geographic_location ) } . ?m rdf:type ?r } GROUP BY ?g } . FILTER ( ?d = ?t ) }
[]
administrative territorial entity geographic location designation for an administrative territorial entity
Q155 Q230 Q159
SYSTEM
Brazil, Georgia, Russia
Q158876 Q968630 Q705 Q3216 Q707 Q1087137 Q709 Q1421544 Q12789 Q1027 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q33 Q685048 Q21671144 Q801 Q12538 Q1093 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q711 Q710 Q1979 Q625403 Q691368 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q3240 Q12772 Q3286 Q691890 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q1232680 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q979470 Q3259 Q10903 Q1142326 Q10957559 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q31 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q230 Q221 Q232 Q233 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q28 Q1366860 Q12788 Q12584 Q12580 Q1025 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q1029 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q1904 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q3120 Q894972 Q894971 Q14810 Q967 Q962 Q963 Q2921370 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q754 Q750 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q160307 Q12761 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q3514973 Q1090691 Q12765 Q1005 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q79 Q1234961 Q12553 Q3528124 Q15060143 Q810 Q773 Q46130 Q1393469 Q27 Q1011 Q1013 Q480103 Q4149 Q12549 Q3266 Q12626 Q8575586 Q12543 Q3105 Q12545 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q558796 Q12564
(c(Q15617994),P138,c(Q56061)|c(Q2221906))
action argmin
action union
action find_tuple_counts
relation P138
type Q15617994
type Q56061
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
[ANSWERS] are named after min number of administrative territories or geographic locations
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?t ) { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?u ) WHERE { { ?n rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q56061 . ?n property:P138 ?k } UNION { ?n property:P138 ?k . ?k rdf:type ontology:Q2221906 . ?n rdf:type ontology:Q15617994 } } GROUP BY ?n } } . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:Q56061 ) ( ontology:Q2221906 ) } . ?m rdf:type ?r } GROUP BY ?g } . FILTER ( ?d = ?t ) }
Reinickendorf Taro Zeeland Aveyron Flevoland Rockaway, New Jersey Marshall Islands Wettertal Var Mauritius Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Finland Simplon Mezhetchina Israel Haute-Garonne Limburg Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Mongolia Kiribati Prince Edward Island Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Bouches-du-Rhône Tarn Cher Corcyre Calvados Haute-Marne Liamone Ardennes Gehlsbach Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Ithaque Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Seine-et-Oise Cantal Finnentrop Seine Moldavia Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Belgium Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Georgia Republic of Macedonia Kazakhstan Malta Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Hungary Escaut Val-de-Marne Maine-et-Loire Lozère Mauritania Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Mozambique Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Jura Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Trinidad and Tobago Bolivia Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Fatimid caliphate Seine-Saint-Denis Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Tanaro Ter Deux-Sèvres Gambia Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Egypt Doire Indre Tibre Stepenitztal Jordan Overijssel Rhône Jemmapes Ireland Cape Verde Lesotho Amt Volmarstein Neustadt an der Weinstraße Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Vosges Hérault Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Obere Warnow Loir-et-Cher
Brazil, Georgia and Russia are named after min number of administrative territories or geographic locations
Brazil Georgia Russia
action argmin
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?t ) { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?u ) WHERE { { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:administrative_territorial_entity . ?n property:named_after ?k } UNION { ?n property:named_after ?k . ?k rdf:type ontology:geographic_location . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } } . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:administrative_territorial_entity ) ( ontology:geographic_location ) } . ?m rdf:type ?r } GROUP BY ?g } . FILTER ( ?d = ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q159 Q38
P495
Q838948
USER
How many works of art originate at Russia and Italy ?
(c(Q838948),P495,Q159) (c(Q838948),P495,Q38)
action count
action intersection
action filter_type
action find_reverse
entity Q159
relation P495
type Q838948
action filter_type
action find_reverse
entity Q38
relation P495
type Q838948
[{'concept': 'Q838948'}, 'P495', 'Q159'] [{'concept': 'Q838948'}, 'P495', 'Q38']
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P495 resource:Q159 . ?s rdf:type ontology:Q838948 . ?s property:P495 resource:Q38 . ?s rdf:type ontology:Q838948 }
Russia Italy
action count
action intersection
action filter_type
action find_reverse
entity Russia
relation country of origin
type work of art
action filter_type
action find_reverse
entity Italy
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Russia'] [{'concept': 'work of art'}, 'country of origin', 'Italy']
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:country_of_origin resource:Russia . ?s rdf:type ontology:work_of_art . ?s property:country_of_origin resource:Italy . ?s rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
12
Q7212768 Q2656737 Q188384 Q1057951 Q3032583 Q1169399 Q17512617 Q2994000 Q471628 Q2360648 Q1406280 Q4468095
(c(Q838948),P495,Q159) (c(Q838948),P495,Q38)
action count
action intersection
action filter_type
action find_reverse
entity Q159
relation P495
type Q838948
action filter_type
action find_reverse
entity Q38
relation P495
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P495', 'Q159'] [{'concept': 'Q838948'}, 'P495', 'Q38']
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P495 resource:Q159 . ?s rdf:type ontology:Q838948 . ?s property:P495 resource:Q38 . ?s rdf:type ontology:Q838948 }
Life and Extraordinary Adventures of Private Ivan Chonkin The Sun Orlando Persona non grata Dieci inverni Le Concert The Cut Countdown The Barber of Siberia Bear's Kiss Father and Son Dark Waters
12
action count
action intersection
action filter_type
action find_reverse
entity Russia
relation country of origin
type work of art
action filter_type
action find_reverse
entity Italy
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Russia'] [{'concept': 'work of art'}, 'country of origin', 'Italy']
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:country_of_origin resource:Russia . ?s rdf:type ontology:work_of_art . ?s property:country_of_origin resource:Italy . ?s rdf:type ontology:work_of_art }
[]