Simple Question (Direct)
Simple Question
Q3261313
P19
Q20667921
USER
Which french administrative division is the birthplace of Louis Alexis Étienne Bonvin ?
(Q3261313,P19,c(Q20667921))
action filter_type
action find
entity Q3261313
relation P19
type Q20667921
['Q3261313', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q3261313 property:P19 ?d . ?d rdf:type ontology:Q20667921 }
Louis Alexis Étienne Bonvin
action filter_type
action find
entity Louis Alexis Étienne Bonvin
relation place of birth
type type of french administrative division
['Louis Alexis Étienne Bonvin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Louis_Alexis_Étienne_Bonvin property:place_of_birth ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q193256
SYSTEM
Montluçon
Q193256
(Q3261313,P19,c(Q20667921))
action filter_type
action find
entity Q3261313
relation P19
type Q20667921
[ANSWER] is the birthplace of Louis Alexis Étienne Bonvin
['Q3261313', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q3261313 property:P19 ?d . ?d rdf:type ontology:Q20667921 }
Montluçon
Montluçon is the birthplace of Louis Alexis Étienne Bonvin
Montluçon
action filter_type
action find
entity Louis Alexis Étienne Bonvin
relation place of birth
type type of french administrative division
['Louis Alexis Étienne Bonvin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Louis_Alexis_Étienne_Bonvin property:place_of_birth ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q193256
P6
Q502895
USER
What people are that french administrative division the head of goverment of ?
(Q193256,P6,c(Q502895))
action filter_type
action find
entity Q193256
relation P6
type Q502895
['Q193256', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q193256 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Montluçon
action filter_type
action find
entity Montluçon
relation head of government
type common name
['Montluçon', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Montluçon property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
common name
Q3165114 Q3013972
SYSTEM
Jean-Claude Micouraud, Daniel Dugléry
Q3165114 Q3013972
(Q193256,P6,c(Q502895))
action filter_type
action find
entity Q193256
relation P6
type Q502895
[ANSWERS] that french administrative division the head of goverment of
['Q193256', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q193256 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Jean-Claude Micouraud Daniel Dugléry
Jean-Claude Micouraud and Daniel Dugléry that french administrative division the head of goverment of
Jean-Claude Micouraud Daniel Dugléry
action filter_type
action find
entity Montluçon
relation head of government
type common name
['Montluçon', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Montluçon property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q675950
P159
Q20667921 Q334453 Q1269299
USER
How many french administrative divisions are the HQ of lesser number of divisions or business organizations than Grans ?
(c(Q334453)|c(Q1269299),P159,c(Q20667921))
action count
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q334453
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q675950
relation P159
type Q334453
type Q1269299
[[{'concept': 'Q334453'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:P159 resource:Q675950 . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1269299 ) ( ontology:Q334453 ) } } } } . FILTER ( ?v < ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?o WHERE { ?q rdf:type ?h . VALUES ( ?h ) { ( ontology:Q334453 ) ( ontology:Q1269299 ) } } GROUP BY ?o } }
Grans
action count
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type division
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Grans
relation headquarters location
type division
type type of business entity
[[{'concept': 'division'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:headquarters_location resource:Grans . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:type_of_business_entity ) ( ontology:division ) } } } } . FILTER ( ?v < ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?o WHERE { ?q rdf:type ?h . VALUES ( ?h ) { ( ontology:division ) ( ontology:type_of_business_entity ) } } GROUP BY ?o } }
[]
type of french administrative division division type of business entity
SYSTEM
475
Q22438 Q205537 Q753708 Q184359 Q1047751 Q317433 Q1226504 Q192393 Q1416478 Q206961 Q1004486 Q182872 Q816117 Q632276 Q22660 Q207605 Q216844 Q214600 Q212793 Q404445 Q363100 Q372882 Q615159 Q838334 Q1727156 Q22810 Q46712 Q253939 Q1018637 Q259107 Q274683 Q271068 Q50189 Q256137 Q696996 Q45656 Q316452 Q675232 Q337636 Q194002 Q9733 Q219383 Q636993 Q126675 Q659327 Q71469 Q213555 Q201982 Q134674 Q211121 Q21948474 Q152027 Q269430 Q163108 Q1152867 Q21347 Q21346 Q194141 Q208794 Q194145 Q1342783 Q241575 Q960827 Q124126 Q578683 Q233733 Q429770 Q188750 Q383388 Q247627 Q1169872 Q816094 Q191415 Q635643 Q658928 Q668446 Q1111084 Q383369 Q202374 Q234735 Q43295 Q219045 Q47135 Q613323 Q491948 Q22697 Q238429 Q207156 Q819837 Q565982 Q369954 Q132671 Q477013 Q1469245 Q13947 Q1146338 Q819946 Q386778 Q694905 Q220592 Q175999 Q474768 Q735931 Q269166 Q274412 Q476687 Q235739 Q185066 Q236658 Q192426 Q163795 Q752979 Q184047 Q1066554 Q467132 Q457389 Q10235 Q107501 Q609134 Q117551 Q83432 Q205551 Q241064 Q171800 Q366383 Q1081604 Q1103338 Q279681 Q630193 Q324027 Q727297 Q200832 Q609047 Q213285 Q174234 Q203529 Q132404 Q273017 Q231554 Q208943 Q239908 Q863574 Q752150 Q1384871 Q637676 Q174247 Q207614 Q185721 Q208889 Q1106922 Q161884 Q651379 Q175081 Q242497 Q192481 Q240286 Q1008824 Q1602947 Q392169 Q244725 Q1323215 Q1615759 Q326520 Q760624 Q549536 Q730148 Q323727 Q478105 Q12193 Q828625 Q13917 Q579807 Q372218 Q174019 Q205592 Q243868 Q476895 Q191856 Q477174 Q208538 Q284762 Q235382 Q243915 Q193877 Q269952 Q1119799 Q225451 Q16121 Q22776 Q245297 Q211706 Q669021 Q134346 Q39984 Q165090 Q212959 Q1476 Q746946 Q272420 Q239091 Q285 Q265332 Q227795 Q269862 Q1067807 Q549750 Q460795 Q661392 Q239123 Q384516 Q183910 Q268062 Q454445 Q274249 Q46135 Q1428824 Q240189 Q93351 Q1171684 Q268362 Q1078810 Q1066090 Q1144900 Q264637 Q193819 Q167024 Q181946 Q291197 Q728517 Q532070 Q526378 Q242536 Q626342 Q1138493 Q1471382 Q160199 Q387447 Q237394 Q72248 Q841518 Q1069988 Q21298 Q193370 Q728033 Q132790 Q675537 Q192378 Q193920 Q71724 Q271604 Q658561 Q193929 Q21569 Q733833 Q818443 Q694800 Q194160 Q666278 Q188658 Q189715 Q30974 Q81621 Q182744 Q376986 Q213315 Q1087218 Q632445 Q212987 Q22727 Q863563 Q264416 Q21511 Q463951 Q238310 Q1421965 Q331087 Q868513 Q958857 Q777493 Q174251 Q46375 Q246199 Q191765 Q174257 Q1423628 Q238366 Q963292 Q44160 Q382855 Q166997 Q332416 Q637695 Q8848 Q368160 Q291094 Q211134 Q1166034 Q1110747 Q900479 Q763901 Q1066223 Q47383 Q1026879 Q34001 Q1467149 Q752053 Q272906 Q221968 Q59724 Q174002 Q271649 Q183557 Q258059 Q81997 Q240798 Q963534 Q1055925 Q851278 Q273748 Q338877 Q234728 Q128466 Q212947 Q947069 Q997294 Q1067432 Q517466 Q1344726 Q1172798 Q21997 Q205584 Q205580 Q382095 Q3581 Q193861 Q1066398 Q280296 Q41139 Q833394 Q1022934 Q399366 Q632969 Q1469428 Q328022 Q961186 Q664934 Q193826 Q177656 Q544220 Q655572 Q208866 Q55905 Q279310 Q1063150 Q250106 Q1069745 Q842003 Q114877 Q495474 Q217173 Q1014814 Q22413 Q130800 Q626582 Q184023 Q181955 Q605677 Q138648 Q841345 Q48958 Q208812 Q852904 Q637279 Q791277 Q22390 Q273897 Q817733 Q1094779 Q680266 Q69990 Q271678 Q1063932 Q205632 Q783452 Q193895 Q180083 Q828253 Q632175 Q188776 Q234270 Q21359 Q234274 Q211923 Q6625 Q207584 Q6588 Q474555 Q249884 Q243135 Q120161 Q193183 Q47045 Q184159 Q82185 Q636592 Q208770 Q968116 Q70152 Q582299 Q184154 Q182287 Q236058 Q22730 Q214597 Q209005 Q631274 Q203645 Q239078 Q41185 Q133069 Q269732 Q182481 Q2087041 Q1058597 Q240546 Q457 Q956943 Q1469416 Q250399 Q319933 Q44401 Q1047719 Q1388467 Q269833 Q220159 Q14112 Q264277 Q1157701 Q133824 Q28520 Q69601 Q1169745 Q473919 Q626156 Q208851 Q231720 Q243597 Q791403 Q205116 Q83427 Q193899 Q767320 Q912302 Q206493 Q1103869 Q658651 Q185075 Q1651173 Q372281 Q62958 Q134698 Q372111 Q6548 Q577452 Q6544 Q188743 Q193256 Q769160 Q40898 Q752466 Q193313 Q629891 Q5489 Q193903 Q21262
(c(Q334453)|c(Q1269299),P159,c(Q20667921))
action count
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q334453
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q675950
relation P159
type Q334453
type Q1269299
[ANSWER]
[[{'concept': 'Q334453'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:P159 resource:Q675950 . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1269299 ) ( ontology:Q334453 ) } } } } . FILTER ( ?v < ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?o WHERE { ?q rdf:type ?h . VALUES ( ?h ) { ( ontology:Q334453 ) ( ontology:Q1269299 ) } } GROUP BY ?o } }
Entzheim Épernay Giromagny Le Puy-en-Velay Chappes Les Mureaux Ruaudin Évry Incheville Épinay-sur-Seine Macau Fontainebleau Neauphle-le-Château Fontevraud-l'Abbaye Illkirch-Graffenstaden Noisy-le-Grand Les Ulis Romorantin-Lanthenay Charenton-le-Pont Aiglepierre Miribel Mondeville Ludes Pouzauges canton of Saint-Germain-Laval Dorlisheim Fontaine-lès-Dijon Pierrefitte-sur-Seine Méolans-Revel Le Plessis-Robinson Abrest Blagnac Annecy Buc Lesquin Limoges Thiais Bondoufle Saint-Sébastien-sur-Loire Batilly Nouméa Saint-Uze Marnes-la-Coquette Chantilly Chens-sur-Léman Corbie Corte Clichy Bayonne Aubenas Val-d'Oust Saint-Nazaire Bourg-lès-Valence Saint-Malo Montesquieu-Volvestre Eckbolsheim Reichstett Draguignan Lunéville Château-Thierry Tours-sur-Marne Divonne-les-Bains Saint-Chef Kingersheim Marolles-en-Hurepoix Ferney-Voltaire La Possession Saint-Estèphe Lillers Longpont-sur-Orge Villebarou Signes Asnières-sur-Seine Roquefort Ay Saint-Berthevin La Crèche Wimereux Châteaulin Meudon Villeneuve-d'Ascq Longjumeau Châlons-en-Champagne Aniche Les Clayes-sous-Bois Molsheim Bezons Pessac Durtal Annecy-le-Vieux Bry-sur-Marne Pau Champagnole Ormes Centre-Val de Loire Cerizay Urville Pertuis Fourchambault Blanquefort Le Pré-Saint-Gervais Plouzané L'Isle-Jourdain Fontenay-aux-Roses Bédarieux Trégueux Saint-Chamond Cholet La Garenne-Colombes Le Val-d'Ajol Valenciennes Montoire-sur-le-Loir Aubagne Auberchicourt Arcueil Marcoussis Beynost Sarcelles Joinville-le-Pont Champs-sur-Yonne Viroflay Mérignac Villepinte Évreux Mézidon-Canon Seyssinet-Pariset Onnaing Thouars Saint-Aignan-Grandlieu Pierrelatte Romilly-sur-Seine Morteau Carros Castelsarrasin Aurillac Lons-le-Saunier Bourges Évian-les-Bains La Ciotat Bagnolet Saint-Pol-de-Léon Saint-Martin-de-Valgalgues Paray-Vieille-Poste La Ménitré Sommières Mâcon Figeac Bar-le-Duc Saint-Ouen L'Horme Bagneux Janville Gap Tremblay-en-France Talence Lamballe Bernin Saint-Vallier Sentheim La Courneuve Saint-Pé-de-Bigorre Saint-Cyr-au-Mont-d'Or Cestas Mantes-la-Ville Limeil-Brévannes Contres Loos-en-Gohelle Rungis Brest Villebon-sur-Yvette Île-de-France Crolles Plaisir Béziers Antony Saint-Martin-d'Hères Nogent-sur-Seine Oyonnax Lambres Vierzon Baerenthal Quimperlé Aimargues Ivry-sur-Seine Magny-Cours Toussus-le-Noble Villeneuve-la-Garenne Beaune Benfeld Roscoff Briord Mauléon Angoulême Cannes Chambéry Denain Le Mans Coulounieix-Chamiers Châteaufort Croix Cognac Gray, Haute-Saône Cesson-Sévigné Allauch Saint-Jean-de-Moirans Milly-la-Forêt Bonneville Rochetoirin Ermont Saint-Louis Bayeux Bréhal Buzançais Massy Créteil Escalquens Douarnenez Vichy Chémeré-le-Roi Le Petit-Quevilly Panazol Fraisses Jarnac-Champagne Wissous Vincennes Basse-Terre Argenteuil Bouguenais Saint-André-lez-Lille Poisy Limay Champs-sur-Marne Trébeurden Courcouronnes Reyniès Cherbourg-Octeville Vélizy-Villacoublay Bondy Vitry-sur-Seine Rumilly Écaquelon Reichshoffen Montreuil Le Bar-sur-Loup Biarritz Averton Champigny-sur-Marne Rueil-Malmaison Lorient Émerainville Lezennes Suresnes Sarre-Union Pibrac Briare Ugine Clamart Bétheny Aïcirits-Camou-Suhast Courbevoie Rouen Fort-de-France Saint-Quentin Lédenon Parthenay Aigrefeuille-d'Aunis Mimizan Choisy-le-Roi Obernai Anneyron Chalonnes-sur-Loire Oberhausbergen Maisons-Laffitte Grigny Le Perray-en-Yvelines Creil Ergué-Gabéric Roumazières-Loubert Taissy Châteauroux Darois Garches Anglet Beauvais Charnay-lès-Mâcon Annonay Terssac Toulon Lagorce Nevers Saint-Genis-Pouilly Saint-Genest-d'Ambière Valence Saint-Julien-en-Genevois Étuz Échirolles Igny Azereix Noisiel Templemars Andrézieux-Bouthéon Charleville-Mézières Lestrem Roubaix Labège Saint-Ours Le Bourget Gennevilliers Étain Colombes Marcq-en-Barœul Dieppe Tournan-en-Brie Boulogne-sur-Mer Montigny-le-Bretonneux Villiers-le-Bâcle Mont-Saint-Aignan Arques Écully Châteauneuf-du-Pape Vanves Villejuif Châtillon Le Lamentin Pluguffan Crespin Mouzeil Donneville Longueil Saint-Louis-lès-Bitche Étampes Palaiseau Trégunc Roanne Castelnaudary Saint-Priest-en-Jarez Tain-l'Hermitage Melun Gretz-Armainvilliers Faaa Chevreuse Plombières-les-Bains Montagny Tournefeuille Oulins Raismes Douai Spézet Anzin Le Grand-Quevilly La Seyne-sur-Mer Pontivy Marcigny La Selle-en-Luitré Samois-sur-Seine Saint-Égrève La Madeleine Bièvres Sausheim Jarnac Les Avirons Wasselonne Papeete Lohéac Tarbes Aix-les-Bains Limonest Maubeuge Domancy Neuilly-sur-Seine Corbeil-Essonnes Fresnoy-le-Grand Furiani Avon, Seine-et-Marne Mutzig Feucherolles La Farlède Vaumeilh Pringy, Haute-Savoie Guer Servon Chouilly Aubervilliers Villieu-Loyes-Mollon Lattes Menton Chavanod Meylan Castres Montélimar Merkwiller-Pechelbronn Manosque Les Sables-d'Olonne Agen Brignoles Périgueux Castelnau-le-Lez Saint-Pierre Ambès Saint-Florent-le-Vieil Alès Saint-Denis Niort La Rochelle Balbigny Villefranche-sur-Saône Messimy La Gacilly La Baume Laval Crépy-en-Valois Orly Haguenau Bellac Cachan Couëron Chalon-sur-Saône Romans-sur-Isère Caen Bourg-en-Bresse Fécamp Tourcoing Dembeni Bordes Élancourt Poissy Le Port Marcy-l'Étoile Brie-Comte-Robert Yerres Cayenne Hem Saint-Marcel Chauny Saint-Grégoire Corsica Gémenos La Chapelle-Saint-Mesmin Issoire Abbeville Elven Villefrancœur Lectoure Pierre-Buffière Gif-sur-Yvette Honfleur Culoz Avrillé Amboise Bazainville Fontenay-sous-Bois Ruillé-sur-Loir Metz-Tessy Sèvres Avrainville Cogolin Saint-Germain-en-Laye Corbas Orsay Auray Bastia Romainville Orléans Les Herbiers Libourne Lisieux Montluçon Grande-Synthe Nancy Voreppe Saint-Maur-des-Fossés Le Plessis-Belleville Troyes Cergy Hangenbieten
475
action count
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type division
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Grans
relation headquarters location
type division
type type of business entity
[[{'concept': 'division'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:headquarters_location resource:Grans . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:type_of_business_entity ) ( ontology:division ) } } } } . FILTER ( ?v < ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?o WHERE { ?q rdf:type ?h . VALUES ( ?h ) { ( ontology:division ) ( ontology:type_of_business_entity ) } } GROUP BY ?o } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q45797
P159
Q20667921 Q334453 Q1269299
USER
And how about Dunkirk?
(c(Q334453)|c(Q1269299),P159,c(Q20667921))
action count
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q334453
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q45797
relation P159
type Q334453
type Q1269299
[[{'concept': 'Q334453'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P159 resource:Q45797 . { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:Q1269299 ) ( ontology:Q334453 ) } } } } . FILTER ( ?v < ?c ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?r WHERE { { ?p property:P159 ?r . ?r rdf:type ontology:Q20667921 . ?p rdf:type ontology:Q334453 } UNION { ?p property:P159 ?r . ?p rdf:type ontology:Q1269299 . ?r rdf:type ontology:Q20667921 } } GROUP BY ?r } }
Dunkirk
action count
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type division
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Dunkirk
relation headquarters location
type division
type type of business entity
[[{'concept': 'division'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:headquarters_location resource:Dunkirk . { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:type_of_business_entity ) ( ontology:division ) } } } } . FILTER ( ?v < ?c ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?r WHERE { { ?p property:headquarters_location ?r . ?r rdf:type ontology:type_of_french_administrative_division . ?p rdf:type ontology:division } UNION { ?p property:headquarters_location ?r . ?p rdf:type ontology:type_of_business_entity . ?r rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?r } }
[]
type of french administrative division division type of business entity
SYSTEM
475
Q22438 Q205537 Q753708 Q184359 Q1047751 Q317433 Q1226504 Q192393 Q1416478 Q206961 Q1004486 Q182872 Q816117 Q632276 Q22660 Q207605 Q216844 Q214600 Q212793 Q404445 Q363100 Q372882 Q615159 Q838334 Q1727156 Q22810 Q46712 Q253939 Q1018637 Q259107 Q274683 Q271068 Q50189 Q256137 Q696996 Q45656 Q316452 Q675232 Q337636 Q194002 Q9733 Q219383 Q636993 Q126675 Q659327 Q71469 Q213555 Q201982 Q134674 Q211121 Q21948474 Q152027 Q269430 Q163108 Q1152867 Q21347 Q21346 Q194141 Q208794 Q194145 Q1342783 Q241575 Q960827 Q124126 Q578683 Q233733 Q429770 Q188750 Q383388 Q247627 Q1169872 Q816094 Q191415 Q635643 Q658928 Q668446 Q1111084 Q383369 Q202374 Q234735 Q43295 Q219045 Q47135 Q613323 Q491948 Q22697 Q238429 Q207156 Q819837 Q565982 Q369954 Q132671 Q477013 Q1469245 Q13947 Q1146338 Q819946 Q386778 Q694905 Q220592 Q175999 Q474768 Q735931 Q269166 Q274412 Q476687 Q235739 Q185066 Q236658 Q192426 Q163795 Q752979 Q184047 Q1066554 Q467132 Q457389 Q10235 Q107501 Q609134 Q117551 Q83432 Q205551 Q241064 Q171800 Q366383 Q1081604 Q1103338 Q279681 Q630193 Q324027 Q727297 Q200832 Q609047 Q213285 Q174234 Q203529 Q132404 Q273017 Q231554 Q208943 Q239908 Q863574 Q752150 Q1384871 Q637676 Q174247 Q207614 Q185721 Q208889 Q1106922 Q161884 Q651379 Q175081 Q242497 Q192481 Q240286 Q1008824 Q1602947 Q392169 Q244725 Q1323215 Q1615759 Q326520 Q760624 Q549536 Q730148 Q323727 Q478105 Q12193 Q828625 Q13917 Q579807 Q372218 Q174019 Q205592 Q243868 Q476895 Q191856 Q477174 Q208538 Q284762 Q235382 Q243915 Q193877 Q269952 Q1119799 Q225451 Q16121 Q22776 Q245297 Q211706 Q669021 Q134346 Q39984 Q165090 Q212959 Q1476 Q746946 Q272420 Q239091 Q285 Q265332 Q227795 Q269862 Q1067807 Q549750 Q460795 Q661392 Q239123 Q384516 Q183910 Q268062 Q454445 Q274249 Q46135 Q1428824 Q240189 Q93351 Q1171684 Q268362 Q1078810 Q1066090 Q1144900 Q264637 Q193819 Q167024 Q181946 Q291197 Q728517 Q532070 Q526378 Q242536 Q626342 Q1138493 Q1471382 Q160199 Q387447 Q237394 Q72248 Q841518 Q1069988 Q21298 Q193370 Q728033 Q132790 Q675537 Q192378 Q193920 Q71724 Q271604 Q658561 Q193929 Q21569 Q733833 Q818443 Q694800 Q194160 Q666278 Q188658 Q189715 Q30974 Q81621 Q182744 Q376986 Q213315 Q1087218 Q632445 Q212987 Q22727 Q863563 Q264416 Q21511 Q463951 Q238310 Q1421965 Q331087 Q868513 Q958857 Q777493 Q174251 Q46375 Q246199 Q191765 Q174257 Q1423628 Q238366 Q963292 Q44160 Q382855 Q166997 Q332416 Q637695 Q8848 Q368160 Q291094 Q211134 Q1166034 Q1110747 Q900479 Q763901 Q1066223 Q47383 Q1026879 Q34001 Q1467149 Q752053 Q272906 Q221968 Q59724 Q174002 Q271649 Q183557 Q258059 Q81997 Q240798 Q963534 Q1055925 Q851278 Q273748 Q338877 Q234728 Q128466 Q212947 Q947069 Q997294 Q1067432 Q517466 Q1344726 Q1172798 Q21997 Q205584 Q205580 Q382095 Q3581 Q193861 Q1066398 Q280296 Q41139 Q833394 Q1022934 Q399366 Q632969 Q1469428 Q328022 Q961186 Q664934 Q193826 Q177656 Q544220 Q655572 Q208866 Q55905 Q279310 Q1063150 Q250106 Q1069745 Q842003 Q114877 Q495474 Q217173 Q1014814 Q22413 Q130800 Q626582 Q184023 Q181955 Q605677 Q138648 Q841345 Q48958 Q208812 Q852904 Q637279 Q791277 Q22390 Q273897 Q817733 Q1094779 Q680266 Q69990 Q271678 Q1063932 Q205632 Q783452 Q193895 Q180083 Q828253 Q632175 Q188776 Q234270 Q21359 Q234274 Q211923 Q6625 Q207584 Q6588 Q474555 Q249884 Q243135 Q120161 Q193183 Q47045 Q184159 Q82185 Q636592 Q208770 Q968116 Q70152 Q582299 Q184154 Q182287 Q236058 Q22730 Q214597 Q209005 Q631274 Q203645 Q239078 Q41185 Q133069 Q269732 Q182481 Q2087041 Q1058597 Q240546 Q457 Q956943 Q1469416 Q250399 Q319933 Q44401 Q1047719 Q1388467 Q269833 Q220159 Q14112 Q264277 Q1157701 Q133824 Q28520 Q69601 Q1169745 Q473919 Q626156 Q208851 Q231720 Q243597 Q791403 Q205116 Q83427 Q193899 Q767320 Q912302 Q206493 Q1103869 Q658651 Q185075 Q1651173 Q372281 Q62958 Q134698 Q372111 Q6548 Q577452 Q6544 Q188743 Q193256 Q769160 Q40898 Q752466 Q193313 Q629891 Q5489 Q193903 Q21262
(c(Q334453)|c(Q1269299),P159,c(Q20667921))
action count
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q334453
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q45797
relation P159
type Q334453
type Q1269299
[ANSWER]
[[{'concept': 'Q334453'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P159 resource:Q45797 . { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:Q1269299 ) ( ontology:Q334453 ) } } } } . FILTER ( ?v < ?c ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?r WHERE { { ?p property:P159 ?r . ?r rdf:type ontology:Q20667921 . ?p rdf:type ontology:Q334453 } UNION { ?p property:P159 ?r . ?p rdf:type ontology:Q1269299 . ?r rdf:type ontology:Q20667921 } } GROUP BY ?r } }
Entzheim Épernay Giromagny Le Puy-en-Velay Chappes Les Mureaux Ruaudin Évry Incheville Épinay-sur-Seine Macau Fontainebleau Neauphle-le-Château Fontevraud-l'Abbaye Illkirch-Graffenstaden Noisy-le-Grand Les Ulis Romorantin-Lanthenay Charenton-le-Pont Aiglepierre Miribel Mondeville Ludes Pouzauges canton of Saint-Germain-Laval Dorlisheim Fontaine-lès-Dijon Pierrefitte-sur-Seine Méolans-Revel Le Plessis-Robinson Abrest Blagnac Annecy Buc Lesquin Limoges Thiais Bondoufle Saint-Sébastien-sur-Loire Batilly Nouméa Saint-Uze Marnes-la-Coquette Chantilly Chens-sur-Léman Corbie Corte Clichy Bayonne Aubenas Val-d'Oust Saint-Nazaire Bourg-lès-Valence Saint-Malo Montesquieu-Volvestre Eckbolsheim Reichstett Draguignan Lunéville Château-Thierry Tours-sur-Marne Divonne-les-Bains Saint-Chef Kingersheim Marolles-en-Hurepoix Ferney-Voltaire La Possession Saint-Estèphe Lillers Longpont-sur-Orge Villebarou Signes Asnières-sur-Seine Roquefort Ay Saint-Berthevin La Crèche Wimereux Châteaulin Meudon Villeneuve-d'Ascq Longjumeau Châlons-en-Champagne Aniche Les Clayes-sous-Bois Molsheim Bezons Pessac Durtal Annecy-le-Vieux Bry-sur-Marne Pau Champagnole Ormes Centre-Val de Loire Cerizay Urville Pertuis Fourchambault Blanquefort Le Pré-Saint-Gervais Plouzané L'Isle-Jourdain Fontenay-aux-Roses Bédarieux Trégueux Saint-Chamond Cholet La Garenne-Colombes Le Val-d'Ajol Valenciennes Montoire-sur-le-Loir Aubagne Auberchicourt Arcueil Marcoussis Beynost Sarcelles Joinville-le-Pont Champs-sur-Yonne Viroflay Mérignac Villepinte Évreux Mézidon-Canon Seyssinet-Pariset Onnaing Thouars Saint-Aignan-Grandlieu Pierrelatte Romilly-sur-Seine Morteau Carros Castelsarrasin Aurillac Lons-le-Saunier Bourges Évian-les-Bains La Ciotat Bagnolet Saint-Pol-de-Léon Saint-Martin-de-Valgalgues Paray-Vieille-Poste La Ménitré Sommières Mâcon Figeac Bar-le-Duc Saint-Ouen L'Horme Bagneux Janville Gap Tremblay-en-France Talence Lamballe Bernin Saint-Vallier Sentheim La Courneuve Saint-Pé-de-Bigorre Saint-Cyr-au-Mont-d'Or Cestas Mantes-la-Ville Limeil-Brévannes Contres Loos-en-Gohelle Rungis Brest Villebon-sur-Yvette Île-de-France Crolles Plaisir Béziers Antony Saint-Martin-d'Hères Nogent-sur-Seine Oyonnax Lambres Vierzon Baerenthal Quimperlé Aimargues Ivry-sur-Seine Magny-Cours Toussus-le-Noble Villeneuve-la-Garenne Beaune Benfeld Roscoff Briord Mauléon Angoulême Cannes Chambéry Denain Le Mans Coulounieix-Chamiers Châteaufort Croix Cognac Gray, Haute-Saône Cesson-Sévigné Allauch Saint-Jean-de-Moirans Milly-la-Forêt Bonneville Rochetoirin Ermont Saint-Louis Bayeux Bréhal Buzançais Massy Créteil Escalquens Douarnenez Vichy Chémeré-le-Roi Le Petit-Quevilly Panazol Fraisses Jarnac-Champagne Wissous Vincennes Basse-Terre Argenteuil Bouguenais Saint-André-lez-Lille Poisy Limay Champs-sur-Marne Trébeurden Courcouronnes Reyniès Cherbourg-Octeville Vélizy-Villacoublay Bondy Vitry-sur-Seine Rumilly Écaquelon Reichshoffen Montreuil Le Bar-sur-Loup Biarritz Averton Champigny-sur-Marne Rueil-Malmaison Lorient Émerainville Lezennes Suresnes Sarre-Union Pibrac Briare Ugine Clamart Bétheny Aïcirits-Camou-Suhast Courbevoie Rouen Fort-de-France Saint-Quentin Lédenon Parthenay Aigrefeuille-d'Aunis Mimizan Choisy-le-Roi Obernai Anneyron Chalonnes-sur-Loire Oberhausbergen Maisons-Laffitte Grigny Le Perray-en-Yvelines Creil Ergué-Gabéric Roumazières-Loubert Taissy Châteauroux Darois Garches Anglet Beauvais Charnay-lès-Mâcon Annonay Terssac Toulon Lagorce Nevers Saint-Genis-Pouilly Saint-Genest-d'Ambière Valence Saint-Julien-en-Genevois Étuz Échirolles Igny Azereix Noisiel Templemars Andrézieux-Bouthéon Charleville-Mézières Lestrem Roubaix Labège Saint-Ours Le Bourget Gennevilliers Étain Colombes Marcq-en-Barœul Dieppe Tournan-en-Brie Boulogne-sur-Mer Montigny-le-Bretonneux Villiers-le-Bâcle Mont-Saint-Aignan Arques Écully Châteauneuf-du-Pape Vanves Villejuif Châtillon Le Lamentin Pluguffan Crespin Mouzeil Donneville Longueil Saint-Louis-lès-Bitche Étampes Palaiseau Trégunc Roanne Castelnaudary Saint-Priest-en-Jarez Tain-l'Hermitage Melun Gretz-Armainvilliers Faaa Chevreuse Plombières-les-Bains Montagny Tournefeuille Oulins Raismes Douai Spézet Anzin Le Grand-Quevilly La Seyne-sur-Mer Pontivy Marcigny La Selle-en-Luitré Samois-sur-Seine Saint-Égrève La Madeleine Bièvres Sausheim Jarnac Les Avirons Wasselonne Papeete Lohéac Tarbes Aix-les-Bains Limonest Maubeuge Domancy Neuilly-sur-Seine Corbeil-Essonnes Fresnoy-le-Grand Furiani Avon, Seine-et-Marne Mutzig Feucherolles La Farlède Vaumeilh Pringy, Haute-Savoie Guer Servon Chouilly Aubervilliers Villieu-Loyes-Mollon Lattes Menton Chavanod Meylan Castres Montélimar Merkwiller-Pechelbronn Manosque Les Sables-d'Olonne Agen Brignoles Périgueux Castelnau-le-Lez Saint-Pierre Ambès Saint-Florent-le-Vieil Alès Saint-Denis Niort La Rochelle Balbigny Villefranche-sur-Saône Messimy La Gacilly La Baume Laval Crépy-en-Valois Orly Haguenau Bellac Cachan Couëron Chalon-sur-Saône Romans-sur-Isère Caen Bourg-en-Bresse Fécamp Tourcoing Dembeni Bordes Élancourt Poissy Le Port Marcy-l'Étoile Brie-Comte-Robert Yerres Cayenne Hem Saint-Marcel Chauny Saint-Grégoire Corsica Gémenos La Chapelle-Saint-Mesmin Issoire Abbeville Elven Villefrancœur Lectoure Pierre-Buffière Gif-sur-Yvette Honfleur Culoz Avrillé Amboise Bazainville Fontenay-sous-Bois Ruillé-sur-Loir Metz-Tessy Sèvres Avrainville Cogolin Saint-Germain-en-Laye Corbas Orsay Auray Bastia Romainville Orléans Les Herbiers Libourne Lisieux Montluçon Grande-Synthe Nancy Voreppe Saint-Maur-des-Fossés Le Plessis-Belleville Troyes Cergy Hangenbieten
475
action count
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type division
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Dunkirk
relation headquarters location
type division
type type of business entity
[[{'concept': 'division'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:headquarters_location resource:Dunkirk . { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:type_of_business_entity ) ( ontology:division ) } } } } . FILTER ( ?v < ?c ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?r WHERE { { ?p property:headquarters_location ?r . ?r rdf:type ontology:type_of_french_administrative_division . ?p rdf:type ontology:division } UNION { ?p property:headquarters_location ?r . ?p rdf:type ontology:type_of_business_entity . ?r rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?r } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by around 721 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 721
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?d = 721 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 721
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?d = 721 ) }
[]
musical instrument common name
SYSTEM
62
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 721
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?d = 721 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 721
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?d = 721 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193256
P190
Q486972
USER
Which human settlement is twin city of Montluçon ?
(c(Q486972),P190,Q193256)
action filter_type
action find
entity Q193256
relation P190
type Q486972
[{'concept': 'Q486972'}, 'P190', 'Q193256']
SELECT DISTINCT ?t WHERE { resource:Q193256 property:P190 ?t . ?t rdf:type ontology:Q486972 }
Montluçon
action filter_type
action find
entity Montluçon
relation sister city
type human settlement
[{'concept': 'human settlement'}, 'sister city', 'Montluçon']
SELECT DISTINCT ?t WHERE { resource:Montluçon property:sister_city ?t . ?t rdf:type ontology:human_settlement }
[]
human settlement
Q52892
SYSTEM
Leszno
Q52892
(c(Q486972),P190,Q193256)
action filter_type
action find
entity Q193256
relation P190
type Q486972
[ANSWER] is twin city of Montluçon
[{'concept': 'Q486972'}, 'P190', 'Q193256']
SELECT DISTINCT ?t WHERE { resource:Q193256 property:P190 ?t . ?t rdf:type ontology:Q486972 }
Leszno
Leszno is twin city of Montluçon
Leszno
action filter_type
action find
entity Montluçon
relation sister city
type human settlement
[{'concept': 'human settlement'}, 'sister city', 'Montluçon']
SELECT DISTINCT ?t WHERE { resource:Montluçon property:sister_city ?t . ?t rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q193256
P20
Q502895
USER
Which people have that french administrative division as the area of death ?
(c(Q502895),P20,Q52892)
action filter_type
action find_reverse
entity Q193256
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q52892']
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q193256 . ?u rdf:type ontology:Q502895 }
Montluçon
action filter_type
action find_reverse
entity Montluçon
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Leszno']
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:Montluçon . ?u rdf:type ontology:common_name }
[]
common name
Q3383018 Q444658 Q17977176
SYSTEM
Pierre Garbay, Louis II, Duke of Bourbon, Jean-Charles Varennes
Q19251253 Q23786071 Q3384143 Q2383915 Q3099140 Q3371408 Q456410 Q3173754 Q3370923 Q3384767 Q3383018 Q16864581 Q17485812 Q3158135 Q3124419 Q444658 Q17497006 Q27847461 Q15974081 Q17977176 Q3421081 Q766485 Q3384550 Q3132169 Q3047696 Q2848657 Q3083556 Q3083476 Q3339355 Q18844688 Q3261313 Q2847910 Q1983394
(c(Q502895),P20,Q52892)
action filter_type
action find_reverse
entity Q193256
relation P20
type Q502895
[ANSWERS] have that french administrative division as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q52892']
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q193256 . ?u rdf:type ontology:Q502895 }
Maurice Perrot des Gozis Charles Duprat Pierre Bourgeois Gilbert Talbourdeau Gaston Rivière Paul Guédon Louise Thérèse de Montaignac Jean Nègre Paul Constans Pierre Diot Pierre Garbay René Varennes Octave Amiot Jacques Antoine Deschamps de La Varenne Gérard de Suresnes Louis II, Duke of Bourbon Jean-Pierre Parrot Gilbert Chevalier Suzanne Burrier Jean-Charles Varennes Raymond Passat Tiemoko Garan Kouyaté Pierre Cour Henri Védrines Edmé Boursault André Southon Firmin Girard François-Joseph Troubat Nguyễn Dân Phú Ernest Montusès Louis Alexis Étienne Bonvin André Guy François-Xavier Gautrelet
Pierre Garbay, Louis II, Duke of Bourbon and Jean-Charles Varennes have that french administrative division as the area of death
Pierre Garbay Louis II, Duke of Bourbon Jean-Charles Varennes
action filter_type
action find_reverse
entity Montluçon
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Leszno']
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:Montluçon . ?u rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3235151
P725
Q502895 Q15961987
USER
How many television genres had greater number of people as the dubbing artist than VeggieTales ?
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q3235151
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?a ) WHERE { ?i property:P725 ?o . ?o rdf:type ontology:Q502895 . ?i rdf:type ontology:Q15961987 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Q3235151 property:P725 ?m . ?m rdf:type ontology:Q15961987 } } . FILTER ( ?a > ?t ) }
VeggieTales
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity VeggieTales
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?a ) WHERE { ?i property:voice_actor ?o . ?o rdf:type ontology:common_name . ?i rdf:type ontology:television_genre } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:VeggieTales property:voice_actor ?m . ?m rdf:type ontology:television_genre } } . FILTER ( ?a > ?t ) }
[]
common name television genre
SYSTEM
9
Q24034511 Q11296848 Q7615342 Q22773153 Q18790 Q53093 Q5415 Q886 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q3235151
relation P725
type Q15961987
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?a ) WHERE { ?i property:P725 ?o . ?o rdf:type ontology:Q502895 . ?i rdf:type ontology:Q15961987 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Q3235151 property:P725 ?m . ?m rdf:type ontology:Q15961987 } } . FILTER ( ?a > ?t ) }
Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe Milo Murphy's Law The Legend of Korra Adventure Time My Little Pony: Friendship Is Magic The Simpsons Hellsing Ultimate
9
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity VeggieTales
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?a ) WHERE { ?i property:voice_actor ?o . ?o rdf:type ontology:common_name . ?i rdf:type ontology:television_genre } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:VeggieTales property:voice_actor ?m . ?m rdf:type ontology:television_genre } } . FILTER ( ?a > ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q444658
P7
Q502895
USER
Which people had Louis II, Duke of Bourbon as brother ?
(c(Q502895),P7,Q444658)
action filter_type
action find_reverse
entity Q444658
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q444658']
SELECT DISTINCT ?f WHERE { ?f property:P7 resource:Q444658 . ?f rdf:type ontology:Q502895 }
Louis II, Duke of Bourbon
action filter_type
action find_reverse
entity Louis II, Duke of Bourbon
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Louis II, Duke of Bourbon']
SELECT DISTINCT ?f WHERE { ?f property:brother resource:Louis_II,_Duke_of_Bourbon . ?f rdf:type ontology:common_name }
[]
common name
Q231794 Q254986 Q2626231
SYSTEM
Joanna of Bourbon, Blanche of Bourbon, Bonne of Bourbon
Q2626231 Q254986 Q3290769 Q231794
(c(Q502895),P7,Q444658)
action filter_type
action find_reverse
entity Q444658
relation P7
type Q502895
[ANSWERS] had Louis II, Duke of Bourbon as brother
[{'concept': 'Q502895'}, 'P7', 'Q444658']
SELECT DISTINCT ?f WHERE { ?f property:P7 resource:Q444658 . ?f rdf:type ontology:Q502895 }
Bonne of Bourbon Blanche of Bourbon Margaret of Bourbon, Lady of Albret Joanna of Bourbon
Joanna of Bourbon, Blanche of Bourbon and Bonne of Bourbon had Louis II, Duke of Bourbon as brother
Joanna of Bourbon Blanche of Bourbon Bonne of Bourbon
action filter_type
action find_reverse
entity Louis II, Duke of Bourbon
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Louis II, Duke of Bourbon']
SELECT DISTINCT ?f WHERE { ?f property:brother resource:Louis_II,_Duke_of_Bourbon . ?f rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q231794
P734
Q82799
USER
Who has the surname that person ?
(Q231794,P734,c(Q82799))
action filter_type
action find
entity Q231794
relation P734
type Q82799
['Q231794', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q231794 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Joanna of Bourbon
action filter_type
action find
entity Joanna of Bourbon
relation family name
type name
['Joanna of Bourbon', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Joanna_of_Bourbon property:family_name ?g . ?g rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q231794
SYSTEM
Did you mean Joanna of Bourbon ?
Q231794 Q254986 Q2626231
(Q231794,P734,c(Q82799)) (Q254986,P734,c(Q82799)) (Q2626231,P734,c(Q82799))
[ANSWER]
['Q231794', 'P734', {'concept': 'Q82799'}] ['Q254986', 'P734', {'concept': 'Q82799'}] ['Q2626231', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q231794 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Joanna of Bourbon Blanche of Bourbon Bonne of Bourbon
Did you mean Joanna of Bourbon ?
Joanna of Bourbon
['Joanna of Bourbon', 'family name', {'concept': 'name'}] ['Blanche of Bourbon', 'family name', {'concept': 'name'}] ['Bonne of Bourbon', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Joanna_of_Bourbon property:family_name ?g . ?g rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q231794,P734,c(Q82799))
['Q231794', 'P734', {'concept': 'Q82799'}]
['Joanna of Bourbon', 'family name', {'concept': 'name'}]
[]
Q23038495
SYSTEM
Borbone
Q23038495
(Q231794,P734,c(Q82799))
action filter_type
action find
entity Q231794
relation P734
type Q82799
[ANSWER] has the surname that person
['Q231794', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q231794 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Borbone
Borbone has the surname that person
Borbone
action filter_type
action find
entity Joanna of Bourbon
relation family name
type name
['Joanna of Bourbon', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Joanna_of_Bourbon property:family_name ?g . ?g rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3027399 Q17977176
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Jean-Charles Varennes or Diego Jussot ?
OR((Q17977176,P27,c(Q15617994)), (Q3027399,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17977176
relation P27
action find
entity Q3027399
relation P27
type Q15617994
{'OR': [['Q17977176', 'P27', {'concept': 'Q15617994'}], ['Q3027399', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3027399 property:P27 ?i } UNION { resource:Q17977176 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
Diego Jussot Jean-Charles Varennes
action filter_type
action union
action find
entity Jean-Charles Varennes
relation country of citizenship
action find
entity Diego Jussot
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jean-Charles Varennes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Diego Jussot', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Diego_Jussot property:country_of_citizenship ?i } UNION { resource:Jean-Charles_Varennes property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
OR((Q17977176,P27,c(Q15617994)), (Q3027399,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17977176
relation P27
action find
entity Q3027399
relation P27
type Q15617994
[ANSWER] is the countries of citizenship of Jean-Charles Varennes or Diego Jussot
{'OR': [['Q17977176', 'P27', {'concept': 'Q15617994'}], ['Q3027399', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3027399 property:P27 ?i } UNION { resource:Q17977176 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
France
France is the countries of citizenship of Jean-Charles Varennes or Diego Jussot
France
action filter_type
action union
action find
entity Jean-Charles Varennes
relation country of citizenship
action find
entity Diego Jussot
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jean-Charles Varennes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Diego Jussot', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Diego_Jussot property:country_of_citizenship ?i } UNION { resource:Jean-Charles_Varennes property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q817
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with approximately the same number of administrative territories as Kuwait ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q817
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?u ) WHERE { ?w property:P530 ?z . ?w rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Q817 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?m ) }
Kuwait
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Kuwait
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?u ) WHERE { ?w property:diplomatic_relation ?z . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Kuwait property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?m ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q817
relation P530
type Q15617994
[ANSWERS] have tactful political relations with approximately the same number of administrative territories as Kuwait
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?u ) WHERE { ?w property:P530 ?z . ?w rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Q817 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?m ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China have tactful political relations with approximately the same number of administrative territories as Kuwait
Netherlands Poland People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Kuwait
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?u ) WHERE { ?w property:diplomatic_relation ?z . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Kuwait property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1033
P530
Q15617994 Q15617994
USER
And how about Nigeria?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1033
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?l ) WHERE { ?u property:P530 ?a . ?u rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?l = ?w ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q1033 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } }
Nigeria
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Nigeria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?l ) WHERE { ?u property:diplomatic_relation ?a . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?l = ?w ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Nigeria property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1033
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?l ) WHERE { ?u property:P530 ?a . ?u rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?l = ?w ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q1033 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands Poland People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Nigeria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?l ) WHERE { ?u property:diplomatic_relation ?a . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?l = ?w ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Nigeria property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1001
Q15617994 Q820655 Q12737077
USER
Which administrative territories come under the jurisdiction of max number of statutes or occupations ?
(c(Q820655)|c(Q12737077),P1001,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
[[{'concept': 'Q820655'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?v WHERE { { ?b property:P1001 ?v . ?v rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q820655 } UNION { ?b property:P1001 ?v . ?v rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q12737077 } } GROUP BY ?v } } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?c WHERE { { ?x property:P1001 ?c . ?x rdf:type ontology:Q820655 . ?c rdf:type ontology:Q15617994 } UNION { ?x rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q15617994 . ?x property:P1001 ?c } } GROUP BY ?c } }
action argmax
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
[[{'concept': 'statute'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?v WHERE { { ?b property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:statute } UNION { ?b property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:occupation } } GROUP BY ?v } } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?c WHERE { { ?x property:applies_to_jurisdiction ?c . ?x rdf:type ontology:statute . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?x rdf:type ontology:occupation . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:applies_to_jurisdiction ?c } } GROUP BY ?c } }
[]
designation for an administrative territorial entity statute occupation
Q20
SYSTEM
Norway
Q20
(c(Q820655)|c(Q12737077),P1001,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
[ANSWER] come under the jurisdiction of max number of statutes or occupations
[[{'concept': 'Q820655'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?v WHERE { { ?b property:P1001 ?v . ?v rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q820655 } UNION { ?b property:P1001 ?v . ?v rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q12737077 } } GROUP BY ?v } } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?c WHERE { { ?x property:P1001 ?c . ?x rdf:type ontology:Q820655 . ?c rdf:type ontology:Q15617994 } UNION { ?x rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q15617994 . ?x property:P1001 ?c } } GROUP BY ?c } }
Norway
Norway come under the jurisdiction of max number of statutes or occupations
Norway
action argmax
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
[[{'concept': 'statute'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?v WHERE { { ?b property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:statute } UNION { ?b property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:occupation } } GROUP BY ?v } } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?c WHERE { { ?x property:applies_to_jurisdiction ?c . ?x rdf:type ontology:statute . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?x rdf:type ontology:occupation . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:applies_to_jurisdiction ?c } } GROUP BY ?c } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q15617994
USER
How many administrative territories are bordered by that administrative territory ?
(Q20,P47,c(Q15617994))
action count
action filter_type
action find
entity Q20
relation P47
type Q15617994
['Q20', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q20 property:P47 ?c }
action count
action filter_type
action find
entity Norway
relation shares border with
type designation for an administrative territorial entity
['Norway', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Norway property:shares_border_with ?c }
[]
designation for an administrative territorial entity
SYSTEM
3
Q33 Q159 Q34
(Q20,P47,c(Q15617994))
action count
action filter_type
action find
entity Q20
relation P47
type Q15617994
[ANSWER]
['Q20', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q20 property:P47 ?c }
Finland Russia Sweden
3
action count
action filter_type
action find
entity Norway
relation shares border with
type designation for an administrative territorial entity
['Norway', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Norway property:shares_border_with ?c }
[]