Simple Question (Direct)
Simple Question
Q176830
P47
Q20667921
USER
Who share the border with Mézerville ?
(Q176830,P47,c(Q20667921))
action filter_type
action find
entity Q176830
relation P47
type Q20667921
['Q176830', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q20667921 . resource:Q176830 property:P47 ?o }
Mézerville
action filter_type
action find
entity Mézerville
relation shares border with
type type of french administrative division
['Mézerville', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:type_of_french_administrative_division . resource:Mézerville property:shares_border_with ?o }
[]
type of french administrative division
Q193546 Q176463 Q192312
SYSTEM
Belpech, Peyrefitte-sur-l'Hers, Molandier
Q176463 Q1086994 Q1083546 Q193546 Q192312 Q1086408
(Q176830,P47,c(Q20667921))
action filter_type
action find
entity Q176830
relation P47
type Q20667921
[ANSWERS] share the border with Mézerville
['Q176830', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q20667921 . resource:Q176830 property:P47 ?o }
Peyrefitte-sur-l'Hers Saint-Sernin Sainte-Camelle Belpech Molandier La Louvière-Lauragais
Belpech, Peyrefitte-sur-l'Hers and Molandier share the border with Mézerville
Belpech Peyrefitte-sur-l'Hers Molandier
action filter_type
action find
entity Mézerville
relation shares border with
type type of french administrative division
['Mézerville', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:type_of_french_administrative_division . resource:Mézerville property:shares_border_with ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q176830
P17
Q15617994
USER
Which administrative territory does Mézerville belong to ?
(Q176830,P17,c(Q15617994))
action filter_type
action find
entity Q176830
relation P17
type Q15617994
['Q176830', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q176830 property:P17 ?x }
Mézerville
action filter_type
action find
entity Mézerville
relation country
type designation for an administrative territorial entity
['Mézerville', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mézerville property:country ?x }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q176830,P17,c(Q15617994))
action filter_type
action find
entity Q176830
relation P17
type Q15617994
Mézerville belongs to [ANSWER]
['Q176830', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q176830 property:P17 ?x }
France
Mézerville belongs to France
France
action filter_type
action find
entity Mézerville
relation country
type designation for an administrative territorial entity
['Mézerville', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mézerville property:country ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P127
Q37654
USER
Which market belongs to that administrative territory ?
(c(Q37654),P127,Q142)
action filter_type
action find_reverse
entity Q142
relation P127
type Q37654
[{'concept': 'Q37654'}, 'P127', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q142 . ?w rdf:type ontology:Q37654 }
France
action filter_type
action find_reverse
entity France
relation owned by
type market
[{'concept': 'market'}, 'owned by', 'France']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:France . ?w rdf:type ontology:market }
[]
market
Q2010697
SYSTEM
Grande halle de la Villette
Q2010697
(c(Q37654),P127,Q142)
action filter_type
action find_reverse
entity Q142
relation P127
type Q37654
[ANSWER] belongs to that administrative territory
[{'concept': 'Q37654'}, 'P127', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q142 . ?w rdf:type ontology:Q37654 }
Grande halle de la Villette
Grande halle de la Villette belongs to that administrative territory
Grande halle de la Villette
action filter_type
action find_reverse
entity France
relation owned by
type market
[{'concept': 'market'}, 'owned by', 'France']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:France . ?w rdf:type ontology:market }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1440685
P138
Q20667921 Q502895 Q486972
USER
Which french administrative divisions are the origin of less number of people or human settlements than Belleville ?
(c(Q502895)|c(Q486972),P138,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q502895
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q1440685
relation P138
type Q502895
type Q486972
[[{'concept': 'Q502895'}, {'concept': 'Q486972'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?p WHERE { VALUES ( ?o ) { ( ontology:Q502895 ) ( ontology:Q486972 ) } . ?e rdf:type ?o } GROUP BY ?p } . FILTER ( ?g < ?u ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:P138 resource:Q1440685 . { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:Q502895 ) ( ontology:Q486972 ) } } } } }
Belleville
action less
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type common name
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type human settlement
action count
action filter_multi_types
action find_reverse
entity Belleville
relation named after
type common name
type human settlement
[[{'concept': 'common name'}, {'concept': 'human settlement'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?p WHERE { VALUES ( ?o ) { ( ontology:common_name ) ( ontology:human_settlement ) } . ?e rdf:type ?o } GROUP BY ?p } . FILTER ( ?g < ?u ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:named_after resource:Belleville . { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:common_name ) ( ontology:human_settlement ) } } } } }
[]
type of french administrative division common name human settlement
Q12193 Q154748 Q42807
SYSTEM
Brest, Verdun, Nîmes
Q205551 Q3769 Q521432 Q201352 Q901416 Q253721 Q456477 Q132801 Q191119 Q1172337 Q236579 Q1075237 Q321067 Q840218 Q326687 Q181946 Q160199 Q817418 Q842942 Q183910 Q626987 Q633254 Q190974 Q196360 Q180871 Q679894 Q166997 Q1440905 Q269364 Q2426877 Q138648 Q1391563 Q212793 Q2961727 Q6454 Q48958 Q208812 Q9155 Q208943 Q3241770 Q160506 Q193880 Q167152 Q840597 Q329664 Q1241308 Q209069 Q273702 Q181285 Q126668 Q59221 Q903665 Q7158 Q616668 Q264778 Q174032 Q229339 Q135265 Q208889 Q212274 Q161884 Q274327 Q28520 Q46135 Q205116 Q1476 Q154715 Q193899 Q30974 Q182744 Q459683 Q205632 Q623376 Q130994 Q217077 Q809414 Q213317 Q1073264 Q501933 Q694818 Q212987 Q474524 Q22640 Q181886 Q187796 Q193819 Q234270 Q238377 Q762471 Q234274 Q591741 Q729239 Q243866 Q474503 Q251731 Q126675 Q149419 Q1463559 Q201982 Q134674 Q474555 Q636299 Q605656 Q174257 Q471685 Q154724 Q165271 Q163108 Q211604 Q154728 Q12193 Q142410 Q207632 Q476887 Q22739 Q189153 Q22636 Q575565 Q209086 Q195098 Q18199435 Q625570 Q569751 Q209005 Q181269 Q736370 Q1111541 Q203645 Q16532200 Q13917 Q241021 Q387460 Q1080717 Q285 Q648164 Q567956 Q204051 Q193877 Q781078 Q202565 Q784536 Q1105062 Q468229 Q174247 Q900479 Q185721 Q1066223 Q1165029 Q148787 Q45797 Q163795 Q530593 Q463304 Q44401 Q212966 Q34001 Q213288 Q470959 Q47465 Q773318 Q14112 Q845975 Q689491 Q688262 Q404783 Q16121 Q22160 Q478105 Q271649 Q70285 Q23047 Q989788 Q1100414 Q154748 Q840164 Q134346 Q165090 Q202378 Q6588 Q212959 Q541007 Q968881 Q18199186 Q822303 Q474773 Q666180 Q12130 Q13103683 Q453492 Q208798 Q22690 Q22380 Q207570 Q22754 Q42807 Q22756 Q208794 Q317975 Q233909 Q79815 Q177573 Q206493 Q1217220 Q188750 Q241940 Q18102 Q3413275 Q128466 Q370224 Q288 Q171545 Q204979 Q167141 Q193903 Q131329 Q256175 Q216966 Q917770 Q3413171 Q532352 Q83432 Q279681 Q372111 Q1014746 Q6548 Q175999 Q199682 Q266958 Q6397 Q325946 Q6544 Q316891 Q3413267 Q1348608 Q837748 Q498869 Q40898 Q192548 Q93351 Q1047171 Q256004 Q272528 Q41139 Q191126 Q471902 Q3555080 Q399366 Q461413 Q947091 Q207620 Q467132 Q135104 Q1056120 Q181306 Q3413163 Q475599 Q845191 Q130272 Q221683 Q990774 Q6616 Q182872 Q331232 Q1110622 Q273917 Q20892 Q193826 Q832386
(c(Q502895)|c(Q486972),P138,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q502895
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q1440685
relation P138
type Q502895
type Q486972
[ANSWERS] are the origin of less number of people or human settlements than Belleville
[[{'concept': 'Q502895'}, {'concept': 'Q486972'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?p WHERE { VALUES ( ?o ) { ( ontology:Q502895 ) ( ontology:Q486972 ) } . ?e rdf:type ?o } GROUP BY ?p } . FILTER ( ?g < ?u ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:P138 resource:Q1440685 . { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:Q502895 ) ( ontology:Q486972 ) } } } } }
Mérignac French Guiana Saint-Marcellin Pontoise Lacaune Malakoff Chooz Albi Rambouillet Morogues Semur-en-Auxois Bailleau-Armenonville Nemours Barrême Banon Argenteuil Cherbourg-Octeville Joinville Bonneville-la-Louvet Bayeux Herment Morbier Oradour-sur-Glane Aisy-sur-Armançon Compiègne Aurignac Nevers Ramonville-Saint-Agne Joué-lès-Tours Épinettes Maubeuge Coulmiers Charenton-le-Pont Chavignol Calais Neuilly-sur-Seine Corbeil-Essonnes Lagny-sur-Marne Bagnolet Lion Saint-Denis Chaumont Soissons Le Croisic Le Creusot Passy Domrémy-la-Pucelle Rocroi Cambrai Senlis Vaucouleurs Liverdun Oms Pouligny-Saint-Pierre Loudes Crozant Champigneulles Issy-les-Moulineaux Saint-Ouen Nogent-sur-Marne Bagneux Saint-Maurice Abbeville Créteil Amboise Le Mans Montbéliard Fontenay-sous-Bois Rouen Saint-Quentin Sancerre Aubervilliers Volvic Colmar Camembert Thiézac Ambert Civry Taizé Sassenage Choisy-le-Roi Sainte-Maure-de-Touraine Thionville Châteaudun Orange Vincennes Montélimar Pont-Aven Ver-sur-Mer Manosque Goutte-d'Or Vimoutiers Olivet Valençay Coulommiers Chantilly Munster Villette Clichy Bayonne Castelnau-le-Lez Le Pradet Gèdre Beauvais Rambervillers Bobigny Lens Saint-Malo Montparnasse Toul Brest Dreux Apt Roquefort-sur-Soulzon Hettange-Grande Saint-Cloud Wissembourg Batignolles Pantin Frouard Charonne Langeac Termignon Cachan Alençon Bonneval-sur-Arc Costaros Chalon-sur-Saône Bercy Île-de-France Montrouge Sainte-Foy-lès-Lyon Champagne Cognac Antrain Isigny-sur-Mer Bonifacio Ivry-sur-Seine Euville Coutances Auteuil Wattignies-la-Victoire Corneville-sur-Risle Mâcon Noisiel Bar-le-Duc Andrézieux-Bouthéon Le Pouliguen Ottmarsheim Dunkirk Valenciennes Chaource Fontaine-de-Vaucluse Cayenne Pompey Roubaix Montbrison Voves Aix-en-Provence Bercy Corsica Caussols Tautavel Champaubert Aiguillon Beaune Phalsbourg Rungis Marcq-en-Barœul Étel Cahors Villersexel Taisnières-sur-Hon Verdun La Cadière-d'Azur Angoulême Chambéry Ouessant Périgueux Denain Le Malzieu-Ville Ternes Grenelle Saint-Nectaire Roquebrune-sur-Argens Maroilles Brittany La Chapelle Matignon Cavaillon Metz Créhange Thann Bitche Nîmes Spicheren Lunéville Châtelperron Alfortville Mulhouse Bagnoles Sèvres Laqueuille Saint-Estèphe Givet Saint-Mandé Gros-Caillou Villejuif Noisy-le-Sec Tours Belfort Vézelay Laon Cergy Arras Barbizon Uzès Solutré-Pouilly Picpus La Villette Viroflay Thouars Romainville Cilaos Orléans Le Pré-Saint-Gervais Floirac Rolleboise Avignon Landerneau Libourne Montmorency Bel-Air Varize Brétigny-sur-Orge Brienne-le-Château Nancy Saint-Émilion Vichy Balma Les Lilas Pauillac Melun Saintes Salles Vaugirard Chevreuse Pont-à-Mousson Romanèche-Thorins Meaux Arcueil Le Kremlin-Bicêtre Décines-Charpieu Digne-les-Bains Clignancourt Gien Javel Chartres Audierne Laguiole Poitiers Fontainebleau Chablis La Bouille Berrias-et-Casteljau Le Mont-Saint-Michel Douai Selles-sur-Cher
Brest, Verdun and Nîmes are the origin of less number of people or human settlements than Belleville
Brest Verdun Nîmes
action less
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type common name
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type human settlement
action count
action filter_multi_types
action find_reverse
entity Belleville
relation named after
type common name
type human settlement
[[{'concept': 'common name'}, {'concept': 'human settlement'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?p WHERE { VALUES ( ?o ) { ( ontology:common_name ) ( ontology:human_settlement ) } . ?e rdf:type ?o } GROUP BY ?p } . FILTER ( ?g < ?u ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:named_after resource:Belleville . { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:common_name ) ( ontology:human_settlement ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q208793
P138
Q20667921 Q502895 Q486972
USER
And also tell me about Saint-Omer?
(c(Q502895)|c(Q486972),P138,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q502895
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q208793
relation P138
type Q502895
type Q486972
[[{'concept': 'Q502895'}, {'concept': 'Q486972'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?f WHERE { { ?t property:P138 ?f . ?f rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P138 ?f . ?f rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q486972 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:P138 resource:Q208793 . { { ?c rdf:type ontology:Q486972 } UNION { ?c rdf:type ontology:Q502895 } } } } . FILTER ( ?o < ?e ) }
Saint-Omer
action less
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type common name
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type human settlement
action count
action filter_multi_types
action find_reverse
entity Saint-Omer
relation named after
type common name
type human settlement
[[{'concept': 'common name'}, {'concept': 'human settlement'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?f WHERE { { ?t property:named_after ?f . ?f rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:common_name } UNION { ?t property:named_after ?f . ?f rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:human_settlement } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:named_after resource:Saint-Omer . { { ?c rdf:type ontology:human_settlement } UNION { ?c rdf:type ontology:common_name } } } } . FILTER ( ?o < ?e ) }
[]
type of french administrative division common name human settlement
Q12193 Q154748 Q42807
SYSTEM
Brest, Verdun, Nîmes
Q205551 Q3769 Q521432 Q201352 Q901416 Q253721 Q456477 Q132801 Q191119 Q1172337 Q236579 Q1075237 Q321067 Q840218 Q326687 Q181946 Q160199 Q817418 Q842942 Q183910 Q626987 Q633254 Q190974 Q196360 Q180871 Q679894 Q166997 Q1440905 Q269364 Q2426877 Q138648 Q1391563 Q212793 Q2961727 Q6454 Q48958 Q208812 Q9155 Q208943 Q3241770 Q160506 Q193880 Q167152 Q840597 Q329664 Q1241308 Q209069 Q273702 Q181285 Q126668 Q59221 Q903665 Q7158 Q616668 Q264778 Q174032 Q229339 Q135265 Q208889 Q212274 Q161884 Q274327 Q28520 Q46135 Q205116 Q1476 Q154715 Q193899 Q30974 Q182744 Q459683 Q205632 Q623376 Q130994 Q217077 Q809414 Q213317 Q1073264 Q501933 Q694818 Q212987 Q474524 Q22640 Q181886 Q187796 Q193819 Q234270 Q238377 Q762471 Q234274 Q591741 Q729239 Q243866 Q474503 Q251731 Q126675 Q149419 Q1463559 Q201982 Q134674 Q474555 Q636299 Q605656 Q174257 Q471685 Q154724 Q165271 Q163108 Q211604 Q154728 Q12193 Q142410 Q207632 Q476887 Q22739 Q189153 Q22636 Q575565 Q209086 Q195098 Q18199435 Q625570 Q569751 Q209005 Q181269 Q736370 Q1111541 Q203645 Q16532200 Q13917 Q241021 Q387460 Q1080717 Q285 Q648164 Q567956 Q204051 Q193877 Q781078 Q202565 Q784536 Q1105062 Q468229 Q174247 Q900479 Q185721 Q1066223 Q1165029 Q148787 Q45797 Q163795 Q530593 Q463304 Q44401 Q212966 Q34001 Q213288 Q470959 Q47465 Q773318 Q14112 Q845975 Q689491 Q688262 Q404783 Q16121 Q22160 Q478105 Q271649 Q70285 Q23047 Q989788 Q1100414 Q154748 Q840164 Q134346 Q165090 Q202378 Q6588 Q212959 Q541007 Q968881 Q18199186 Q822303 Q474773 Q666180 Q12130 Q13103683 Q453492 Q208798 Q22690 Q22380 Q207570 Q22754 Q42807 Q22756 Q208794 Q317975 Q233909 Q79815 Q177573 Q206493 Q1217220 Q188750 Q241940 Q18102 Q3413275 Q128466 Q370224 Q288 Q171545 Q204979 Q167141 Q193903 Q131329 Q256175 Q216966 Q917770 Q3413171 Q532352 Q83432 Q279681 Q372111 Q1014746 Q6548 Q175999 Q199682 Q266958 Q6397 Q325946 Q6544 Q316891 Q3413267 Q1348608 Q837748 Q498869 Q40898 Q192548 Q93351 Q1047171 Q256004 Q272528 Q41139 Q191126 Q471902 Q3555080 Q399366 Q461413 Q947091 Q207620 Q467132 Q135104 Q1056120 Q181306 Q3413163 Q475599 Q845191 Q130272 Q221683 Q990774 Q6616 Q182872 Q331232 Q1110622 Q273917 Q20892 Q193826 Q832386
(c(Q502895)|c(Q486972),P138,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q502895
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q208793
relation P138
type Q502895
type Q486972
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q486972'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?f WHERE { { ?t property:P138 ?f . ?f rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P138 ?f . ?f rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q486972 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:P138 resource:Q208793 . { { ?c rdf:type ontology:Q486972 } UNION { ?c rdf:type ontology:Q502895 } } } } . FILTER ( ?o < ?e ) }
Mérignac French Guiana Saint-Marcellin Pontoise Lacaune Malakoff Chooz Albi Rambouillet Morogues Semur-en-Auxois Bailleau-Armenonville Nemours Barrême Banon Argenteuil Cherbourg-Octeville Joinville Bonneville-la-Louvet Bayeux Herment Morbier Oradour-sur-Glane Aisy-sur-Armançon Compiègne Aurignac Nevers Ramonville-Saint-Agne Joué-lès-Tours Épinettes Maubeuge Coulmiers Charenton-le-Pont Chavignol Calais Neuilly-sur-Seine Corbeil-Essonnes Lagny-sur-Marne Bagnolet Lion Saint-Denis Chaumont Soissons Le Croisic Le Creusot Passy Domrémy-la-Pucelle Rocroi Cambrai Senlis Vaucouleurs Liverdun Oms Pouligny-Saint-Pierre Loudes Crozant Champigneulles Issy-les-Moulineaux Saint-Ouen Nogent-sur-Marne Bagneux Saint-Maurice Abbeville Créteil Amboise Le Mans Montbéliard Fontenay-sous-Bois Rouen Saint-Quentin Sancerre Aubervilliers Volvic Colmar Camembert Thiézac Ambert Civry Taizé Sassenage Choisy-le-Roi Sainte-Maure-de-Touraine Thionville Châteaudun Orange Vincennes Montélimar Pont-Aven Ver-sur-Mer Manosque Goutte-d'Or Vimoutiers Olivet Valençay Coulommiers Chantilly Munster Villette Clichy Bayonne Castelnau-le-Lez Le Pradet Gèdre Beauvais Rambervillers Bobigny Lens Saint-Malo Montparnasse Toul Brest Dreux Apt Roquefort-sur-Soulzon Hettange-Grande Saint-Cloud Wissembourg Batignolles Pantin Frouard Charonne Langeac Termignon Cachan Alençon Bonneval-sur-Arc Costaros Chalon-sur-Saône Bercy Île-de-France Montrouge Sainte-Foy-lès-Lyon Champagne Cognac Antrain Isigny-sur-Mer Bonifacio Ivry-sur-Seine Euville Coutances Auteuil Wattignies-la-Victoire Corneville-sur-Risle Mâcon Noisiel Bar-le-Duc Andrézieux-Bouthéon Le Pouliguen Ottmarsheim Dunkirk Valenciennes Chaource Fontaine-de-Vaucluse Cayenne Pompey Roubaix Montbrison Voves Aix-en-Provence Bercy Corsica Caussols Tautavel Champaubert Aiguillon Beaune Phalsbourg Rungis Marcq-en-Barœul Étel Cahors Villersexel Taisnières-sur-Hon Verdun La Cadière-d'Azur Angoulême Chambéry Ouessant Périgueux Denain Le Malzieu-Ville Ternes Grenelle Saint-Nectaire Roquebrune-sur-Argens Maroilles Brittany La Chapelle Matignon Cavaillon Metz Créhange Thann Bitche Nîmes Spicheren Lunéville Châtelperron Alfortville Mulhouse Bagnoles Sèvres Laqueuille Saint-Estèphe Givet Saint-Mandé Gros-Caillou Villejuif Noisy-le-Sec Tours Belfort Vézelay Laon Cergy Arras Barbizon Uzès Solutré-Pouilly Picpus La Villette Viroflay Thouars Romainville Cilaos Orléans Le Pré-Saint-Gervais Floirac Rolleboise Avignon Landerneau Libourne Montmorency Bel-Air Varize Brétigny-sur-Orge Brienne-le-Château Nancy Saint-Émilion Vichy Balma Les Lilas Pauillac Melun Saintes Salles Vaugirard Chevreuse Pont-à-Mousson Romanèche-Thorins Meaux Arcueil Le Kremlin-Bicêtre Décines-Charpieu Digne-les-Bains Clignancourt Gien Javel Chartres Audierne Laguiole Poitiers Fontainebleau Chablis La Bouille Berrias-et-Casteljau Le Mont-Saint-Michel Douai Selles-sur-Cher
Brest Verdun Nîmes
action less
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type common name
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type human settlement
action count
action filter_multi_types
action find_reverse
entity Saint-Omer
relation named after
type common name
type human settlement
[[{'concept': 'common name'}, {'concept': 'human settlement'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?f WHERE { { ?t property:named_after ?f . ?f rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:common_name } UNION { ?t property:named_after ?f . ?f rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:human_settlement } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:named_after resource:Saint-Omer . { { ?c rdf:type ontology:human_settlement } UNION { ?c rdf:type ontology:common_name } } } } . FILTER ( ?o < ?e ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q12193 Q154748 Q42807
P47
Q20667921
USER
Which french administrative divisions do Brest, Verdun and Nîmes share a border with ?
(c(Q20667921),P47,Q12193) (c(Q20667921),P47,Q154748) (c(Q20667921),P47,Q42807)
action union
action filter_type
action find
entity Q12193
relation P47
type Q20667921
action filter_type
action find
entity Q154748
relation P47
type Q20667921
action filter_type
action find
entity Q42807
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q12193'] [{'concept': 'Q20667921'}, 'P47', 'Q154748'] [{'concept': 'Q20667921'}, 'P47', 'Q42807']
SELECT DISTINCT ?n WHERE { { resource:Q12193 property:P47 ?n . ?n rdf:type ontology:Q20667921 } UNION { resource:Q154748 property:P47 ?n . ?n rdf:type ontology:Q20667921 } }
Brest Verdun Nîmes
action union
action filter_type
action find
entity Brest
relation shares border with
type type of french administrative division
action filter_type
action find
entity Verdun
relation shares border with
type type of french administrative division
action filter_type
action find
entity Nîmes
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Brest'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Verdun'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Nîmes']
SELECT DISTINCT ?n WHERE { { resource:Brest property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division } UNION { resource:Verdun property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division } }
[]
type of french administrative division
Q243024 Q474768 Q325889
SYSTEM
Saint-Gilles, Plouzané, Guipavas
Q470883 Q474768 Q325889 Q226470 Q475740 Q328777 Q328795 Q212539 Q224276 Q981875 Q215529 Q680194 Q723959 Q223869 Q723986 Q1385052 Q426483 Q724313 Q477780 Q245609 Q841538 Q269637 Q844827 Q239867 Q379793 Q861981 Q244175 Q243024 Q269782 Q244297 Q261640 Q1009410 Q273202
(c(Q20667921),P47,Q12193) (c(Q20667921),P47,Q154748) (c(Q20667921),P47,Q42807)
action union
action filter_type
action find
entity Q12193
relation P47
type Q20667921
action filter_type
action find
entity Q154748
relation P47
type Q20667921
action filter_type
action find
entity Q42807
relation P47
type Q20667921
Brest , Verdun and Nîmes share a border with [ANSWERS]
[{'concept': 'Q20667921'}, 'P47', 'Q12193'] [{'concept': 'Q20667921'}, 'P47', 'Q154748'] [{'concept': 'Q20667921'}, 'P47', 'Q42807']
SELECT DISTINCT ?n WHERE { { resource:Q12193 property:P47 ?n . ?n rdf:type ontology:Q20667921 } UNION { resource:Q154748 property:P47 ?n . ?n rdf:type ontology:Q20667921 } }
Bohars Plouzané Guipavas Bourg-Blanc Milizac Gouesnou Guilers Haudainville Moulainville Sivry-la-Perche Nixéville-Blercourt Landrecourt-Lempire Belrupt-en-Verdunois Thierville-sur-Meuse Belleville-sur-Meuse Fromeréville-les-Vallons Belleray Eix Générac La Rouvière La Calmette Gajan Caveirac Parignargues Bouillargues Milhaud Dions Saint-Gilles Caissargues Marguerittes Rodilhan Sainte-Anastasie Poulx
Brest , Verdun and Nîmes share a border with Saint-Gilles, Plouzané and Guipavas
Saint-Gilles Plouzané Guipavas
action union
action filter_type
action find
entity Brest
relation shares border with
type type of french administrative division
action filter_type
action find
entity Verdun
relation shares border with
type type of french administrative division
action filter_type
action find
entity Nîmes
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Brest'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Verdun'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Nîmes']
SELECT DISTINCT ?n WHERE { { resource:Brest property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division } UNION { resource:Verdun property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q243024
P36
Q20667921
USER
Which french administrative division contains Saint-Gilles as its capital ?
(c(Q20667921),P36,Q243024)
action filter_type
action find_reverse
entity Q243024
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q243024']
SELECT DISTINCT ?p WHERE { ?p property:P36 resource:Q243024 . ?p rdf:type ontology:Q20667921 }
Saint-Gilles
action filter_type
action find_reverse
entity Saint-Gilles
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Saint-Gilles']
SELECT DISTINCT ?p WHERE { ?p property:capital resource:Saint-Gilles . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q573034
SYSTEM
canton of Saint-Gilles
Q573034
(c(Q20667921),P36,Q243024)
action filter_type
action find_reverse
entity Q243024
relation P36
type Q20667921
The [ANSWER] contains Saint-Gilles as its capital
[{'concept': 'Q20667921'}, 'P36', 'Q243024']
SELECT DISTINCT ?p WHERE { ?p property:P36 resource:Q243024 . ?p rdf:type ontology:Q20667921 }
canton of Saint-Gilles
The canton of Saint-Gilles contains Saint-Gilles as its capital
canton of Saint-Gilles
action filter_type
action find_reverse
entity Saint-Gilles
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Saint-Gilles']
SELECT DISTINCT ?p WHERE { ?p property:capital resource:Saint-Gilles . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q243024
P190
Q15617994
USER
Which administrative territory is twin city of Saint-Gilles ?
(Q243024,P190,c(Q15617994))
action filter_type
action find
entity Q243024
relation P190
type Q15617994
['Q243024', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q243024 property:P190 ?e . ?e rdf:type ontology:Q15617994 }
Saint-Gilles
action filter_type
action find
entity Saint-Gilles
relation sister city
type designation for an administrative territorial entity
['Saint-Gilles', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Saint-Gilles property:sister_city ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q216385
SYSTEM
Altopascio
Q216385
(Q243024,P190,c(Q15617994))
action filter_type
action find
entity Q243024
relation P190
type Q15617994
[ANSWER] is twin city of Saint-Gilles
['Q243024', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q243024 property:P190 ?e . ?e rdf:type ontology:Q15617994 }
Altopascio
Altopascio is twin city of Saint-Gilles
Altopascio
action filter_type
action find
entity Saint-Gilles
relation sister city
type designation for an administrative territorial entity
['Saint-Gilles', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Saint-Gilles property:sister_city ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]