Simple Question (Direct)
Simple Question
Q3588789
P19
Q20667921
USER
Which french administrative division is the place of birth of Émile Vrand ?
(Q3588789,P19,c(Q20667921))
action filter_type
action find
entity Q3588789
relation P19
type Q20667921
['Q3588789', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q3588789 property:P19 ?x . ?x rdf:type ontology:Q20667921 }
Émile Vrand
action filter_type
action find
entity Émile Vrand
relation place of birth
type type of french administrative division
['Émile Vrand', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Émile_Vrand property:place_of_birth ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q163795
SYSTEM
Valenciennes
Q163795
(Q3588789,P19,c(Q20667921))
action filter_type
action find
entity Q3588789
relation P19
type Q20667921
[ANSWER] is the place of birth of Émile Vrand
['Q3588789', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q3588789 property:P19 ?x . ?x rdf:type ontology:Q20667921 }
Valenciennes
Valenciennes is the place of birth of Émile Vrand
Valenciennes
action filter_type
action find
entity Émile Vrand
relation place of birth
type type of french administrative division
['Émile Vrand', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Émile_Vrand property:place_of_birth ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q163795
P47
Q20667921
USER
Who share the border with that one ?
(Q163795,P47,c(Q20667921))
action filter_type
action find
entity Q163795
relation P47
type Q20667921
['Q163795', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q163795 property:P47 ?e . ?e rdf:type ontology:Q20667921 }
Valenciennes
action filter_type
action find
entity Valenciennes
relation shares border with
type type of french administrative division
['Valenciennes', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:Valenciennes property:shares_border_with ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1066768 Q1048618 Q937793
SYSTEM
Bruay-sur-l'Escaut, Aulnoy-lez-Valenciennes, Marly
Q544220 Q1101167 Q612724 Q937793 Q1066768 Q1048618 Q1101255 Q1443214
(Q163795,P47,c(Q20667921))
action filter_type
action find
entity Q163795
relation P47
type Q20667921
[ANSWERS] share the border with that one
['Q163795', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q163795 property:P47 ?e . ?e rdf:type ontology:Q20667921 }
Anzin Saint-Saulve Petite-Forêt Marly Bruay-sur-l'Escaut Aulnoy-lez-Valenciennes Trith-Saint-Léger La Sentinelle
Bruay-sur-l'Escaut, Aulnoy-lez-Valenciennes and Marly share the border with that one
Bruay-sur-l'Escaut Aulnoy-lez-Valenciennes Marly
action filter_type
action find
entity Valenciennes
relation shares border with
type type of french administrative division
['Valenciennes', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:Valenciennes property:shares_border_with ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163795
P6
Q502895
USER
Which person is Valenciennes the head of goverment of ?
(Q163795,P6,c(Q502895))
action filter_type
action find
entity Q163795
relation P6
type Q502895
['Q163795', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q163795 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Valenciennes
action filter_type
action find
entity Valenciennes
relation head of government
type common name
['Valenciennes', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Valenciennes property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
common name
Q17177077
SYSTEM
Laurent Degallaix
Q17177077
(Q163795,P6,c(Q502895))
action filter_type
action find
entity Q163795
relation P6
type Q502895
[ANSWER] is Valenciennes the head of goverment of
['Q163795', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q163795 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Laurent Degallaix
Laurent Degallaix is Valenciennes the head of goverment of
Laurent Degallaix
action filter_type
action find
entity Valenciennes
relation head of government
type common name
['Valenciennes', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Valenciennes property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163795
P1376
Q20667921
USER
Which french administrative divisions have Valenciennes have their first city ?
(Q163795,P1376,c(Q20667921))
action filter_type
action find
entity Q163795
relation P1376
type Q20667921
['Q163795', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q163795 property:P1376 ?c . ?c rdf:type ontology:Q20667921 }
Valenciennes
action filter_type
action find
entity Valenciennes
relation capital of
type type of french administrative division
['Valenciennes', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Valenciennes property:capital_of ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q19647197 Q1727736 Q1727733
SYSTEM
canton of Valenciennes, canton of Valenciennes-Est, canton of Valenciennes-Nord
Q19647197 Q1727736 Q1727733 Q1727741
(Q163795,P1376,c(Q20667921))
action filter_type
action find
entity Q163795
relation P1376
type Q20667921
[ANSWERS] have Valenciennes have their first city
['Q163795', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q163795 property:P1376 ?c . ?c rdf:type ontology:Q20667921 }
canton of Valenciennes canton of Valenciennes-Est canton of Valenciennes-Nord canton of Valenciennes-Sud
Canton of Valenciennes, canton of Valenciennes-Est and canton of Valenciennes-Nord have Valenciennes have their first city
canton of Valenciennes canton of Valenciennes-Est canton of Valenciennes-Nord
action filter_type
action find
entity Valenciennes
relation capital of
type type of french administrative division
['Valenciennes', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Valenciennes property:capital_of ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1163737
Q20667921
USER
And how about L'Isle-en-Dodon?
(Q1163737,P1376,c(Q20667921))
action filter_type
action find
entity Q1163737
relation P1376
type Q20667921
['Q1163737', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q1163737 property:P1376 ?a . ?a rdf:type ontology:Q20667921 }
L'Isle-en-Dodon
action filter_type
action find
entity L'Isle-en-Dodon
relation capital of
type type of french administrative division
["L'Isle-en-Dodon", 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:L'Isle-en-Dodon property:capital_of ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1280152
SYSTEM
canton of L'Isle-en-Dodon
Q1280152
(Q1163737,P1376,c(Q20667921))
action filter_type
action find
entity Q1163737
relation P1376
type Q20667921
[ANSWER]
['Q1163737', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q1163737 property:P1376 ?a . ?a rdf:type ontology:Q20667921 }
canton of L'Isle-en-Dodon
canton of L'Isle-en-Dodon
action filter_type
action find
entity L'Isle-en-Dodon
relation capital of
type type of french administrative division
["L'Isle-en-Dodon", 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:L'Isle-en-Dodon property:capital_of ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q219383
P159
Q20667921 Q43229 Q874405
USER
Which french administrative divisions are the headquarters of less number of organizations and social groups located than Saint-Uze ?
(c(Q43229)|c(Q874405),P159,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q43229
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q219383
relation P159
type Q43229
type Q874405
[[{'concept': 'Q43229'}, {'concept': 'Q874405'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { { ?e property:P159 ?k . ?k rdf:type ontology:Q20667921 . ?e rdf:type ontology:Q874405 } UNION { ?k rdf:type ontology:Q20667921 . ?e rdf:type ontology:Q43229 . ?e property:P159 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:P159 resource:Q219383 . { { ?g rdf:type ontology:Q43229 } UNION { ?g rdf:type ontology:Q874405 } } } } . FILTER ( ?q < ?m ) }
Saint-Uze
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type organization
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type social group
action count
action filter_multi_types
action find_reverse
entity Saint-Uze
relation headquarters location
type organization
type social group
[[{'concept': 'organization'}, {'concept': 'social group'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { { ?e property:headquarters_location ?k . ?k rdf:type ontology:type_of_french_administrative_division . ?e rdf:type ontology:social_group } UNION { ?k rdf:type ontology:type_of_french_administrative_division . ?e rdf:type ontology:organization . ?e property:headquarters_location ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:headquarters_location resource:Saint-Uze . { { ?g rdf:type ontology:organization } UNION { ?g rdf:type ontology:social_group } } } } . FILTER ( ?q < ?m ) }
[]
type of french administrative division organization social group
Q234735 Q42807 Q38380
SYSTEM
Meudon, Nîmes, Angers
Q753708 Q1226504 Q1416478 Q1004486 Q816117 Q632276 Q404445 Q363100 Q615159 Q253939 Q1018637 Q274683 Q9733 Q42807 Q126675 Q659327 Q71469 Q213555 Q134674 Q21948474 Q269430 Q1152867 Q1389275 Q194141 Q208794 Q194145 Q960827 Q233733 Q429770 Q188750 Q383388 Q1169872 Q816094 Q658928 Q212274 Q1111084 Q234735 Q219045 Q47135 Q613323 Q38380 Q369954 Q694905 Q175999 Q274774 Q476687 Q163795 Q752979 Q184047 Q171800 Q279681 Q727297 Q20441 Q334301 Q213285 Q203529 Q273017 Q794124 Q239908 Q863574 Q752150 Q637676 Q185721 Q651379 Q175081 Q192481 Q1064869 Q910089 Q1615759 Q213515 Q323727 Q828625 Q372218 Q202565 Q243868 Q627252 Q477174 Q37719 Q208538 Q1119799 Q225451 Q272420 Q265332 Q648073 Q239123 Q384516 Q183910 Q454445 Q223692 Q1428824 Q1171684 Q268362 Q1066090 Q167024 Q291197 Q242536 Q626342 Q1069988 Q132790 Q192378 Q733833 Q694800 Q194160 Q666278 Q81621 Q376986 Q1058168 Q213315 Q212987 Q331087 Q958857 Q777493 Q46375 Q246199 Q189153 Q44160 Q637695 Q8848 Q242569 Q368160 Q724403 Q752053 Q272906 Q1055925 Q208314 Q234728 Q212947 Q947069 Q1344726 Q205584 Q205580 Q1066398 Q280296 Q41139 Q1022934 Q632969 Q544220 Q655572 Q1063150 Q245080 Q1069745 Q1014814 Q130800 Q675950 Q605677 Q138648 Q208812 Q637279 Q791277 Q22390 Q69990 Q271678 Q1063932 Q193895 Q180083 Q211923 Q6625 Q6588 Q474555 Q120161 Q208770 Q214597 Q631274 Q133069 Q269732 Q2087041 Q1058597 Q250399 Q319933 Q44401 Q269833 Q14112 Q133824 Q28520 Q271407 Q626156 Q208851 Q767320 Q836443 Q185075 Q6397 Q62958 Q372111 Q192982 Q188743 Q40898 Q21262
(c(Q43229)|c(Q874405),P159,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q43229
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q219383
relation P159
type Q43229
type Q874405
[ANSWERS] are the headquarters of less number of organizations and social groups located than Saint-Uze
[[{'concept': 'Q43229'}, {'concept': 'Q874405'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { { ?e property:P159 ?k . ?k rdf:type ontology:Q20667921 . ?e rdf:type ontology:Q874405 } UNION { ?k rdf:type ontology:Q20667921 . ?e rdf:type ontology:Q43229 . ?e property:P159 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:P159 resource:Q219383 . { { ?g rdf:type ontology:Q43229 } UNION { ?g rdf:type ontology:Q874405 } } } } . FILTER ( ?q < ?m ) }
Giromagny Ruaudin Incheville Macau Neauphle-le-Château Fontevraud-l'Abbaye Aiglepierre Miribel Ludes Pierrefitte-sur-Seine Méolans-Revel Abrest Nouméa Nîmes Chantilly Chens-sur-Léman Corbie Corte Bayonne Val-d'Oust Bourg-lès-Valence Montesquieu-Volvestre Verneuil-en-Halatte Draguignan Lunéville Château-Thierry Saint-Chef Ferney-Voltaire La Possession Saint-Estèphe Lillers Villebarou Signes Ay Nogent-sur-Marne La Crèche Meudon Longjumeau Châlons-en-Champagne Aniche Angers Bry-sur-Marne Fourchambault Le Pré-Saint-Gervais Viviers Trégueux Valenciennes Montoire-sur-le-Loir Aubagne Évreux Thouars Romilly-sur-Seine Quetigny Berck Castelsarrasin Lons-le-Saunier Évian-les-Bains Saint-Rémy-lès-Chevreuse Saint-Pol-de-Léon Saint-Martin-de-Valgalgues Paray-Vieille-Poste Sommières Bar-le-Duc Janville Gap Talence Montesquieu Saint-Genis-Laval Saint-Cyr-au-Mont-d'Or Ancenis Loos-en-Gohelle Villebon-sur-Yvette Plaisir Coutances Saint-Martin-d'Hères Aubière Lambres Beaurainville Vierzon Toussus-le-Noble Villeneuve-la-Garenne Châteaufort Gray, Haute-Saône Saint-Marcel Ermont Saint-Louis Bayeux Buzançais Cornillé Escalquens Chémeré-le-Roi Le Petit-Quevilly Fraisses Basse-Terre Bouguenais Champs-sur-Marne Trébeurden Écaquelon Biarritz Champigny-sur-Marne Pibrac Ugine Clamart Bétheny Fort-de-France Lédenon Roissy-en-Brie Parthenay Choisy-le-Roi Creil Roumazières-Loubert Taissy Darois Garches Saint-Cloud Toulon Saint-Genest-d'Ambière Valence Montgeron Saint-Julien-en-Genevois Hautot-le-Vatois Saint-Ours Le Bourget Mont-Saint-Aignan Maisons-Alfort Vanves Châtillon Le Lamentin Donneville Étampes Palaiseau Saint-Priest-en-Jarez Tain-l'Hermitage Melun Faaa Plombières-les-Bains Anzin Le Grand-Quevilly La Selle-en-Luitré Bourbon-l'Archambault Saint-Égrève Les Avirons Papeete Grans Limonest Maubeuge Corbeil-Essonnes Furiani Avon, Seine-et-Marne Mutzig Guer Servon Chouilly Lattes Menton Les Sables-d'Olonne Agen Périgueux Castelnau-le-Lez Saint-Florent-le-Vieil Villefranche-sur-Saône Bellac Couëron Bourg-en-Bresse Fécamp Dembeni Bordes Brie-Comte-Robert Yerres Cayenne Chauny Corsica Issoire Abbeville Orvault Pierre-Buffière Gif-sur-Yvette Ruillé-sur-Loir Chalezeule Saint-Germain-en-Laye Avignon Auray Romainville Cluny Lisieux Nancy Hangenbieten
Meudon, Nîmes and Angers are the headquarters of less number of organizations and social groups located than Saint-Uze
Meudon Nîmes Angers
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type organization
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type social group
action count
action filter_multi_types
action find_reverse
entity Saint-Uze
relation headquarters location
type organization
type social group
[[{'concept': 'organization'}, {'concept': 'social group'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { { ?e property:headquarters_location ?k . ?k rdf:type ontology:type_of_french_administrative_division . ?e rdf:type ontology:social_group } UNION { ?k rdf:type ontology:type_of_french_administrative_division . ?e rdf:type ontology:organization . ?e property:headquarters_location ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:headquarters_location resource:Saint-Uze . { { ?g rdf:type ontology:organization } UNION { ?g rdf:type ontology:social_group } } } } . FILTER ( ?q < ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q819837
P159
Q20667921 Q43229 Q874405
USER
And what about Durtal?
(c(Q43229)|c(Q874405),P159,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q43229
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q819837
relation P159
type Q43229
type Q874405
[[{'concept': 'Q43229'}, {'concept': 'Q874405'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?i WHERE { VALUES ( ?v ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } . ?g rdf:type ?v } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:P159 resource:Q819837 . { ?d rdf:type ?o . VALUES ( ?o ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } } } } . FILTER ( ?z < ?j ) }
Durtal
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type organization
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type social group
action count
action filter_multi_types
action find_reverse
entity Durtal
relation headquarters location
type organization
type social group
[[{'concept': 'organization'}, {'concept': 'social group'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?i WHERE { VALUES ( ?v ) { ( ontology:organization ) ( ontology:social_group ) } . ?g rdf:type ?v } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:headquarters_location resource:Durtal . { ?d rdf:type ?o . VALUES ( ?o ) { ( ontology:organization ) ( ontology:social_group ) } } } } . FILTER ( ?z < ?j ) }
[]
type of french administrative division organization social group
Q234735 Q42807 Q38380
SYSTEM
Meudon, Nîmes, Angers
Q753708 Q1226504 Q1416478 Q1004486 Q816117 Q632276 Q404445 Q363100 Q615159 Q253939 Q1018637 Q274683 Q9733 Q42807 Q126675 Q659327 Q71469 Q213555 Q134674 Q21948474 Q269430 Q1152867 Q1389275 Q194141 Q208794 Q194145 Q960827 Q233733 Q429770 Q188750 Q383388 Q1169872 Q816094 Q658928 Q212274 Q1111084 Q234735 Q219045 Q47135 Q613323 Q38380 Q369954 Q694905 Q175999 Q274774 Q476687 Q163795 Q752979 Q184047 Q171800 Q279681 Q727297 Q20441 Q334301 Q213285 Q203529 Q273017 Q794124 Q239908 Q863574 Q752150 Q637676 Q185721 Q651379 Q175081 Q192481 Q1064869 Q910089 Q1615759 Q213515 Q323727 Q828625 Q372218 Q202565 Q243868 Q627252 Q477174 Q37719 Q208538 Q1119799 Q225451 Q272420 Q265332 Q648073 Q239123 Q384516 Q183910 Q454445 Q223692 Q1428824 Q1171684 Q268362 Q1066090 Q167024 Q291197 Q242536 Q626342 Q1069988 Q132790 Q192378 Q733833 Q694800 Q194160 Q666278 Q81621 Q376986 Q1058168 Q213315 Q212987 Q331087 Q958857 Q777493 Q46375 Q246199 Q189153 Q44160 Q637695 Q8848 Q242569 Q368160 Q724403 Q752053 Q272906 Q1055925 Q208314 Q234728 Q212947 Q947069 Q1344726 Q205584 Q205580 Q1066398 Q280296 Q41139 Q1022934 Q632969 Q544220 Q655572 Q1063150 Q245080 Q1069745 Q1014814 Q130800 Q675950 Q605677 Q138648 Q208812 Q637279 Q791277 Q22390 Q69990 Q271678 Q1063932 Q193895 Q180083 Q211923 Q6625 Q6588 Q474555 Q120161 Q208770 Q214597 Q631274 Q133069 Q269732 Q2087041 Q1058597 Q250399 Q319933 Q44401 Q269833 Q14112 Q133824 Q28520 Q271407 Q626156 Q208851 Q767320 Q836443 Q185075 Q6397 Q62958 Q372111 Q192982 Q188743 Q40898 Q21262
(c(Q43229)|c(Q874405),P159,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q43229
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q819837
relation P159
type Q43229
type Q874405
[ANSWERS]
[[{'concept': 'Q43229'}, {'concept': 'Q874405'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?i WHERE { VALUES ( ?v ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } . ?g rdf:type ?v } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:P159 resource:Q819837 . { ?d rdf:type ?o . VALUES ( ?o ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } } } } . FILTER ( ?z < ?j ) }
Giromagny Ruaudin Incheville Macau Neauphle-le-Château Fontevraud-l'Abbaye Aiglepierre Miribel Ludes Pierrefitte-sur-Seine Méolans-Revel Abrest Nouméa Nîmes Chantilly Chens-sur-Léman Corbie Corte Bayonne Val-d'Oust Bourg-lès-Valence Montesquieu-Volvestre Verneuil-en-Halatte Draguignan Lunéville Château-Thierry Saint-Chef Ferney-Voltaire La Possession Saint-Estèphe Lillers Villebarou Signes Ay Nogent-sur-Marne La Crèche Meudon Longjumeau Châlons-en-Champagne Aniche Angers Bry-sur-Marne Fourchambault Le Pré-Saint-Gervais Viviers Trégueux Valenciennes Montoire-sur-le-Loir Aubagne Évreux Thouars Romilly-sur-Seine Quetigny Berck Castelsarrasin Lons-le-Saunier Évian-les-Bains Saint-Rémy-lès-Chevreuse Saint-Pol-de-Léon Saint-Martin-de-Valgalgues Paray-Vieille-Poste Sommières Bar-le-Duc Janville Gap Talence Montesquieu Saint-Genis-Laval Saint-Cyr-au-Mont-d'Or Ancenis Loos-en-Gohelle Villebon-sur-Yvette Plaisir Coutances Saint-Martin-d'Hères Aubière Lambres Beaurainville Vierzon Toussus-le-Noble Villeneuve-la-Garenne Châteaufort Gray, Haute-Saône Saint-Marcel Ermont Saint-Louis Bayeux Buzançais Cornillé Escalquens Chémeré-le-Roi Le Petit-Quevilly Fraisses Basse-Terre Bouguenais Champs-sur-Marne Trébeurden Écaquelon Biarritz Champigny-sur-Marne Pibrac Ugine Clamart Bétheny Fort-de-France Lédenon Roissy-en-Brie Parthenay Choisy-le-Roi Creil Roumazières-Loubert Taissy Darois Garches Saint-Cloud Toulon Saint-Genest-d'Ambière Valence Montgeron Saint-Julien-en-Genevois Hautot-le-Vatois Saint-Ours Le Bourget Mont-Saint-Aignan Maisons-Alfort Vanves Châtillon Le Lamentin Donneville Étampes Palaiseau Saint-Priest-en-Jarez Tain-l'Hermitage Melun Faaa Plombières-les-Bains Anzin Le Grand-Quevilly La Selle-en-Luitré Bourbon-l'Archambault Saint-Égrève Les Avirons Papeete Grans Limonest Maubeuge Corbeil-Essonnes Furiani Avon, Seine-et-Marne Mutzig Guer Servon Chouilly Lattes Menton Les Sables-d'Olonne Agen Périgueux Castelnau-le-Lez Saint-Florent-le-Vieil Villefranche-sur-Saône Bellac Couëron Bourg-en-Bresse Fécamp Dembeni Bordes Brie-Comte-Robert Yerres Cayenne Chauny Corsica Issoire Abbeville Orvault Pierre-Buffière Gif-sur-Yvette Ruillé-sur-Loir Chalezeule Saint-Germain-en-Laye Avignon Auray Romainville Cluny Lisieux Nancy Hangenbieten
Meudon Nîmes Angers
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type organization
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type social group
action count
action filter_multi_types
action find_reverse
entity Durtal
relation headquarters location
type organization
type social group
[[{'concept': 'organization'}, {'concept': 'social group'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?i WHERE { VALUES ( ?v ) { ( ontology:organization ) ( ontology:social_group ) } . ?g rdf:type ?v } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:headquarters_location resource:Durtal . { ?d rdf:type ?o . VALUES ( ?o ) { ( ontology:organization ) ( ontology:social_group ) } } } } . FILTER ( ?z < ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q42807 Q2906391
P17
Q15617994
USER
How many administrative territories are Nîmes or Bleizi Ruz present in ?
(Q42807,P17,c(Q15617994)) (Q2906391,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q42807
relation P17
type Q15617994
action filter_type
action find
entity Q2906391
relation P17
type Q15617994
['Q42807', 'P17', {'concept': 'Q15617994'}] ['Q2906391', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { VALUES ( ?u ) { ( resource:Q42807 ) ( resource:Q2906391 ) } . ?u property:P17 ?a }
Nîmes Bleizi Ruz
action count
action union
action filter_type
action find
entity Nîmes
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Bleizi Ruz
relation country
type designation for an administrative territorial entity
['Nîmes', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bleizi Ruz', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { VALUES ( ?u ) { ( resource:Nîmes ) ( resource:Bleizi_Ruz ) } . ?u property:country ?a }
[]
designation for an administrative territorial entity
SYSTEM
2
Q142 Q29
(Q42807,P17,c(Q15617994)) (Q2906391,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q42807
relation P17
type Q15617994
action filter_type
action find
entity Q2906391
relation P17
type Q15617994
[ANSWER]
['Q42807', 'P17', {'concept': 'Q15617994'}] ['Q2906391', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { VALUES ( ?u ) { ( resource:Q42807 ) ( resource:Q2906391 ) } . ?u property:P17 ?a }
France Spain
2
action count
action union
action filter_type
action find
entity Nîmes
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Bleizi Ruz
relation country
type designation for an administrative territorial entity
['Nîmes', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bleizi Ruz', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { VALUES ( ?u ) { ( resource:Nîmes ) ( resource:Bleizi_Ruz ) } . ?u property:country ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q355304 Q1267889 Q20667921
USER
How many french administrative divisions are located nearby approximately 1 watercourses or waterways ?
(c(Q20667921),P206,c(Q355304)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?s WHERE { { ?s property:P206 ?o . ?s rdf:type ontology:Q20667921 . ?o rdf:type ontology:Q355304 } UNION { ?s property:P206 ?o . ?s rdf:type ontology:Q20667921 . ?o rdf:type ontology:Q1267889 } } GROUP BY ?s } . FILTER ( ?n = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?s WHERE { { ?s property:located_next_to_body_of_water ?o . ?s rdf:type ontology:type_of_french_administrative_division . ?o rdf:type ontology:watercourse } UNION { ?s property:located_next_to_body_of_water ?o . ?s rdf:type ontology:type_of_french_administrative_division . ?o rdf:type ontology:waterway } } GROUP BY ?s } . FILTER ( ?n = 1 ) }
[]
watercourse waterway type of french administrative division
SYSTEM
29
Q224023 Q245066 Q30974 Q877744 Q1221458 Q236736 Q160199 Q207253 Q675318 Q683550 Q1221814 Q849165 Q453263 Q1073039 Q921780 Q1162138 Q849065 Q849023 Q1031980 Q333447 Q382048 Q738523 Q1164176 Q1075733 Q1217913 Q545015 Q662229 Q273297 Q284445
(c(Q20667921),P206,c(Q355304)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[ANSWER]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?s WHERE { { ?s property:P206 ?o . ?s rdf:type ontology:Q20667921 . ?o rdf:type ontology:Q355304 } UNION { ?s property:P206 ?o . ?s rdf:type ontology:Q20667921 . ?o rdf:type ontology:Q1267889 } } GROUP BY ?s } . FILTER ( ?n = 1 ) }
Penvénan Chouvigny Rouen Le Portel Saint-Quintin-sur-Sioule Vernon Cherbourg-Octeville Mantes-la-Jolie Bussières-et-Pruns Urville-Nacqueville Menat Saint-Bonnet-de-Rochefort Pleumeur-Bodou Poses Val-de-Reuil Isches Bègues Mazerier Escalles Aigueperse Tardinghen Saint-Gal-sur-Sioule Saint-Léonard La Roche-de-Glun Saint-Agoulin Chaptuzat Jenzat Ébreuil Pontgibaud
29
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?s WHERE { { ?s property:located_next_to_body_of_water ?o . ?s rdf:type ontology:type_of_french_administrative_division . ?o rdf:type ontology:watercourse } UNION { ?s property:located_next_to_body_of_water ?o . ?s rdf:type ontology:type_of_french_administrative_division . ?o rdf:type ontology:waterway } } GROUP BY ?s } . FILTER ( ?n = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q42807
P138
Q48204 Q17444909
USER
How many voluntary associations or astronomical object types have Nîmes as their namesake ?
(c(Q48204),P138,Q42807) (c(Q17444909),P138,Q42807)
action count
action union
action filter_type
action find_reverse
entity Q42807
relation P138
type Q48204
action filter_type
action find_reverse
entity Q42807
relation P138
type Q17444909
[{'concept': 'Q48204'}, 'P138', 'Q42807'] [{'concept': 'Q17444909'}, 'P138', 'Q42807']
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { ?p property:P138 resource:Q42807 . ?p rdf:type ontology:Q48204 } UNION { ?p rdf:type ontology:Q17444909 . ?p property:P138 resource:Q42807 } }
Nîmes
action count
action union
action filter_type
action find_reverse
entity Nîmes
relation named after
type voluntary association
action filter_type
action find_reverse
entity Nîmes
relation named after
type astronomical object type
[{'concept': 'voluntary association'}, 'named after', 'Nîmes'] [{'concept': 'astronomical object type'}, 'named after', 'Nîmes']
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { ?p property:named_after resource:Nîmes . ?p rdf:type ontology:voluntary_association } UNION { ?p rdf:type ontology:astronomical_object_type . ?p property:named_after resource:Nîmes } }
[]
voluntary association astronomical object type
SYSTEM
2
Q109937 Q2822319
(c(Q48204),P138,Q42807) (c(Q17444909),P138,Q42807)
action count
action union
action filter_type
action find_reverse
entity Q42807
relation P138
type Q48204
action filter_type
action find_reverse
entity Q42807
relation P138
type Q17444909
[ANSWER]
[{'concept': 'Q48204'}, 'P138', 'Q42807'] [{'concept': 'Q17444909'}, 'P138', 'Q42807']
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { ?p property:P138 resource:Q42807 . ?p rdf:type ontology:Q48204 } UNION { ?p rdf:type ontology:Q17444909 . ?p property:P138 resource:Q42807 } }
51 Nemausa Académie de Nîmes
2
action count
action union
action filter_type
action find_reverse
entity Nîmes
relation named after
type voluntary association
action filter_type
action find_reverse
entity Nîmes
relation named after
type astronomical object type
[{'concept': 'voluntary association'}, 'named after', 'Nîmes'] [{'concept': 'astronomical object type'}, 'named after', 'Nîmes']
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { ?p property:named_after resource:Nîmes . ?p rdf:type ontology:voluntary_association } UNION { ?p rdf:type ontology:astronomical_object_type . ?p property:named_after resource:Nîmes } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42807
P551
Q502895
USER
Which people dwell at that french administrative division ?
action filter_type
action find_reverse
entity Q42807
relation P551
type Q502895
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P551 resource:Q42807 }
Nîmes
action filter_type
action find_reverse
entity Nîmes
relation residence
type common name
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:residence resource:Nîmes }
[]
common name
Q2829892 Q220425 Q552048
SYSTEM
Alain Guyard, Virginie Razzano, Jonathan Dasnières de Veigy
Q2829892 Q7608197 Q220425 Q552048
action filter_type
action find_reverse
entity Q42807
relation P551
type Q502895
[ANSWERS] dwell at that french administrative division
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P551 resource:Q42807 }
Alain Guyard Stephane Sansoni Virginie Razzano Jonathan Dasnières de Veigy
Alain Guyard, Virginie Razzano and Jonathan Dasnières de Veigy dwell at that french administrative division
Alain Guyard Virginie Razzano Jonathan Dasnières de Veigy
action filter_type
action find_reverse
entity Nîmes
relation residence
type common name
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:residence resource:Nîmes }
[]