Simple Question (Direct)
Simple Question
Q1341071
P47
Q20667921
USER
Which french administrative divisions have a shared border with Lespouey ?
(Q1341071,P47,c(Q20667921))
action filter_type
action find
entity Q1341071
relation P47
type Q20667921
['Q1341071', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q20667921 . resource:Q1341071 property:P47 ?f }
Lespouey
action filter_type
action find
entity Lespouey
relation shares border with
type type of french administrative division
['Lespouey', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:type_of_french_administrative_division . resource:Lespouey property:shares_border_with ?f }
[]
type of french administrative division
Q1094445 Q1048180 Q964767
SYSTEM
Barbazan-Debat, Angos, Sinzos
Q1092718 Q1094445 Q1048180 Q1163226 Q964767 Q1093203
(Q1341071,P47,c(Q20667921))
action filter_type
action find
entity Q1341071
relation P47
type Q20667921
[ANSWERS] have a shared border with Lespouey
['Q1341071', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q20667921 . resource:Q1341071 property:P47 ?f }
Calavanté Barbazan-Debat Angos Lansac Sinzos Bordes
Barbazan-Debat, Angos and Sinzos have a shared border with Lespouey
Barbazan-Debat Angos Sinzos
action filter_type
action find
entity Lespouey
relation shares border with
type type of french administrative division
['Lespouey', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:type_of_french_administrative_division . resource:Lespouey property:shares_border_with ?f }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1094445
P190
Q1048835
USER
Which political territory is twin city of that french administrative division ?
(Q1094445,P190,c(Q1048835))
action filter_type
action find
entity Q1094445
relation P190
type Q1048835
['Q1094445', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { resource:Q1094445 property:P190 ?p . ?p rdf:type ontology:Q1048835 }
Barbazan-Debat
action filter_type
action find
entity Barbazan-Debat
relation sister city
type political territorial entity
['Barbazan-Debat', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Barbazan-Debat property:sister_city ?p . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q1048180
SYSTEM
Did you mean Angos ?
Q1094445 Q1048180 Q964767
(Q1094445,P190,c(Q1048835)) (Q1048180,P190,c(Q1048835)) (Q964767,P190,c(Q1048835))
[ANSWER]
['Q1094445', 'P190', {'concept': 'Q1048835'}] ['Q1048180', 'P190', {'concept': 'Q1048835'}] ['Q964767', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { resource:Q1094445 property:P190 ?p . ?p rdf:type ontology:Q1048835 }
Barbazan-Debat Angos Sinzos
Did you mean Angos ?
Angos
['Barbazan-Debat', 'sister city', {'concept': 'political territorial entity'}] ['Angos', 'sister city', {'concept': 'political territorial entity'}] ['Sinzos', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Barbazan-Debat property:sister_city ?p . ?p rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Barbazan-Debat. Could you tell me the answer for that?
(Q1094445,P190,c(Q1048835))
Q1094445
['Q1094445', 'P190', {'concept': 'Q1048835'}]
['Barbazan-Debat', 'sister city', {'concept': 'political territorial entity'}]
[]
Q787022
SYSTEM
Autol
Q787022
(Q1094445,P190,c(Q1048835))
action filter_type
action find
entity Q1094445
relation P190
type Q1048835
[ANSWER] is twin city of that french administrative division
['Q1094445', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { resource:Q1094445 property:P190 ?p . ?p rdf:type ontology:Q1048835 }
Autol
Autol is twin city of that french administrative division
Autol
action filter_type
action find
entity Barbazan-Debat
relation sister city
type political territorial entity
['Barbazan-Debat', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Barbazan-Debat property:sister_city ?p . ?p rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q15617994 Q515 Q1048835
USER
Which political territories are twin town of atleast 3 administrative territories and cities ?
(c(Q1048835),P190,c(Q15617994)|c(Q515))
action atleast
action union
action find_tuple_counts
relation P190
type Q1048835
type Q15617994
action find_tuple_counts
relation P190
type Q1048835
type Q515
value 3
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q15617994'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?h WHERE { VALUES ( ?s ) { ( ontology:Q515 ) ( ontology:Q15617994 ) } . ?f rdf:type ?s } GROUP BY ?h } . FILTER ( ?w >= 3 ) }
action atleast
action union
action find_tuple_counts
relation sister city
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation sister city
type political territorial entity
type city
value 3
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?h WHERE { VALUES ( ?s ) { ( ontology:city ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?f rdf:type ?s } GROUP BY ?h } . FILTER ( ?w >= 3 ) }
[]
designation for an administrative territorial entity city political territorial entity
Q436491 Q16572 Q30002
SYSTEM
Altea, Guangzhou, Chengdu
Q30002 Q193780 Q980131 Q436491 Q353618 Q16572
(c(Q1048835),P190,c(Q15617994)|c(Q515))
action atleast
action union
action find_tuple_counts
relation P190
type Q1048835
type Q15617994
action find_tuple_counts
relation P190
type Q1048835
type Q515
value 3
[ANSWERS] are twin town of atleast 3 administrative territories and cities
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q15617994'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?h WHERE { VALUES ( ?s ) { ( ontology:Q515 ) ( ontology:Q15617994 ) } . ?f rdf:type ?s } GROUP BY ?h } . FILTER ( ?w >= 3 ) }
Chengdu Almuñécar Massaranduba, Santa Catarina Altea Adeje Guangzhou
Altea, Guangzhou and Chengdu are twin town of atleast 3 administrative territories and cities
Altea Guangzhou Chengdu
action atleast
action union
action find_tuple_counts
relation sister city
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation sister city
type political territorial entity
type city
value 3
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?h WHERE { VALUES ( ?s ) { ( ontology:city ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?f rdf:type ?s } GROUP BY ?h } . FILTER ( ?w >= 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q16572
P159
Q4830453 Q43229
USER
How many business enterprises and organizations have headquarters located at Guangzhou ?
(c(Q4830453),P159,Q16572) (c(Q43229),P159,Q16572)
action count
action union
action filter_type
action find_reverse
entity Q16572
relation P159
type Q4830453
action filter_type
action find_reverse
entity Q16572
relation P159
type Q43229
[{'concept': 'Q4830453'}, 'P159', 'Q16572'] [{'concept': 'Q43229'}, 'P159', 'Q16572']
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { ?d property:P159 resource:Q16572 . ?d rdf:type ontology:Q4830453 } UNION { ?d property:P159 resource:Q16572 . ?d rdf:type ontology:Q43229 } }
Guangzhou
action count
action union
action filter_type
action find_reverse
entity Guangzhou
relation headquarters location
type business enterprise
action filter_type
action find_reverse
entity Guangzhou
relation headquarters location
type organization
[{'concept': 'business enterprise'}, 'headquarters location', 'Guangzhou'] [{'concept': 'organization'}, 'headquarters location', 'Guangzhou']
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { ?d property:headquarters_location resource:Guangzhou . ?d rdf:type ontology:business_enterprise } UNION { ?d property:headquarters_location resource:Guangzhou . ?d rdf:type ontology:organization } }
[]
business enterprise organization
SYSTEM
2 business enterprises and 24 organizations
Q5099783 Q5417145 Q25996 Q5613742 Q20035704 Q1527140 Q1552770 Q4643844 Q1552750 Q16963306 Q1993210 Q16926320 Q7273224 Q209039 Q17300340 Q17727179 Q19840983 Q15807676 Q5514453 Q196259 Q5613715 Q7570128 Q3118744 Q577166 Q6340561 Q4873764
(c(Q4830453),P159,Q16572) (c(Q43229),P159,Q16572)
action count
action union
action filter_type
action find_reverse
entity Q16572
relation P159
type Q4830453
action filter_type
action find_reverse
entity Q16572
relation P159
type Q43229
[ANSWER]
[{'concept': 'Q4830453'}, 'P159', 'Q16572'] [{'concept': 'Q43229'}, 'P159', 'Q16572']
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { ?d property:P159 resource:Q16572 . ?d rdf:type ontology:Q4830453 } UNION { ?d property:P159 resource:Q16572 . ?d rdf:type ontology:Q43229 } }
China Metal Recycling Evergrande Real Estate Group Hopson Development Guangzhou Shipyard International Evergrande Health Industry GAC Toyota GAC Group 7 Days Inn Guangqi Honda Parnis Watches Southern Television Guangdong Guangzhou Pharmaceuticals R&F Properties China Southern Power Grid Company Guangdong Radio and Television UCWeb Value Chain Glass Ltd Guangzhou Automobile Industry Group GRG Banking NetEase Guangzhou Automobile Group Bus Southern Media Corporation China Guangfa Bank Poly Real Estate KWG Property Bawang Shampoo
2 business enterprises and 24 organizations
action count
action union
action filter_type
action find_reverse
entity Guangzhou
relation headquarters location
type business enterprise
action filter_type
action find_reverse
entity Guangzhou
relation headquarters location
type organization
[{'concept': 'business enterprise'}, 'headquarters location', 'Guangzhou'] [{'concept': 'organization'}, 'headquarters location', 'Guangzhou']
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { ?d property:headquarters_location resource:Guangzhou . ?d rdf:type ontology:business_enterprise } UNION { ?d property:headquarters_location resource:Guangzhou . ?d rdf:type ontology:organization } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q284762
P159
Q20667921 Q874405 Q895526
USER
Which french administrative divisions are the headquarters of less number of social groups or authority organs located than Baerenthal ?
(c(Q874405)|c(Q895526),P159,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q874405
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q284762
relation P159
type Q874405
type Q895526
[[{'concept': 'Q874405'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?d WHERE { VALUES ( ?e ) { ( ontology:Q895526 ) ( ontology:Q874405 ) } . ?u rdf:type ?e } GROUP BY ?d } . FILTER ( ?b < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P159 resource:Q284762 . { VALUES ( ?o ) { ( ontology:Q874405 ) ( ontology:Q895526 ) } . ?n rdf:type ?o } } } }
Baerenthal
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type social group
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type authority organ
action count
action filter_multi_types
action find_reverse
entity Baerenthal
relation headquarters location
type social group
type authority organ
[[{'concept': 'social group'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?d WHERE { VALUES ( ?e ) { ( ontology:authority_organ ) ( ontology:social_group ) } . ?u rdf:type ?e } GROUP BY ?d } . FILTER ( ?b < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:headquarters_location resource:Baerenthal . { VALUES ( ?o ) { ( ontology:social_group ) ( ontology:authority_organ ) } . ?n rdf:type ?o } } } }
[]
type of french administrative division social group authority organ
Q42716 Q234735 Q6730
SYSTEM
Saint-Étienne, Meudon, Perpignan
Q22438 Q205537 Q753708 Q1047751 Q317433 Q1226504 Q192393 Q1416478 Q206961 Q1004486 Q182872 Q816117 Q632276 Q22660 Q216844 Q214600 Q212793 Q404445 Q363100 Q372882 Q615159 Q838334 Q1727156 Q22810 Q46712 Q253939 Q1018637 Q259107 Q274683 Q271068 Q50189 Q256137 Q696996 Q316452 Q675232 Q337636 Q194002 Q9733 Q219383 Q42807 Q636993 Q126675 Q659327 Q71469 Q213555 Q201982 Q134674 Q211121 Q21948474 Q269430 Q163108 Q1152867 Q21347 Q21346 Q1389275 Q194141 Q208794 Q194145 Q1342783 Q6593 Q241575 Q960827 Q124126 Q578683 Q233733 Q429770 Q188750 Q383388 Q247627 Q1169872 Q816094 Q191415 Q635643 Q658928 Q212274 Q668446 Q1111084 Q202374 Q234735 Q219045 Q47135 Q613323 Q491948 Q22697 Q22690 Q238429 Q819837 Q565982 Q38380 Q369954 Q132671 Q477013 Q13947 Q1146338 Q386778 Q694905 Q220592 Q175999 Q274774 Q474768 Q735931 Q274412 Q476687 Q235739 Q185066 Q236658 Q163795 Q752979 Q184047 Q1066554 Q467132 Q457389 Q10235 Q107501 Q609134 Q117551 Q241064 Q171800 Q366383 Q1081604 Q1103338 Q279681 Q630193 Q324027 Q727297 Q200832 Q20441 Q609047 Q334301 Q213285 Q174234 Q203529 Q132404 Q273017 Q794124 Q231554 Q6730 Q208943 Q160506 Q239908 Q863574 Q752150 Q1384871 Q637676 Q174247 Q207614 Q185721 Q1106922 Q161884 Q651379 Q175081 Q242497 Q192481 Q240286 Q1008824 Q1064869 Q1602947 Q392169 Q265657 Q910089 Q244725 Q1323215 Q1615759 Q326520 Q760624 Q213515 Q549536 Q730148 Q323727 Q12193 Q828625 Q579807 Q372218 Q174019 Q205592 Q202565 Q243868 Q476895 Q191856 Q627252 Q477174 Q37719 Q208538 Q235382 Q243915 Q269952 Q1119799 Q225451 Q16121 Q22776 Q245297 Q211706 Q669021 Q134346 Q39984 Q212959 Q1476 Q746946 Q272420 Q241021 Q239091 Q285 Q265332 Q227795 Q269862 Q1067807 Q549750 Q460795 Q648073 Q239123 Q384516 Q183910 Q268062 Q454445 Q46135 Q223692 Q1428824 Q240189 Q93351 Q1171684 Q268362 Q1078810 Q1066090 Q1144900 Q264637 Q193819 Q167024 Q181946 Q291197 Q728517 Q526378 Q242536 Q626342 Q1138493 Q1471382 Q160199 Q387447 Q237394 Q72248 Q841518 Q1069988 Q21298 Q193370 Q728033 Q132790 Q675537 Q192378 Q71724 Q271604 Q658561 Q193929 Q21569 Q733833 Q818443 Q694800 Q194160 Q666278 Q188658 Q81621 Q182744 Q376986 Q1058168 Q213315 Q1087218 Q632445 Q212987 Q22727 Q863563 Q264416 Q21511 Q463951 Q238310 Q1421965 Q331087 Q868513 Q958857 Q777493 Q174251 Q46375 Q246199 Q191765 Q189153 Q1423628 Q238366 Q963292 Q44160 Q382855 Q166997 Q332416 Q637695 Q8848 Q242569 Q368160 Q291094 Q724403 Q1166034 Q1110747 Q900479 Q763901 Q1066223 Q47383 Q1026879 Q1467149 Q752053 Q221968 Q59724 Q174002 Q183557 Q258059 Q81997 Q240798 Q1055925 Q851278 Q237303 Q208314 Q273748 Q79815 Q338877 Q234728 Q128466 Q212947 Q947069 Q997294 Q1067432 Q517466 Q1344726 Q1172798 Q21997 Q205584 Q205580 Q382095 Q3581 Q193861 Q1066398 Q280296 Q41139 Q833394 Q1022934 Q399366 Q632969 Q328022 Q961186 Q664934 Q193826 Q544220 Q655572 Q208866 Q253721 Q55905 Q279310 Q1063150 Q250106 Q245080 Q1069745 Q842003 Q114877 Q495474 Q1014814 Q22413 Q130800 Q626582 Q675950 Q184023 Q181955 Q605677 Q138648 Q841345 Q208812 Q852904 Q637279 Q791277 Q22390 Q273897 Q817733 Q1094779 Q69990 Q271678 Q42716 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 Q13596 Q236058 Q22730 Q214597 Q209005 Q631274 Q239078 Q41185 Q133069 Q269732 Q182481 Q2087041 Q1058597 Q240546 Q457 Q956943 Q1469416 Q250399 Q45797 Q319933 Q44401 Q1047719 Q268281 Q1388467 Q269833 Q220159 Q14112 Q264277 Q1157701 Q133824 Q28520 Q271407 Q1169745 Q473919 Q626156 Q208851 Q231720 Q288 Q791403 Q205116 Q83427 Q767320 Q912302 Q1103869 Q836443 Q658651 Q185075 Q6397 Q1651173 Q372281 Q62958 Q134698 Q372111 Q6548 Q577452 Q192982 Q6544 Q188743 Q193256 Q769160 Q40898 Q752466 Q193313 Q629891 Q5489 Q193903 Q21262
(c(Q874405)|c(Q895526),P159,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q874405
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q284762
relation P159
type Q874405
type Q895526
[ANSWERS] are the headquarters of less number of social groups or authority organs located than Baerenthal
[[{'concept': 'Q874405'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?d WHERE { VALUES ( ?e ) { ( ontology:Q895526 ) ( ontology:Q874405 ) } . ?u rdf:type ?e } GROUP BY ?d } . FILTER ( ?b < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P159 resource:Q284762 . { VALUES ( ?o ) { ( ontology:Q874405 ) ( ontology:Q895526 ) } . ?n rdf:type ?o } } } }
Entzheim Épernay Giromagny Chappes Les Mureaux Ruaudin Évry Incheville Épinay-sur-Seine Macau Fontainebleau Neauphle-le-Château Fontevraud-l'Abbaye Illkirch-Graffenstaden 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 Thiais Bondoufle Saint-Sébastien-sur-Loire Batilly Nouméa Saint-Uze Nîmes Marnes-la-Coquette Chantilly Chens-sur-Léman Corbie Corte Clichy Bayonne Aubenas Val-d'Oust Bourg-lès-Valence Saint-Malo Montesquieu-Volvestre Eckbolsheim Reichstett Verneuil-en-Halatte Draguignan Lunéville Château-Thierry Tours-sur-Marne Vannes 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 Nogent-sur-Marne Saint-Berthevin La Crèche Châteaulin Meudon Longjumeau Châlons-en-Champagne Aniche Les Clayes-sous-Bois Molsheim Metz Bezons Durtal Annecy-le-Vieux Angers Bry-sur-Marne Pau Champagnole Centre-Val de Loire Cerizay Pertuis Fourchambault Blanquefort Le Pré-Saint-Gervais Viviers Plouzané L'Isle-Jourdain Bédarieux Trégueux Saint-Chamond Cholet La Garenne-Colombes Valenciennes Montoire-sur-le-Loir Aubagne Auberchicourt Arcueil Marcoussis Beynost Sarcelles Joinville-le-Pont Champs-sur-Yonne Villepinte Évreux Mézidon-Canon Seyssinet-Pariset Onnaing Thouars Saint-Aignan-Grandlieu Pierrelatte Romilly-sur-Seine Morteau Quetigny Carros Berck Castelsarrasin Aurillac Lons-le-Saunier Bourges Évian-les-Bains Saint-Rémy-lès-Chevreuse La Ciotat Perpignan Bagnolet Saint-Denis Saint-Pol-de-Léon Saint-Martin-de-Valgalgues Paray-Vieille-Poste La Ménitré Sommières Mâcon Figeac Bar-le-Duc L'Horme Bagneux Janville Gap Tremblay-en-France Talence Lamballe Bernin Montesquieu Saint-Vallier Sentheim Vert-le-Petit Saint-Genis-Laval La Courneuve Saint-Pé-de-Bigorre Saint-Cyr-au-Mont-d'Or Cestas Mantes-la-Ville Ancenis Limeil-Brévannes Contres Loos-en-Gohelle Brest Villebon-sur-Yvette Crolles Plaisir Béziers Antony Coutances Saint-Martin-d'Hères Nogent-sur-Seine Oyonnax Aubière Lambres Beaurainville Vierzon Quimperlé Aimargues Magny-Cours Toussus-le-Noble Villeneuve-la-Garenne Beaune Benfeld Roscoff Briord Mauléon Angoulême Cannes Denain Le Mans Coulounieix-Chamiers Châteaufort Montrouge Croix Cognac Gray, Haute-Saône Cesson-Sévigné Allauch Saint-Jean-de-Moirans Milly-la-Forêt Bonneville Saint-Marcel Ermont Saint-Louis Bayeux Bréhal Buzançais Créteil Cornillé Escalquens Douarnenez Vichy Chémeré-le-Roi Le Petit-Quevilly Panazol Fraisses Jarnac-Champagne Wissous Vincennes Basse-Terre Argenteuil Bouguenais Saint-André-lez-Lille 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 Lorient Émerainville Lezennes Suresnes Sarre-Union Pibrac Briare Ugine Clamart Bétheny Aïcirits-Camou-Suhast Fort-de-France Saint-Quentin Lédenon Roissy-en-Brie 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 Saint-Cloud Charnay-lès-Mâcon Annonay Terssac Toulon Lagorce Nevers Saint-Genis-Pouilly Saint-Genest-d'Ambière Valence Montgeron Saint-Julien-en-Genevois Étuz Hautot-le-Vatois Igny Azereix Noisiel Templemars Andrézieux-Bouthéon Charleville-Mézières Lestrem Labège Saint-Ours Gennevilliers Étain Colombes Dieppe Tournan-en-Brie Boulogne-sur-Mer Montigny-le-Bretonneux Mont-Saint-Aignan Arques Guyancourt Maisons-Alfort Écully Mulhouse 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 Tournefeuille Oulins Raismes Douai Anzin Le Grand-Quevilly La Seyne-sur-Mer Malakoff Pontivy Marcigny La Selle-en-Luitré Samois-sur-Seine Bourbon-l'Archambault Saint-Égrève La Madeleine Bièvres Sausheim Les Avirons Wasselonne Papeete Lohéac Grans Tarbes Aix-les-Bains Limonest Maubeuge Domancy Corbeil-Essonnes Fresnoy-le-Grand Furiani Avon, Seine-et-Marne Mutzig Feucherolles La Farlède Vaumeilh Guer Servon Saint-Étienne 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 Vaulx-en-Velin Orly Haguenau Bellac Cachan Couëron Romans-sur-Isère Caen Bourg-en-Bresse Fécamp Tourcoing Dembeni Bordes Élancourt Poissy Le Port Marcy-l'Étoile Brie-Comte-Robert Dunkirk Yerres Cayenne Hem Lognes Saint-Marcel Chauny Saint-Grégoire Corsica Gémenos La Chapelle-Saint-Mesmin Issoire Abbeville Orvault Villefrancœur Lectoure Pierre-Buffière Gif-sur-Yvette Honfleur Tours Avrillé Amboise Bazainville Ruillé-sur-Loir Metz-Tessy Avrainville Chalezeule Cogolin Saint-Germain-en-Laye Avignon Corbas Orsay Auray Bastia Romainville Orléans Les Herbiers Cluny Libourne Lisieux Montluçon Grande-Synthe Nancy Voreppe Saint-Maur-des-Fossés Le Plessis-Belleville Troyes Cergy Hangenbieten
Saint-Étienne, Meudon and Perpignan are the headquarters of less number of social groups or authority organs located than Baerenthal
Saint-Étienne Meudon Perpignan
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type social group
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type authority organ
action count
action filter_multi_types
action find_reverse
entity Baerenthal
relation headquarters location
type social group
type authority organ
[[{'concept': 'social group'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?d WHERE { VALUES ( ?e ) { ( ontology:authority_organ ) ( ontology:social_group ) } . ?u rdf:type ?e } GROUP BY ?d } . FILTER ( ?b < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:headquarters_location resource:Baerenthal . { VALUES ( ?o ) { ( ontology:social_group ) ( ontology:authority_organ ) } . ?n rdf:type ?o } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1469245
P159
Q20667921 Q874405 Q895526
USER
And what about Ormes?
(c(Q874405)|c(Q895526),P159,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q874405
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q1469245
relation P159
type Q874405
type Q895526
[[{'concept': 'Q874405'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P159 resource:Q1469245 . { { ?h rdf:type ontology:Q874405 } UNION { ?h rdf:type ontology:Q895526 } } } } . FILTER ( ?i < ?q ) . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?i ) WHERE { { ?e property:P159 ?u . ?e rdf:type ontology:Q874405 . ?u rdf:type ontology:Q20667921 } UNION { ?e property:P159 ?u . ?e rdf:type ontology:Q895526 . ?u rdf:type ontology:Q20667921 } } GROUP BY ?u } }
Ormes
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type social group
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type authority organ
action count
action filter_multi_types
action find_reverse
entity Ormes
relation headquarters location
type social group
type authority organ
[[{'concept': 'social group'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:headquarters_location resource:Ormes . { { ?h rdf:type ontology:social_group } UNION { ?h rdf:type ontology:authority_organ } } } } . FILTER ( ?i < ?q ) . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?i ) WHERE { { ?e property:headquarters_location ?u . ?e rdf:type ontology:social_group . ?u rdf:type ontology:type_of_french_administrative_division } UNION { ?e property:headquarters_location ?u . ?e rdf:type ontology:authority_organ . ?u rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?u } }
[]
type of french administrative division social group authority organ
Q42716 Q234735 Q6730
SYSTEM
Saint-Étienne, Meudon, Perpignan
Q22438 Q205537 Q753708 Q1047751 Q317433 Q1226504 Q192393 Q1416478 Q206961 Q1004486 Q182872 Q816117 Q632276 Q22660 Q216844 Q214600 Q212793 Q404445 Q363100 Q372882 Q615159 Q838334 Q1727156 Q22810 Q46712 Q253939 Q1018637 Q259107 Q274683 Q271068 Q50189 Q256137 Q696996 Q316452 Q675232 Q337636 Q194002 Q9733 Q219383 Q42807 Q636993 Q126675 Q659327 Q71469 Q213555 Q201982 Q134674 Q211121 Q21948474 Q269430 Q163108 Q1152867 Q21347 Q21346 Q1389275 Q194141 Q208794 Q194145 Q1342783 Q6593 Q241575 Q960827 Q124126 Q578683 Q233733 Q429770 Q188750 Q383388 Q247627 Q1169872 Q816094 Q191415 Q635643 Q658928 Q212274 Q668446 Q1111084 Q202374 Q234735 Q219045 Q47135 Q613323 Q491948 Q22697 Q22690 Q238429 Q819837 Q565982 Q38380 Q369954 Q132671 Q477013 Q13947 Q1146338 Q386778 Q694905 Q220592 Q175999 Q274774 Q474768 Q735931 Q274412 Q476687 Q235739 Q185066 Q236658 Q163795 Q752979 Q184047 Q1066554 Q467132 Q457389 Q10235 Q107501 Q609134 Q117551 Q241064 Q171800 Q366383 Q1081604 Q1103338 Q279681 Q630193 Q324027 Q727297 Q200832 Q20441 Q609047 Q334301 Q213285 Q174234 Q203529 Q132404 Q273017 Q794124 Q231554 Q6730 Q208943 Q160506 Q239908 Q863574 Q752150 Q1384871 Q637676 Q174247 Q207614 Q185721 Q1106922 Q161884 Q651379 Q175081 Q242497 Q192481 Q240286 Q1008824 Q1064869 Q1602947 Q392169 Q265657 Q910089 Q244725 Q1323215 Q1615759 Q326520 Q760624 Q213515 Q549536 Q730148 Q323727 Q12193 Q828625 Q579807 Q372218 Q174019 Q205592 Q202565 Q243868 Q476895 Q191856 Q627252 Q477174 Q37719 Q208538 Q235382 Q243915 Q269952 Q1119799 Q225451 Q16121 Q22776 Q245297 Q211706 Q669021 Q134346 Q39984 Q212959 Q1476 Q746946 Q272420 Q241021 Q239091 Q285 Q265332 Q227795 Q269862 Q1067807 Q549750 Q460795 Q648073 Q239123 Q384516 Q183910 Q268062 Q454445 Q46135 Q223692 Q1428824 Q240189 Q93351 Q1171684 Q268362 Q1078810 Q1066090 Q1144900 Q264637 Q193819 Q167024 Q181946 Q291197 Q728517 Q526378 Q242536 Q626342 Q1138493 Q1471382 Q160199 Q387447 Q237394 Q72248 Q841518 Q1069988 Q21298 Q193370 Q728033 Q132790 Q675537 Q192378 Q71724 Q271604 Q658561 Q193929 Q21569 Q733833 Q818443 Q694800 Q194160 Q666278 Q188658 Q81621 Q182744 Q376986 Q1058168 Q213315 Q1087218 Q632445 Q212987 Q22727 Q863563 Q264416 Q21511 Q463951 Q238310 Q1421965 Q331087 Q868513 Q958857 Q777493 Q174251 Q46375 Q246199 Q191765 Q189153 Q1423628 Q238366 Q963292 Q44160 Q382855 Q166997 Q332416 Q637695 Q8848 Q242569 Q368160 Q291094 Q724403 Q1166034 Q1110747 Q900479 Q763901 Q1066223 Q47383 Q1026879 Q1467149 Q752053 Q221968 Q59724 Q174002 Q183557 Q258059 Q81997 Q240798 Q1055925 Q851278 Q237303 Q208314 Q273748 Q79815 Q338877 Q234728 Q128466 Q212947 Q947069 Q997294 Q1067432 Q517466 Q1344726 Q1172798 Q21997 Q205584 Q205580 Q382095 Q3581 Q193861 Q1066398 Q280296 Q41139 Q833394 Q1022934 Q399366 Q632969 Q328022 Q961186 Q664934 Q193826 Q544220 Q655572 Q208866 Q253721 Q55905 Q279310 Q1063150 Q250106 Q245080 Q1069745 Q842003 Q114877 Q495474 Q1014814 Q22413 Q130800 Q626582 Q675950 Q184023 Q181955 Q605677 Q138648 Q841345 Q208812 Q852904 Q637279 Q791277 Q22390 Q273897 Q817733 Q1094779 Q69990 Q271678 Q42716 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 Q13596 Q236058 Q22730 Q214597 Q209005 Q631274 Q239078 Q41185 Q133069 Q269732 Q182481 Q2087041 Q1058597 Q240546 Q457 Q956943 Q1469416 Q250399 Q45797 Q319933 Q44401 Q1047719 Q268281 Q1388467 Q269833 Q220159 Q14112 Q264277 Q1157701 Q133824 Q28520 Q271407 Q1169745 Q473919 Q626156 Q208851 Q231720 Q288 Q791403 Q205116 Q83427 Q767320 Q912302 Q1103869 Q836443 Q658651 Q185075 Q6397 Q1651173 Q372281 Q62958 Q134698 Q372111 Q6548 Q577452 Q192982 Q6544 Q188743 Q193256 Q769160 Q40898 Q752466 Q193313 Q629891 Q5489 Q193903 Q21262
(c(Q874405)|c(Q895526),P159,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q874405
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q1469245
relation P159
type Q874405
type Q895526
[ANSWERS]
[[{'concept': 'Q874405'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P159 resource:Q1469245 . { { ?h rdf:type ontology:Q874405 } UNION { ?h rdf:type ontology:Q895526 } } } } . FILTER ( ?i < ?q ) . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?i ) WHERE { { ?e property:P159 ?u . ?e rdf:type ontology:Q874405 . ?u rdf:type ontology:Q20667921 } UNION { ?e property:P159 ?u . ?e rdf:type ontology:Q895526 . ?u rdf:type ontology:Q20667921 } } GROUP BY ?u } }
Entzheim Épernay Giromagny Chappes Les Mureaux Ruaudin Évry Incheville Épinay-sur-Seine Macau Fontainebleau Neauphle-le-Château Fontevraud-l'Abbaye Illkirch-Graffenstaden 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 Thiais Bondoufle Saint-Sébastien-sur-Loire Batilly Nouméa Saint-Uze Nîmes Marnes-la-Coquette Chantilly Chens-sur-Léman Corbie Corte Clichy Bayonne Aubenas Val-d'Oust Bourg-lès-Valence Saint-Malo Montesquieu-Volvestre Eckbolsheim Reichstett Verneuil-en-Halatte Draguignan Lunéville Château-Thierry Tours-sur-Marne Vannes 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 Nogent-sur-Marne Saint-Berthevin La Crèche Châteaulin Meudon Longjumeau Châlons-en-Champagne Aniche Les Clayes-sous-Bois Molsheim Metz Bezons Durtal Annecy-le-Vieux Angers Bry-sur-Marne Pau Champagnole Centre-Val de Loire Cerizay Pertuis Fourchambault Blanquefort Le Pré-Saint-Gervais Viviers Plouzané L'Isle-Jourdain Bédarieux Trégueux Saint-Chamond Cholet La Garenne-Colombes Valenciennes Montoire-sur-le-Loir Aubagne Auberchicourt Arcueil Marcoussis Beynost Sarcelles Joinville-le-Pont Champs-sur-Yonne Villepinte Évreux Mézidon-Canon Seyssinet-Pariset Onnaing Thouars Saint-Aignan-Grandlieu Pierrelatte Romilly-sur-Seine Morteau Quetigny Carros Berck Castelsarrasin Aurillac Lons-le-Saunier Bourges Évian-les-Bains Saint-Rémy-lès-Chevreuse La Ciotat Perpignan Bagnolet Saint-Denis Saint-Pol-de-Léon Saint-Martin-de-Valgalgues Paray-Vieille-Poste La Ménitré Sommières Mâcon Figeac Bar-le-Duc L'Horme Bagneux Janville Gap Tremblay-en-France Talence Lamballe Bernin Montesquieu Saint-Vallier Sentheim Vert-le-Petit Saint-Genis-Laval La Courneuve Saint-Pé-de-Bigorre Saint-Cyr-au-Mont-d'Or Cestas Mantes-la-Ville Ancenis Limeil-Brévannes Contres Loos-en-Gohelle Brest Villebon-sur-Yvette Crolles Plaisir Béziers Antony Coutances Saint-Martin-d'Hères Nogent-sur-Seine Oyonnax Aubière Lambres Beaurainville Vierzon Quimperlé Aimargues Magny-Cours Toussus-le-Noble Villeneuve-la-Garenne Beaune Benfeld Roscoff Briord Mauléon Angoulême Cannes Denain Le Mans Coulounieix-Chamiers Châteaufort Montrouge Croix Cognac Gray, Haute-Saône Cesson-Sévigné Allauch Saint-Jean-de-Moirans Milly-la-Forêt Bonneville Saint-Marcel Ermont Saint-Louis Bayeux Bréhal Buzançais Créteil Cornillé Escalquens Douarnenez Vichy Chémeré-le-Roi Le Petit-Quevilly Panazol Fraisses Jarnac-Champagne Wissous Vincennes Basse-Terre Argenteuil Bouguenais Saint-André-lez-Lille 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 Lorient Émerainville Lezennes Suresnes Sarre-Union Pibrac Briare Ugine Clamart Bétheny Aïcirits-Camou-Suhast Fort-de-France Saint-Quentin Lédenon Roissy-en-Brie 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 Saint-Cloud Charnay-lès-Mâcon Annonay Terssac Toulon Lagorce Nevers Saint-Genis-Pouilly Saint-Genest-d'Ambière Valence Montgeron Saint-Julien-en-Genevois Étuz Hautot-le-Vatois Igny Azereix Noisiel Templemars Andrézieux-Bouthéon Charleville-Mézières Lestrem Labège Saint-Ours Gennevilliers Étain Colombes Dieppe Tournan-en-Brie Boulogne-sur-Mer Montigny-le-Bretonneux Mont-Saint-Aignan Arques Guyancourt Maisons-Alfort Écully Mulhouse 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 Tournefeuille Oulins Raismes Douai Anzin Le Grand-Quevilly La Seyne-sur-Mer Malakoff Pontivy Marcigny La Selle-en-Luitré Samois-sur-Seine Bourbon-l'Archambault Saint-Égrève La Madeleine Bièvres Sausheim Les Avirons Wasselonne Papeete Lohéac Grans Tarbes Aix-les-Bains Limonest Maubeuge Domancy Corbeil-Essonnes Fresnoy-le-Grand Furiani Avon, Seine-et-Marne Mutzig Feucherolles La Farlède Vaumeilh Guer Servon Saint-Étienne 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 Vaulx-en-Velin Orly Haguenau Bellac Cachan Couëron Romans-sur-Isère Caen Bourg-en-Bresse Fécamp Tourcoing Dembeni Bordes Élancourt Poissy Le Port Marcy-l'Étoile Brie-Comte-Robert Dunkirk Yerres Cayenne Hem Lognes Saint-Marcel Chauny Saint-Grégoire Corsica Gémenos La Chapelle-Saint-Mesmin Issoire Abbeville Orvault Villefrancœur Lectoure Pierre-Buffière Gif-sur-Yvette Honfleur Tours Avrillé Amboise Bazainville Ruillé-sur-Loir Metz-Tessy Avrainville Chalezeule Cogolin Saint-Germain-en-Laye Avignon Corbas Orsay Auray Bastia Romainville Orléans Les Herbiers Cluny Libourne Lisieux Montluçon Grande-Synthe Nancy Voreppe Saint-Maur-des-Fossés Le Plessis-Belleville Troyes Cergy Hangenbieten
Saint-Étienne Meudon Perpignan
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type social group
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type authority organ
action count
action filter_multi_types
action find_reverse
entity Ormes
relation headquarters location
type social group
type authority organ
[[{'concept': 'social group'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:headquarters_location resource:Ormes . { { ?h rdf:type ontology:social_group } UNION { ?h rdf:type ontology:authority_organ } } } } . FILTER ( ?i < ?q ) . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?i ) WHERE { { ?e property:headquarters_location ?u . ?e rdf:type ontology:social_group . ?u rdf:type ontology:type_of_french_administrative_division } UNION { ?e property:headquarters_location ?u . ?e rdf:type ontology:authority_organ . ?u rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?u } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q42716 Q937678
P17
Q15617994
USER
How many administrative territories are Saint-Étienne or Turkey women's national football team located in ?
(Q42716,P17,c(Q15617994)) (Q937678,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q42716
relation P17
type Q15617994
action filter_type
action find
entity Q937678
relation P17
type Q15617994
['Q42716', 'P17', {'concept': 'Q15617994'}] ['Q937678', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { ?g rdf:type ontology:Q15617994 . resource:Q42716 property:P17 ?g } UNION { resource:Q937678 property:P17 ?g . ?g rdf:type ontology:Q15617994 } }
Saint-Étienne Turkey women's national football team
action count
action union
action filter_type
action find
entity Saint-Étienne
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Turkey women's national football team
relation country
type designation for an administrative territorial entity
['Saint-Étienne', 'country', {'concept': 'designation for an administrative territorial entity'}] ["Turkey women's national football team", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Saint-Étienne property:country ?g } UNION { resource:Turkey_women's_national_football_team property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q142 Q43
(Q42716,P17,c(Q15617994)) (Q937678,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q42716
relation P17
type Q15617994
action filter_type
action find
entity Q937678
relation P17
type Q15617994
[ANSWER]
['Q42716', 'P17', {'concept': 'Q15617994'}] ['Q937678', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { ?g rdf:type ontology:Q15617994 . resource:Q42716 property:P17 ?g } UNION { resource:Q937678 property:P17 ?g . ?g rdf:type ontology:Q15617994 } }
France Turkey
2
action count
action union
action filter_type
action find
entity Saint-Étienne
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Turkey women's national football team
relation country
type designation for an administrative territorial entity
['Saint-Étienne', 'country', {'concept': 'designation for an administrative territorial entity'}] ["Turkey women's national football team", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Saint-Étienne property:country ?g } UNION { resource:Turkey_women's_national_football_team property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42716
P1444
Q878123
USER
Which racings end their journey at Saint-Étienne ?
(c(Q878123),P1444,Q42716)
action filter_type
action find_reverse
entity Q42716
relation P1444
type Q878123
[{'concept': 'Q878123'}, 'P1444', 'Q42716']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q878123 . ?m property:P1444 resource:Q42716 }
Saint-Étienne
action filter_type
action find_reverse
entity Saint-Étienne
relation destination point
type racing
[{'concept': 'racing'}, 'destination point', 'Saint-Étienne']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:racing . ?m property:destination_point resource:Saint-Étienne }
[]
racing
Q446637 Q17335715
SYSTEM
2005 Tour de France, Stage 20, 2014 Tour de France, Stage 12
Q446637 Q17335715
(c(Q878123),P1444,Q42716)
action filter_type
action find_reverse
entity Q42716
relation P1444
type Q878123
[ANSWERS]
[{'concept': 'Q878123'}, 'P1444', 'Q42716']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q878123 . ?m property:P1444 resource:Q42716 }
2005 Tour de France, Stage 20 2014 Tour de France, Stage 12
2005 Tour de France, Stage 20 and 2014 Tour de France, Stage 12 end their journey at Saint-Étienne
2005 Tour de France, Stage 20 2014 Tour de France, Stage 12
action filter_type
action find_reverse
entity Saint-Étienne
relation destination point
type racing
[{'concept': 'racing'}, 'destination point', 'Saint-Étienne']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:racing . ?m property:destination_point resource:Saint-Étienne }
[]
Clarification
Simple Question|Single Entity|Indirect
Q446637
P1427
Q20667921
USER
Which french administrative division is a start point of that racing ?
(Q446637,P1427,c(Q20667921))
action filter_type
action find
entity Q446637
relation P1427
type Q20667921
['Q446637', 'P1427', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q446637 property:P1427 ?m . ?m rdf:type ontology:Q20667921 }
2005 Tour de France, Stage 20
action filter_type
action find
entity 2005 Tour de France, Stage 20
relation start point
type type of french administrative division
['2005 Tour de France, Stage 20', 'start point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:2005_Tour_de_France,_Stage_20 property:start_point ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q446637
SYSTEM
Did you mean 2005 Tour de France, Stage 20 ?
Q446637 Q17335715
(Q446637,P1427,c(Q20667921)) (Q17335715,P1427,c(Q20667921))
[ANSWER]
['Q446637', 'P1427', {'concept': 'Q20667921'}] ['Q17335715', 'P1427', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q446637 property:P1427 ?m . ?m rdf:type ontology:Q20667921 }
2005 Tour de France, Stage 20 2014 Tour de France, Stage 12
Did you mean 2005 Tour de France, Stage 20 ?
2005 Tour de France, Stage 20
['2005 Tour de France, Stage 20', 'start point', {'concept': 'type of french administrative division'}] ['2014 Tour de France, Stage 12', 'start point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:2005_Tour_de_France,_Stage_20 property:start_point ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q446637,P1427,c(Q20667921))
['Q446637', 'P1427', {'concept': 'Q20667921'}]
['2005 Tour de France, Stage 20', 'start point', {'concept': 'type of french administrative division'}]
[]
Q42716
SYSTEM
Saint-Étienne
Q42716
(Q446637,P1427,c(Q20667921))
action filter_type
action find
entity Q446637
relation P1427
type Q20667921
[ANSWER] is a start point of that racing
['Q446637', 'P1427', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q446637 property:P1427 ?m . ?m rdf:type ontology:Q20667921 }
Saint-Étienne
Saint-Étienne is a start point of that racing
Saint-Étienne
action filter_type
action find
entity 2005 Tour de France, Stage 20
relation start point
type type of french administrative division
['2005 Tour de France, Stage 20', 'start point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:2005_Tour_de_France,_Stage_20 property:start_point ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q42716 Q6225
P190
Q56061
USER
Is Coventry the sister city of that french administrative division ?
(Q42716,P190,Q6225)
action is_in
entity Q6225
action find
entity Q42716
relation P190
['Q42716', 'P190', 'Q6225']
ASK WHERE { resource:Q42716 property:P190 resource:Q6225 }
Saint-Étienne Coventry
action is_in
entity Coventry
action find
entity Saint-Étienne
relation sister city
['Saint-Étienne', 'sister city', 'Coventry']
ASK WHERE { resource:Saint-Étienne property:sister_city resource:Coventry }
[]
administrative territorial entity
SYSTEM
YES
(Q42716,P190,Q6225)
action is_in
entity Q6225
action find
entity Q42716
relation P190
[ANSWER]
['Q42716', 'P190', 'Q6225']
ASK WHERE { resource:Q42716 property:P190 resource:Q6225 }
Yes
action is_in
entity Coventry
action find
entity Saint-Étienne
relation sister city
['Saint-Étienne', 'sister city', 'Coventry']
ASK WHERE { resource:Saint-Étienne property:sister_city resource:Coventry }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42716
P6
Q502895
USER
Which person does that french administrative division serve as the head of government for ?
action filter_type
action find
entity Q42716
relation P6
type Q502895
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q42716 property:P6 ?g }
Saint-Étienne
action filter_type
action find
entity Saint-Étienne
relation head of government
type common name
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Saint-Étienne property:head_of_government ?g }
[]
common name
Q17497010
SYSTEM
Gaël Perdriau
Q17497010
action filter_type
action find
entity Q42716
relation P6
type Q502895
[ANSWER] that french administrative division serves as the head of government for
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q42716 property:P6 ?g }
Gaël Perdriau
Gaël Perdriau that french administrative division serves as the head of government for
Gaël Perdriau
action filter_type
action find
entity Saint-Étienne
relation head of government
type common name
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Saint-Étienne property:head_of_government ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q1048835 Q2088357 Q7725634
USER
How many political territories are the origin of atmost 335 musical ensembles and literary works ?
(c(Q2088357)|c(Q7725634),P495,c(Q1048835))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q7725634
value 335
[[{'concept': 'Q2088357'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?s ) WHERE { { ?f property:P495 ?n . ?n rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q2088357 } UNION { ?f property:P495 ?n . ?f rdf:type ontology:Q7725634 . ?n rdf:type ontology:Q1048835 } } GROUP BY ?n } . FILTER ( ?s <= 335 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type literary work
value 335
[[{'concept': 'musical ensemble'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?s ) WHERE { { ?f property:country_of_origin ?n . ?n rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:musical_ensemble } UNION { ?f property:country_of_origin ?n . ?f rdf:type ontology:literary_work . ?n rdf:type ontology:political_territorial_entity } } GROUP BY ?n } . FILTER ( ?s <= 335 ) }
[]
political territorial entity musical ensemble literary work
SYSTEM
24
Q1000 Q1747689 Q838261 Q183 Q769 Q763 Q664 Q766 Q1054923 Q13353 Q781 Q5705 Q1823 Q35 Q407199 Q778 Q691 Q234 Q2991382 Q40 Q9337 Q23635 Q31747 Q129286
(c(Q2088357)|c(Q7725634),P495,c(Q1048835))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q7725634
value 335
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?s ) WHERE { { ?f property:P495 ?n . ?n rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q2088357 } UNION { ?f property:P495 ?n . ?f rdf:type ontology:Q7725634 . ?n rdf:type ontology:Q1048835 } } GROUP BY ?n } . FILTER ( ?s <= 335 ) }
Gabon Ancient Rome Federal Republic of Yugoslavia Germany Grenada Saint Kitts and Nevis New Zealand Jamaica British Hong Kong Montserrat Antigua and Barbuda Catalonia Aceh Denmark Palestinian territories The Bahamas Papua New Guinea Flemish Region County of Provence Austria Flemish Region Bermuda Irish Free State British Raj
24
action count
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type literary work
value 335
[[{'concept': 'musical ensemble'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?s ) WHERE { { ?f property:country_of_origin ?n . ?n rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:musical_ensemble } UNION { ?f property:country_of_origin ?n . ?f rdf:type ontology:literary_work . ?n rdf:type ontology:political_territorial_entity } } GROUP BY ?n } . FILTER ( ?s <= 335 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5058738 Q436491
P190
Q515
USER
What are a sister city of Altea or Dănești ?
OR((c(Q515),P190,Q436491), (c(Q515),P190,Q5058738))
action filter_type
action union
action find_reverse
entity Q436491
relation P190
action find_reverse
entity Q5058738
relation P190
type Q515
{'OR': [[{'concept': 'Q515'}, 'P190', 'Q436491'], [{'concept': 'Q515'}, 'P190', 'Q5058738']]}
SELECT DISTINCT ?x WHERE { { ?x property:P190 ?g . VALUES ( ?g ) { ( resource:Q436491 ) ( resource:Q5058738 ) } } . ?x rdf:type ontology:Q515 }
Dănești Altea
action filter_type
action union
action find_reverse
entity Altea
relation sister city
action find_reverse
entity Dănești
relation sister city
type city
{'OR': [[{'concept': 'city'}, 'sister city', 'Altea'], [{'concept': 'city'}, 'sister city', 'Dănești']]}
SELECT DISTINCT ?x WHERE { { ?x property:sister_city ?g . VALUES ( ?g ) { ( resource:Altea ) ( resource:Dănești ) } } . ?x rdf:type ontology:city }
[]
city
Q587746 Q613813 Q855073 Q1000056
SYSTEM
Siret, Kőszeg, Solt, Sušice
Q587746 Q613813 Q855073 Q1000056
OR((c(Q515),P190,Q436491), (c(Q515),P190,Q5058738))
action filter_type
action union
action find_reverse
entity Q436491
relation P190
action find_reverse
entity Q5058738
relation P190
type Q515
A sister city of Altea or Dănești are also [ANSWERS]
{'OR': [[{'concept': 'Q515'}, 'P190', 'Q436491'], [{'concept': 'Q515'}, 'P190', 'Q5058738']]}
SELECT DISTINCT ?x WHERE { { ?x property:P190 ?g . VALUES ( ?g ) { ( resource:Q436491 ) ( resource:Q5058738 ) } } . ?x rdf:type ontology:Q515 }
Siret Kőszeg Solt Sušice
A sister city of Altea or Dănești are also Siret, Kőszeg, Solt and Sušice
Siret Kőszeg Solt Sušice
action filter_type
action union
action find_reverse
entity Altea
relation sister city
action find_reverse
entity Dănești
relation sister city
type city
{'OR': [[{'concept': 'city'}, 'sister city', 'Altea'], [{'concept': 'city'}, 'sister city', 'Dănești']]}
SELECT DISTINCT ?x WHERE { { ?x property:sister_city ?g . VALUES ( ?g ) { ( resource:Altea ) ( resource:Dănești ) } } . ?x rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5058738
P1376
Q56061
USER
Which administrative territory is the county seat for Dănești ?
(c(Q56061),P1376,Q5058738)
action filter_type
action find_reverse
entity Q5058738
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q5058738']
SELECT DISTINCT ?p WHERE { ?p property:P1376 resource:Q5058738 . ?p rdf:type ontology:Q56061 }
Dănești
action filter_type
action find_reverse
entity Dănești
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Dănești']
SELECT DISTINCT ?p WHERE { ?p property:capital_of resource:Dănești . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q875814
SYSTEM
Dănești
Q875814
(c(Q56061),P1376,Q5058738)
action filter_type
action find_reverse
entity Q5058738
relation P1376
type Q56061
Ia [ANSWER] is the county seat for [ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q5058738']
SELECT DISTINCT ?p WHERE { ?p property:P1376 resource:Q5058738 . ?p rdf:type ontology:Q56061 }
Dănești
Ia Dănești is the county seat for Dănești
Dănești
action filter_type
action find_reverse
entity Dănești
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Dănești']
SELECT DISTINCT ?p WHERE { ?p property:capital_of resource:Dănești . ?p rdf:type ontology:administrative_territorial_entity }
[]