Simple Question (Direct)
Simple Question
Q770311
P166
Q618779
USER
Which award was Ballay awarded with ?
(Q770311,P166,c(Q618779))
action filter_type
action find
entity Q770311
relation P166
type Q618779
['Q770311', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q618779 . resource:Q770311 property:P166 ?f }
Ballay
action filter_type
action find
entity Ballay
relation award received
type award
['Ballay', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:award . resource:Ballay property:award_received ?f }
[]
award
Q2727598
SYSTEM
Croix de guerre 1914–1918
Q2727598
(Q770311,P166,c(Q618779))
action filter_type
action find
entity Q770311
relation P166
type Q618779
Ballay was awarded the [ANSWER]
['Q770311', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q618779 . resource:Q770311 property:P166 ?f }
Croix de guerre 1914–1918
Ballay was awarded the Croix de guerre 1914–1918
Croix de guerre 1914–1918
action filter_type
action find
entity Ballay
relation award received
type award
['Ballay', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:award . resource:Ballay property:award_received ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q770311
P47
Q20667921
USER
Which french administrative divisions do Ballay share a border with ?
(c(Q20667921),P47,Q770311)
action filter_type
action find
entity Q770311
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q770311']
SELECT DISTINCT ?n WHERE { resource:Q770311 property:P47 ?n . ?n rdf:type ontology:Q20667921 }
Ballay
action filter_type
action find
entity Ballay
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Ballay']
SELECT DISTINCT ?n WHERE { resource:Ballay property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q209821 Q1018943 Q770243
SYSTEM
Vouziers, Boult-aux-Bois, Quatre-Champs
Q770243 Q722615 Q722619 Q1018943 Q209821 Q770207
(c(Q20667921),P47,Q770311)
action filter_type
action find
entity Q770311
relation P47
type Q20667921
Ballay share a border with the [ANSWERS]
[{'concept': 'Q20667921'}, 'P47', 'Q770311']
SELECT DISTINCT ?n WHERE { resource:Q770311 property:P47 ?n . ?n rdf:type ontology:Q20667921 }
Quatre-Champs La Croix-aux-Bois Vandy Boult-aux-Bois Vouziers Toges
Ballay share a border with the Vouziers, Boult-aux-Bois and Quatre-Champs
Vouziers Boult-aux-Bois Quatre-Champs
action filter_type
action find
entity Ballay
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Ballay']
SELECT DISTINCT ?n WHERE { resource:Ballay property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q209821
P190
Q15617994
USER
Which administrative territory is partner town of Vouziers ?
(Q209821,P190,c(Q15617994))
action filter_type
action find
entity Q209821
relation P190
type Q15617994
['Q209821', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q209821 property:P190 ?j }
Vouziers
action filter_type
action find
entity Vouziers
relation sister city
type designation for an administrative territorial entity
['Vouziers', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Vouziers property:sister_city ?j }
[]
designation for an administrative territorial entity
Q559966
SYSTEM
Gräfenroda
Q559966
(Q209821,P190,c(Q15617994))
action filter_type
action find
entity Q209821
relation P190
type Q15617994
[ANSWER] is partner town of Vouziers
['Q209821', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q209821 property:P190 ?j }
Gräfenroda
Gräfenroda is partner town of Vouziers
Gräfenroda
action filter_type
action find
entity Vouziers
relation sister city
type designation for an administrative territorial entity
['Vouziers', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Vouziers property:sister_city ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q46866
Q15617994
USER
And also tell me about Klingenthal?
(Q46866,P190,c(Q15617994))
action filter_type
action find
entity Q46866
relation P190
type Q15617994
['Q46866', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q46866 property:P190 ?v . ?v rdf:type ontology:Q15617994 }
Klingenthal
action filter_type
action find
entity Klingenthal
relation sister city
type designation for an administrative territorial entity
['Klingenthal', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Klingenthal property:sister_city ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q123833 Q5535
SYSTEM
Castelfidardo, Neuenrade
Q123833 Q5535
(Q46866,P190,c(Q15617994))
action filter_type
action find
entity Q46866
relation P190
type Q15617994
[ANSWERS]
['Q46866', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q46866 property:P190 ?v . ?v rdf:type ontology:Q15617994 }
Castelfidardo Neuenrade
Castelfidardo Neuenrade
action filter_type
action find
entity Klingenthal
relation sister city
type designation for an administrative territorial entity
['Klingenthal', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Klingenthal property:sister_city ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q123833
P20
Q16887380 Q502895
USER
How many groups and people expired at Castelfidardo ?
(c(Q16887380),P20,Q123833) (c(Q502895),P20,Q123833)
action count
action union
action filter_type
action find_reverse
entity Q123833
relation P20
type Q16887380
action filter_type
action find_reverse
entity Q123833
relation P20
type Q502895
[{'concept': 'Q16887380'}, 'P20', 'Q123833'] [{'concept': 'Q502895'}, 'P20', 'Q123833']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k rdf:type ontology:Q16887380 . ?k property:P20 resource:Q123833 } UNION { ?k rdf:type ontology:Q502895 . ?k property:P20 resource:Q123833 } }
Castelfidardo
action count
action union
action filter_type
action find_reverse
entity Castelfidardo
relation place of death
type group
action filter_type
action find_reverse
entity Castelfidardo
relation place of death
type common name
[{'concept': 'group'}, 'place of death', 'Castelfidardo'] [{'concept': 'common name'}, 'place of death', 'Castelfidardo']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k rdf:type ontology:group . ?k property:place_of_death resource:Castelfidardo } UNION { ?k rdf:type ontology:common_name . ?k property:place_of_death resource:Castelfidardo } }
[]
group common name
SYSTEM
1 groups and 3 people
Q23984334 Q3103708 Q3752366 Q23984333
(c(Q16887380),P20,Q123833) (c(Q502895),P20,Q123833)
action count
action union
action filter_type
action find_reverse
entity Q123833
relation P20
type Q16887380
action filter_type
action find_reverse
entity Q123833
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q16887380'}, 'P20', 'Q123833'] [{'concept': 'Q502895'}, 'P20', 'Q123833']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k rdf:type ontology:Q16887380 . ?k property:P20 resource:Q123833 } UNION { ?k rdf:type ontology:Q502895 . ?k property:P20 resource:Q123833 } }
Paolo Brancondi Georges de Pimodan Fratelli Brancondi Bruno Brancondi
1 groups and 3 people
action count
action union
action filter_type
action find_reverse
entity Castelfidardo
relation place of death
type group
action filter_type
action find_reverse
entity Castelfidardo
relation place of death
type common name
[{'concept': 'group'}, 'place of death', 'Castelfidardo'] [{'concept': 'common name'}, 'place of death', 'Castelfidardo']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k rdf:type ontology:group . ?k property:place_of_death resource:Castelfidardo } UNION { ?k rdf:type ontology:common_name . ?k property:place_of_death resource:Castelfidardo } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1420063 Q1018943
P47
Q20667921
USER
Which french administrative divisions are bordered by Boult-aux-Bois or Poiroux ?
OR((Q1018943,P47,c(Q20667921)), (Q1420063,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q1018943
relation P47
action find
entity Q1420063
relation P47
type Q20667921
{'OR': [['Q1018943', 'P47', {'concept': 'Q20667921'}], ['Q1420063', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q1018943 property:P47 ?p } UNION { resource:Q1420063 property:P47 ?p } } . ?p rdf:type ontology:Q20667921 }
Poiroux Boult-aux-Bois
action filter_type
action union
action find
entity Boult-aux-Bois
relation shares border with
action find
entity Poiroux
relation shares border with
type type of french administrative division
{'OR': [['Boult-aux-Bois', 'shares border with', {'concept': 'type of french administrative division'}], ['Poiroux', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Boult-aux-Bois property:shares_border_with ?p } UNION { resource:Poiroux property:shares_border_with ?p } } . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q596960 Q770311 Q1059367 Q722636 Q766934 Q629442 Q1171813 Q1468502 Q1413342 Q731846
SYSTEM
Some of them are Briquenay, Ballay, Germont, Longwé, Saint-Avaugourd-des-Landes, Belleville-et-Châtillon-sur-Bar, Grosbreuil, Nieul-le-Dolent, Saint-Hilaire-la-Forêt, Avrillé
Q722615 Q731846 Q1468502 Q596960 Q838753 Q766934 Q770311 Q1059367 Q770207 Q1171813 Q722636 Q629442 Q1413342
OR((Q1018943,P47,c(Q20667921)), (Q1420063,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q1018943
relation P47
action find
entity Q1420063
relation P47
type Q20667921
[ANSWERS] are bordered by Boult-aux-Bois or Poiroux
{'OR': [['Q1018943', 'P47', {'concept': 'Q20667921'}], ['Q1420063', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q1018943 property:P47 ?p } UNION { resource:Q1420063 property:P47 ?p } } . ?p rdf:type ontology:Q20667921 }
La Croix-aux-Bois Avrillé Nieul-le-Dolent Briquenay Talmont-Saint-Hilaire Saint-Avaugourd-des-Landes Ballay Germont Toges Grosbreuil Longwé Belleville-et-Châtillon-sur-Bar Saint-Hilaire-la-Forêt
Briquenay, Ballay, Germont, Longwé, Saint-Avaugourd-des-Landes, Belleville-et-Châtillon-sur-Bar, Grosbreuil, Nieul-le-Dolent, Saint-Hilaire-la-Forêt and Avrillé are bordered by Boult-aux-Bois or Poiroux
Briquenay Ballay Germont Longwé Saint-Avaugourd-des-Landes Belleville-et-Châtillon-sur-Bar Grosbreuil Nieul-le-Dolent Saint-Hilaire-la-Forêt Avrillé
action filter_type
action union
action find
entity Boult-aux-Bois
relation shares border with
action find
entity Poiroux
relation shares border with
type type of french administrative division
{'OR': [['Boult-aux-Bois', 'shares border with', {'concept': 'type of french administrative division'}], ['Poiroux', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Boult-aux-Bois property:shares_border_with ?p } UNION { resource:Poiroux property:shares_border_with ?p } } . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q596960 Q770311 Q1059367 Q722636 Q766934 Q629442 Q1171813 Q1468502 Q1413342 Q731846
P17
Q15617994
USER
Which administrative territories do Briquenay, Ballay, Germont, Longwé, Saint-Avaugourd-des-Landes, Belleville-et-Châtillon-sur-Bar, Grosbreuil, Nieul-le-Dolent, Saint-Hilaire-la-Forêt and Avrillé belong to ?
(Q596960,P17,c(Q15617994)) (Q770311,P17,c(Q15617994)) (Q1059367,P17,c(Q15617994)) (Q722636,P17,c(Q15617994)) (Q766934,P17,c(Q15617994)) (Q629442,P17,c(Q15617994)) (Q1171813,P17,c(Q15617994)) (Q1468502,P17,c(Q15617994)) (Q1413342,P17,c(Q15617994)) (Q731846,P17,c(Q15617994))
action union
action filter_type
action find
entity Q596960
relation P17
type Q15617994
action filter_type
action find
entity Q770311
relation P17
type Q15617994
action filter_type
action find
entity Q1059367
relation P17
type Q15617994
action filter_type
action find
entity Q722636
relation P17
type Q15617994
action filter_type
action find
entity Q766934
relation P17
type Q15617994
action filter_type
action find
entity Q629442
relation P17
type Q15617994
action filter_type
action find
entity Q1171813
relation P17
type Q15617994
action filter_type
action find
entity Q1468502
relation P17
type Q15617994
action filter_type
action find
entity Q1413342
relation P17
type Q15617994
action filter_type
action find
entity Q731846
relation P17
type Q15617994
['Q596960', 'P17', {'concept': 'Q15617994'}] ['Q770311', 'P17', {'concept': 'Q15617994'}] ['Q1059367', 'P17', {'concept': 'Q15617994'}] ['Q722636', 'P17', {'concept': 'Q15617994'}] ['Q766934', 'P17', {'concept': 'Q15617994'}] ['Q629442', 'P17', {'concept': 'Q15617994'}] ['Q1171813', 'P17', {'concept': 'Q15617994'}] ['Q1468502', 'P17', {'concept': 'Q15617994'}] ['Q1413342', 'P17', {'concept': 'Q15617994'}] ['Q731846', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { resource:Q596960 property:P17 ?h . ?h rdf:type ontology:Q15617994 } UNION { ?h rdf:type ontology:Q15617994 . resource:Q770311 property:P17 ?h } }
Briquenay Ballay Germont Longwé Saint-Avaugourd-des-Landes Belleville-et-Châtillon-sur-Bar Grosbreuil Nieul-le-Dolent Saint-Hilaire-la-Forêt Avrillé
action union
action filter_type
action find
entity Briquenay
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ballay
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Germont
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Longwé
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Saint-Avaugourd-des-Landes
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Belleville-et-Châtillon-sur-Bar
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Grosbreuil
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Nieul-le-Dolent
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Saint-Hilaire-la-Forêt
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Avrillé
relation country
type designation for an administrative territorial entity
['Briquenay', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ballay', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Germont', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Longwé', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Avaugourd-des-Landes', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Belleville-et-Châtillon-sur-Bar', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Grosbreuil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Nieul-le-Dolent', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Hilaire-la-Forêt', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Avrillé', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { resource:Briquenay property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ballay property:country ?h } }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142 Q142 Q142 Q142 Q142 Q142 Q142 Q142
(Q596960,P17,c(Q15617994)) (Q770311,P17,c(Q15617994)) (Q1059367,P17,c(Q15617994)) (Q722636,P17,c(Q15617994)) (Q766934,P17,c(Q15617994)) (Q629442,P17,c(Q15617994)) (Q1171813,P17,c(Q15617994)) (Q1468502,P17,c(Q15617994)) (Q1413342,P17,c(Q15617994)) (Q731846,P17,c(Q15617994))
action union
action filter_type
action find
entity Q596960
relation P17
type Q15617994
action filter_type
action find
entity Q770311
relation P17
type Q15617994
action filter_type
action find
entity Q1059367
relation P17
type Q15617994
action filter_type
action find
entity Q722636
relation P17
type Q15617994
action filter_type
action find
entity Q766934
relation P17
type Q15617994
action filter_type
action find
entity Q629442
relation P17
type Q15617994
action filter_type
action find
entity Q1171813
relation P17
type Q15617994
action filter_type
action find
entity Q1468502
relation P17
type Q15617994
action filter_type
action find
entity Q1413342
relation P17
type Q15617994
action filter_type
action find
entity Q731846
relation P17
type Q15617994
[ANSWER] [ANSWER], [ANSWER] and [ANSWER] Briquenay, Ballay, Germont, Longwé, Saint-Avaugourd-des-Landes, Belleville-et-Châtillon-sur-Bar, Grosbreuil, Nieul-le-Dolent, Saint-Hilaire-la-Forêt and Avrillé belong to
['Q596960', 'P17', {'concept': 'Q15617994'}] ['Q770311', 'P17', {'concept': 'Q15617994'}] ['Q1059367', 'P17', {'concept': 'Q15617994'}] ['Q722636', 'P17', {'concept': 'Q15617994'}] ['Q766934', 'P17', {'concept': 'Q15617994'}] ['Q629442', 'P17', {'concept': 'Q15617994'}] ['Q1171813', 'P17', {'concept': 'Q15617994'}] ['Q1468502', 'P17', {'concept': 'Q15617994'}] ['Q1413342', 'P17', {'concept': 'Q15617994'}] ['Q731846', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { resource:Q596960 property:P17 ?h . ?h rdf:type ontology:Q15617994 } UNION { ?h rdf:type ontology:Q15617994 . resource:Q770311 property:P17 ?h } }
France France France France France France France France France France
France France, France and France Briquenay, Ballay, Germont, Longwé, Saint-Avaugourd-des-Landes, Belleville-et-Châtillon-sur-Bar, Grosbreuil, Nieul-le-Dolent, Saint-Hilaire-la-Forêt and Avrillé belong to
France France France
action union
action filter_type
action find
entity Briquenay
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ballay
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Germont
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Longwé
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Saint-Avaugourd-des-Landes
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Belleville-et-Châtillon-sur-Bar
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Grosbreuil
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Nieul-le-Dolent
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Saint-Hilaire-la-Forêt
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Avrillé
relation country
type designation for an administrative territorial entity
['Briquenay', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ballay', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Germont', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Longwé', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Avaugourd-des-Landes', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Belleville-et-Châtillon-sur-Bar', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Grosbreuil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Nieul-le-Dolent', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Hilaire-la-Forêt', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Avrillé', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { resource:Briquenay property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ballay property:country ?h } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q272420
P159
Q20667921 Q334453 Q4830453
USER
Which french administrative divisions are the head office for lesser number of divisions or business enterprises located than Châteaufort ?
(c(Q334453)|c(Q4830453),P159,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q334453
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q272420
relation P159
type Q334453
type Q4830453
[[{'concept': 'Q334453'}, {'concept': 'Q4830453'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { { ?q rdf:type ontology:Q4830453 } UNION { ?q rdf:type ontology:Q334453 } } . ?q property:P159 resource:Q272420 } } . FILTER ( ?k < ?z ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) ?r WHERE { VALUES ( ?e ) { ( ontology:Q4830453 ) ( ontology:Q334453 ) } . ?j rdf:type ?e } GROUP BY ?r } }
Châteaufort
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type division
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Châteaufort
relation headquarters location
type division
type business enterprise
[[{'concept': 'division'}, {'concept': 'business enterprise'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { { ?q rdf:type ontology:business_enterprise } UNION { ?q rdf:type ontology:division } } . ?q property:headquarters_location resource:Châteaufort } } . FILTER ( ?k < ?z ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) ?r WHERE { VALUES ( ?e ) { ( ontology:business_enterprise ) ( ontology:division ) } . ?j rdf:type ?e } GROUP BY ?r } }
[]
type of french administrative division division business enterprise
Q42716 Q234735 Q6730
SYSTEM
Saint-Étienne, Meudon, Perpignan
Q22438 Q205537 Q184359 Q1047751 Q317433 Q1226504 Q1004486 Q182872 Q632276 Q22660 Q207605 Q216844 Q214600 Q212793 Q404445 Q363100 Q372882 Q615159 Q838334 Q22810 Q46712 Q1018637 Q274683 Q271068 Q256137 Q696996 Q45656 Q316452 Q675232 Q337636 Q194002 Q9733 Q219383 Q636993 Q126675 Q659327 Q213555 Q134674 Q211121 Q269430 Q163108 Q21347 Q21346 Q1389275 Q194141 Q194145 Q1342783 Q6593 Q241575 Q960827 Q124126 Q578683 Q233733 Q429770 Q188750 Q383388 Q247627 Q1169872 Q816094 Q47465 Q635643 Q658928 Q212274 Q668446 Q1111084 Q383369 Q202374 Q234735 Q47135 Q491948 Q22697 Q238429 Q207156 Q819837 Q565982 Q369954 Q132671 Q477013 Q1469245 Q13947 Q1146338 Q819946 Q386778 Q694905 Q220592 Q474768 Q735931 Q269166 Q274412 Q476687 Q185066 Q192426 Q163795 Q184047 Q1066554 Q467132 Q457389 Q10235 Q107501 Q609134 Q117551 Q83432 Q205551 Q241064 Q171800 Q366383 Q1081604 Q1103338 Q630193 Q324027 Q727297 Q200832 Q20441 Q609047 Q334301 Q213285 Q174234 Q203529 Q132404 Q273017 Q794124 Q231554 Q6730 Q208943 Q239908 Q752150 Q1384871 Q174247 Q207614 Q1106922 Q161884 Q175081 Q242497 Q192481 Q240286 Q1008824 Q1064869 Q1602947 Q392169 Q265657 Q910089 Q244725 Q1323215 Q1615759 Q326520 Q760624 Q213515 Q549536 Q730148 Q323727 Q478105 Q12193 Q828625 Q13917 Q579807 Q372218 Q174019 Q205592 Q202565 Q243868 Q476895 Q191856 Q627252 Q284762 Q235382 Q243915 Q193877 Q269952 Q1119799 Q225451 Q16121 Q22776 Q245297 Q211706 Q669021 Q134346 Q39984 Q165090 Q212959 Q746946 Q239091 Q285 Q227795 Q269862 Q1067807 Q549750 Q460795 Q648073 Q661392 Q239123 Q384516 Q268062 Q454445 Q274249 Q46135 Q223692 Q1428824 Q240189 Q93351 Q1171684 Q268362 Q1078810 Q1144900 Q264637 Q193819 Q167024 Q291197 Q728517 Q532070 Q526378 Q242536 Q1138493 Q1471382 Q160199 Q387447 Q237394 Q72248 Q841518 Q1069988 Q21298 Q193370 Q728033 Q675537 Q71724 Q271604 Q658561 Q21569 Q733833 Q818443 Q694800 Q194160 Q188658 Q30974 Q81621 Q376986 Q1058168 Q1087218 Q632445 Q212987 Q22727 Q863563 Q264416 Q21511 Q463951 Q238310 Q1421965 Q331087 Q868513 Q958857 Q777493 Q174251 Q191765 Q174257 Q189153 Q1423628 Q238366 Q963292 Q44160 Q382855 Q166997 Q332416 Q637695 Q8848 Q242569 Q368160 Q291094 Q724403 Q211134 Q1166034 Q1110747 Q900479 Q763901 Q1066223 Q1026879 Q34001 Q1467149 Q752053 Q272906 Q59724 Q183557 Q258059 Q81997 Q240798 Q963534 Q1055925 Q851278 Q237303 Q208314 Q273748 Q338877 Q234728 Q128466 Q947069 Q997294 Q1067432 Q517466 Q1344726 Q1172798 Q21997 Q205580 Q382095 Q3581 Q193861 Q280296 Q41139 Q833394 Q1022934 Q399366 Q632969 Q1469428 Q328022 Q961186 Q664934 Q193826 Q177656 Q655572 Q208866 Q55905 Q279310 Q1063150 Q250106 Q245080 Q1069745 Q495474 Q217173 Q1014814 Q22413 Q130800 Q626582 Q675950 Q184023 Q181955 Q605677 Q841345 Q852904 Q637279 Q791277 Q273897 Q817733 Q1094779 Q680266 Q69990 Q271678 Q42716 Q1063932 Q783452 Q193895 Q180083 Q828253 Q632175 Q188776 Q21359 Q234274 Q207584 Q6588 Q474555 Q249884 Q243135 Q120161 Q193183 Q82185 Q636592 Q968116 Q70152 Q582299 Q184154 Q182287 Q13596 Q236058 Q22730 Q209005 Q203645 Q239078 Q41185 Q269732 Q182481 Q2087041 Q240546 Q956943 Q1469416 Q45797 Q319933 Q44401 Q1047719 Q268281 Q1388467 Q220159 Q14112 Q264277 Q1157701 Q133824 Q28520 Q271407 Q69601 Q1169745 Q473919 Q208851 Q231720 Q243597 Q288 Q205116 Q83427 Q193899 Q767320 Q912302 Q206493 Q1103869 Q836443 Q658651 Q185075 Q6397 Q1651173 Q372281 Q62958 Q134698 Q372111 Q192982 Q6544 Q193256 Q769160 Q752466 Q193313 Q629891 Q5489 Q193903
(c(Q334453)|c(Q4830453),P159,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q334453
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q272420
relation P159
type Q334453
type Q4830453
[ANSWERS] are the head office for lesser number of divisions or business enterprises located than Châteaufort
[[{'concept': 'Q334453'}, {'concept': 'Q4830453'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { { ?q rdf:type ontology:Q4830453 } UNION { ?q rdf:type ontology:Q334453 } } . ?q property:P159 resource:Q272420 } } . FILTER ( ?k < ?z ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) ?r WHERE { VALUES ( ?e ) { ( ontology:Q4830453 ) ( ontology:Q334453 ) } . ?j rdf:type ?e } GROUP BY ?r } }
Entzheim Épernay Le Puy-en-Velay Chappes Les Mureaux Ruaudin Macau Fontainebleau Fontevraud-l'Abbaye Illkirch-Graffenstaden Noisy-le-Grand Les Ulis Romorantin-Lanthenay Charenton-le-Pont Aiglepierre Miribel Mondeville Ludes Pouzauges Dorlisheim Fontaine-lès-Dijon Méolans-Revel Abrest Blagnac Buc Lesquin Limoges Thiais Bondoufle Saint-Sébastien-sur-Loire Batilly Nouméa Saint-Uze Marnes-la-Coquette Chantilly Chens-sur-Léman Corte Bayonne Aubenas Bourg-lès-Valence Saint-Malo Eckbolsheim Reichstett Verneuil-en-Halatte Draguignan 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 Aix-en-Provence Roquefort Ay Nogent-sur-Marne Saint-Berthevin La Crèche Wimereux Châteaulin Meudon Châlons-en-Champagne Les Clayes-sous-Bois Molsheim Bezons Pessac Durtal Annecy-le-Vieux Bry-sur-Marne Pau Champagnole Ormes Centre-Val de Loire Cerizay Urville Pertuis Fourchambault Blanquefort Plouzané L'Isle-Jourdain Fontenay-aux-Roses Bédarieux Trégueux Cholet Le Val-d'Ajol Valenciennes Aubagne Auberchicourt Arcueil Marcoussis Beynost Sarcelles Joinville-le-Pont Champs-sur-Yonne Viroflay Mérignac Villepinte Évreux Mézidon-Canon Seyssinet-Pariset Onnaing 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-Pol-de-Léon Paray-Vieille-Poste La Ménitré Mâcon Figeac L'Horme Bagneux 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 Rungis Brest Villebon-sur-Yvette Île-de-France Crolles Plaisir Béziers Antony Coutances Saint-Martin-d'Hères Nogent-sur-Seine Oyonnax Aubière Baerenthal Quimperlé Aimargues Ivry-sur-Seine Magny-Cours Toussus-le-Noble Villeneuve-la-Garenne Beaune Benfeld Roscoff Briord Mauléon Angoulême Cannes Chambéry Denain Coulounieix-Chamiers Croix Cognac Cesson-Sévigné Allauch Saint-Jean-de-Moirans Milly-la-Forêt Bonneville Saint-Marcel Rochetoirin Ermont Saint-Louis Bréhal Buzançais Massy Créteil Cornillé Escalquens Douarnenez Vichy Chémeré-le-Roi Le Petit-Quevilly Panazol Jarnac-Champagne Wissous Vincennes Basse-Terre Bouguenais Saint-André-lez-Lille Poisy Limay Champs-sur-Marne Courcouronnes Reyniès Cherbourg-Octeville Vélizy-Villacoublay Bondy Vitry-sur-Seine Rumilly Écaquelon Reichshoffen Montreuil Le Bar-sur-Loup Averton Lorient Émerainville Lezennes Sarre-Union Pibrac Briare Ugine Clamart Aïcirits-Camou-Suhast Rouen Fort-de-France Lédenon Roissy-en-Brie 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 Anglet Beauvais 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 Échirolles Igny Azereix Noisiel Templemars Andrézieux-Bouthéon Lestrem Roubaix Labège Saint-Ours Le Bourget Étain Dieppe Tournan-en-Brie Boulogne-sur-Mer Montigny-le-Bretonneux Villiers-le-Bâcle Mont-Saint-Aignan Arques Guyancourt Maisons-Alfort Écully Châteauneuf-du-Pape Vanves Villejuif Le Lamentin Pluguffan Crespin Mouzeil Donneville Longueil Saint-Louis-lès-Bitche Palaiseau Trégunc Roanne Castelnaudary Tain-l'Hermitage Melun Gretz-Armainvilliers Faaa Chevreuse Plombières-les-Bains Montagny Tournefeuille Oulins Raismes Douai Spézet Le Grand-Quevilly La Seyne-sur-Mer Pontivy Marcigny La Selle-en-Luitré Samois-sur-Seine Bourbon-l'Archambault Saint-Égrève Sausheim Jarnac Les Avirons Wasselonne Papeete Lohéac Grans Tarbes Aix-les-Bains Limonest Domancy Fresnoy-le-Grand Furiani Avon, Seine-et-Marne Feucherolles La Farlède Vaumeilh Pringy, Haute-Savoie Guer Servon Saint-Étienne Chouilly Villieu-Loyes-Mollon Lattes Menton Chavanod Meylan Castres Merkwiller-Pechelbronn Manosque Brignoles Périgueux Castelnau-le-Lez Saint-Pierre Ambès Saint-Florent-le-Vieil Alès La Rochelle Balbigny Messimy La Gacilly La Baume Laval Crépy-en-Valois Vaulx-en-Velin Orly Haguenau Cachan Chalon-sur-Saône Romans-sur-Isère Caen Fécamp Tourcoing Dembeni Élancourt Le Port Marcy-l'Étoile Dunkirk Yerres Cayenne Hem Lognes Saint-Marcel Saint-Grégoire Corsica Gémenos La Chapelle-Saint-Mesmin Issoire Abbeville Orvault Elven Villefrancœur Lectoure Gif-sur-Yvette Honfleur Culoz Tours Amboise Bazainville Fontenay-sous-Bois Ruillé-sur-Loir Metz-Tessy Sèvres Avrainville Chalezeule Cogolin Saint-Germain-en-Laye Avignon Corbas Orsay Auray Bastia Romainville Cluny Libourne Montluçon Grande-Synthe Voreppe Saint-Maur-des-Fossés Le Plessis-Belleville Troyes Cergy
Saint-Étienne, Meudon and Perpignan are the head office for lesser number of divisions or business enterprises located than Châteaufort
Saint-Étienne Meudon Perpignan
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type division
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Châteaufort
relation headquarters location
type division
type business enterprise
[[{'concept': 'division'}, {'concept': 'business enterprise'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { { ?q rdf:type ontology:business_enterprise } UNION { ?q rdf:type ontology:division } } . ?q property:headquarters_location resource:Châteaufort } } . FILTER ( ?k < ?z ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) ?r WHERE { VALUES ( ?e ) { ( ontology:business_enterprise ) ( ontology:division ) } . ?j rdf:type ?e } GROUP BY ?r } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q208812
P159
Q20667921 Q334453 Q4830453
USER
And how about Corbeil-Essonnes?
(c(Q334453)|c(Q4830453),P159,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q334453
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q208812
relation P159
type Q334453
type Q4830453
[[{'concept': 'Q334453'}, {'concept': 'Q4830453'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?l ) WHERE { VALUES ( ?t ) { ( ontology:Q334453 ) ( ontology:Q4830453 ) } . ?z rdf:type ?t } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P159 resource:Q208812 . { { ?i rdf:type ontology:Q334453 } UNION { ?i rdf:type ontology:Q4830453 } } } } . FILTER ( ?l < ?j ) }
Corbeil-Essonnes
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type division
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Corbeil-Essonnes
relation headquarters location
type division
type business enterprise
[[{'concept': 'division'}, {'concept': 'business enterprise'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?l ) WHERE { VALUES ( ?t ) { ( ontology:division ) ( ontology:business_enterprise ) } . ?z rdf:type ?t } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:headquarters_location resource:Corbeil-Essonnes . { { ?i rdf:type ontology:division } UNION { ?i rdf:type ontology:business_enterprise } } } } . FILTER ( ?l < ?j ) }
[]
type of french administrative division division business enterprise
Q42716 Q234735 Q6730
SYSTEM
Saint-Étienne, Meudon, Perpignan
Q22438 Q205537 Q184359 Q1047751 Q317433 Q1226504 Q1004486 Q182872 Q632276 Q22660 Q207605 Q216844 Q214600 Q212793 Q404445 Q363100 Q372882 Q615159 Q838334 Q22810 Q46712 Q1018637 Q274683 Q271068 Q256137 Q696996 Q45656 Q316452 Q675232 Q337636 Q194002 Q9733 Q219383 Q636993 Q126675 Q659327 Q213555 Q134674 Q211121 Q269430 Q163108 Q21347 Q21346 Q1389275 Q194141 Q194145 Q1342783 Q6593 Q241575 Q960827 Q124126 Q578683 Q233733 Q429770 Q188750 Q383388 Q247627 Q1169872 Q816094 Q47465 Q635643 Q658928 Q212274 Q668446 Q1111084 Q383369 Q202374 Q234735 Q47135 Q491948 Q22697 Q238429 Q207156 Q819837 Q565982 Q369954 Q132671 Q477013 Q1469245 Q13947 Q1146338 Q819946 Q386778 Q694905 Q220592 Q474768 Q735931 Q269166 Q274412 Q476687 Q185066 Q192426 Q163795 Q184047 Q1066554 Q467132 Q457389 Q10235 Q107501 Q609134 Q117551 Q83432 Q205551 Q241064 Q171800 Q366383 Q1081604 Q1103338 Q630193 Q324027 Q727297 Q200832 Q20441 Q609047 Q334301 Q213285 Q174234 Q203529 Q132404 Q273017 Q794124 Q231554 Q6730 Q208943 Q239908 Q752150 Q1384871 Q174247 Q207614 Q1106922 Q161884 Q175081 Q242497 Q192481 Q240286 Q1008824 Q1064869 Q1602947 Q392169 Q265657 Q910089 Q244725 Q1323215 Q1615759 Q326520 Q760624 Q213515 Q549536 Q730148 Q323727 Q478105 Q12193 Q828625 Q13917 Q579807 Q372218 Q174019 Q205592 Q202565 Q243868 Q476895 Q191856 Q627252 Q284762 Q235382 Q243915 Q193877 Q269952 Q1119799 Q225451 Q16121 Q22776 Q245297 Q211706 Q669021 Q134346 Q39984 Q165090 Q212959 Q746946 Q239091 Q285 Q227795 Q269862 Q1067807 Q549750 Q460795 Q648073 Q661392 Q239123 Q384516 Q268062 Q454445 Q274249 Q46135 Q223692 Q1428824 Q240189 Q93351 Q1171684 Q268362 Q1078810 Q1144900 Q264637 Q193819 Q167024 Q291197 Q728517 Q532070 Q526378 Q242536 Q1138493 Q1471382 Q160199 Q387447 Q237394 Q72248 Q841518 Q1069988 Q21298 Q193370 Q728033 Q675537 Q71724 Q271604 Q658561 Q21569 Q733833 Q818443 Q694800 Q194160 Q188658 Q30974 Q81621 Q376986 Q1058168 Q1087218 Q632445 Q212987 Q22727 Q863563 Q264416 Q21511 Q463951 Q238310 Q1421965 Q331087 Q868513 Q958857 Q777493 Q174251 Q191765 Q174257 Q189153 Q1423628 Q238366 Q963292 Q44160 Q382855 Q166997 Q332416 Q637695 Q8848 Q242569 Q368160 Q291094 Q724403 Q211134 Q1166034 Q1110747 Q900479 Q763901 Q1066223 Q1026879 Q34001 Q1467149 Q752053 Q272906 Q59724 Q183557 Q258059 Q81997 Q240798 Q963534 Q1055925 Q851278 Q237303 Q208314 Q273748 Q338877 Q234728 Q128466 Q947069 Q997294 Q1067432 Q517466 Q1344726 Q1172798 Q21997 Q205580 Q382095 Q3581 Q193861 Q280296 Q41139 Q833394 Q1022934 Q399366 Q632969 Q1469428 Q328022 Q961186 Q664934 Q193826 Q177656 Q655572 Q208866 Q55905 Q279310 Q1063150 Q250106 Q245080 Q1069745 Q495474 Q217173 Q1014814 Q22413 Q130800 Q626582 Q675950 Q184023 Q181955 Q605677 Q841345 Q852904 Q637279 Q791277 Q273897 Q817733 Q1094779 Q680266 Q69990 Q271678 Q42716 Q1063932 Q783452 Q193895 Q180083 Q828253 Q632175 Q188776 Q21359 Q234274 Q207584 Q6588 Q474555 Q249884 Q243135 Q120161 Q193183 Q82185 Q636592 Q968116 Q70152 Q582299 Q184154 Q182287 Q13596 Q236058 Q22730 Q209005 Q203645 Q239078 Q41185 Q269732 Q182481 Q2087041 Q240546 Q956943 Q1469416 Q45797 Q319933 Q44401 Q1047719 Q268281 Q1388467 Q220159 Q14112 Q264277 Q1157701 Q133824 Q28520 Q271407 Q69601 Q1169745 Q473919 Q208851 Q231720 Q243597 Q288 Q205116 Q83427 Q193899 Q767320 Q912302 Q206493 Q1103869 Q836443 Q658651 Q185075 Q6397 Q1651173 Q372281 Q62958 Q134698 Q372111 Q192982 Q6544 Q193256 Q769160 Q752466 Q193313 Q629891 Q5489 Q193903
(c(Q334453)|c(Q4830453),P159,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q334453
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q208812
relation P159
type Q334453
type Q4830453
[ANSWERS]
[[{'concept': 'Q334453'}, {'concept': 'Q4830453'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?l ) WHERE { VALUES ( ?t ) { ( ontology:Q334453 ) ( ontology:Q4830453 ) } . ?z rdf:type ?t } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P159 resource:Q208812 . { { ?i rdf:type ontology:Q334453 } UNION { ?i rdf:type ontology:Q4830453 } } } } . FILTER ( ?l < ?j ) }
Entzheim Épernay Le Puy-en-Velay Chappes Les Mureaux Ruaudin Macau Fontainebleau Fontevraud-l'Abbaye Illkirch-Graffenstaden Noisy-le-Grand Les Ulis Romorantin-Lanthenay Charenton-le-Pont Aiglepierre Miribel Mondeville Ludes Pouzauges Dorlisheim Fontaine-lès-Dijon Méolans-Revel Abrest Blagnac Buc Lesquin Limoges Thiais Bondoufle Saint-Sébastien-sur-Loire Batilly Nouméa Saint-Uze Marnes-la-Coquette Chantilly Chens-sur-Léman Corte Bayonne Aubenas Bourg-lès-Valence Saint-Malo Eckbolsheim Reichstett Verneuil-en-Halatte Draguignan 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 Aix-en-Provence Roquefort Ay Nogent-sur-Marne Saint-Berthevin La Crèche Wimereux Châteaulin Meudon Châlons-en-Champagne Les Clayes-sous-Bois Molsheim Bezons Pessac Durtal Annecy-le-Vieux Bry-sur-Marne Pau Champagnole Ormes Centre-Val de Loire Cerizay Urville Pertuis Fourchambault Blanquefort Plouzané L'Isle-Jourdain Fontenay-aux-Roses Bédarieux Trégueux Cholet Le Val-d'Ajol Valenciennes Aubagne Auberchicourt Arcueil Marcoussis Beynost Sarcelles Joinville-le-Pont Champs-sur-Yonne Viroflay Mérignac Villepinte Évreux Mézidon-Canon Seyssinet-Pariset Onnaing 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-Pol-de-Léon Paray-Vieille-Poste La Ménitré Mâcon Figeac L'Horme Bagneux 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 Rungis Brest Villebon-sur-Yvette Île-de-France Crolles Plaisir Béziers Antony Coutances Saint-Martin-d'Hères Nogent-sur-Seine Oyonnax Aubière Baerenthal Quimperlé Aimargues Ivry-sur-Seine Magny-Cours Toussus-le-Noble Villeneuve-la-Garenne Beaune Benfeld Roscoff Briord Mauléon Angoulême Cannes Chambéry Denain Coulounieix-Chamiers Croix Cognac Cesson-Sévigné Allauch Saint-Jean-de-Moirans Milly-la-Forêt Bonneville Saint-Marcel Rochetoirin Ermont Saint-Louis Bréhal Buzançais Massy Créteil Cornillé Escalquens Douarnenez Vichy Chémeré-le-Roi Le Petit-Quevilly Panazol Jarnac-Champagne Wissous Vincennes Basse-Terre Bouguenais Saint-André-lez-Lille Poisy Limay Champs-sur-Marne Courcouronnes Reyniès Cherbourg-Octeville Vélizy-Villacoublay Bondy Vitry-sur-Seine Rumilly Écaquelon Reichshoffen Montreuil Le Bar-sur-Loup Averton Lorient Émerainville Lezennes Sarre-Union Pibrac Briare Ugine Clamart Aïcirits-Camou-Suhast Rouen Fort-de-France Lédenon Roissy-en-Brie 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 Anglet Beauvais 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 Échirolles Igny Azereix Noisiel Templemars Andrézieux-Bouthéon Lestrem Roubaix Labège Saint-Ours Le Bourget Étain Dieppe Tournan-en-Brie Boulogne-sur-Mer Montigny-le-Bretonneux Villiers-le-Bâcle Mont-Saint-Aignan Arques Guyancourt Maisons-Alfort Écully Châteauneuf-du-Pape Vanves Villejuif Le Lamentin Pluguffan Crespin Mouzeil Donneville Longueil Saint-Louis-lès-Bitche Palaiseau Trégunc Roanne Castelnaudary Tain-l'Hermitage Melun Gretz-Armainvilliers Faaa Chevreuse Plombières-les-Bains Montagny Tournefeuille Oulins Raismes Douai Spézet Le Grand-Quevilly La Seyne-sur-Mer Pontivy Marcigny La Selle-en-Luitré Samois-sur-Seine Bourbon-l'Archambault Saint-Égrève Sausheim Jarnac Les Avirons Wasselonne Papeete Lohéac Grans Tarbes Aix-les-Bains Limonest Domancy Fresnoy-le-Grand Furiani Avon, Seine-et-Marne Feucherolles La Farlède Vaumeilh Pringy, Haute-Savoie Guer Servon Saint-Étienne Chouilly Villieu-Loyes-Mollon Lattes Menton Chavanod Meylan Castres Merkwiller-Pechelbronn Manosque Brignoles Périgueux Castelnau-le-Lez Saint-Pierre Ambès Saint-Florent-le-Vieil Alès La Rochelle Balbigny Messimy La Gacilly La Baume Laval Crépy-en-Valois Vaulx-en-Velin Orly Haguenau Cachan Chalon-sur-Saône Romans-sur-Isère Caen Fécamp Tourcoing Dembeni Élancourt Le Port Marcy-l'Étoile Dunkirk Yerres Cayenne Hem Lognes Saint-Marcel Saint-Grégoire Corsica Gémenos La Chapelle-Saint-Mesmin Issoire Abbeville Orvault Elven Villefrancœur Lectoure Gif-sur-Yvette Honfleur Culoz Tours Amboise Bazainville Fontenay-sous-Bois Ruillé-sur-Loir Metz-Tessy Sèvres Avrainville Chalezeule Cogolin Saint-Germain-en-Laye Avignon Corbas Orsay Auray Bastia Romainville Cluny Libourne Montluçon Grande-Synthe Voreppe Saint-Maur-des-Fossés Le Plessis-Belleville Troyes Cergy
Saint-Étienne Meudon Perpignan
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type division
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Corbeil-Essonnes
relation headquarters location
type division
type business enterprise
[[{'concept': 'division'}, {'concept': 'business enterprise'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?l ) WHERE { VALUES ( ?t ) { ( ontology:division ) ( ontology:business_enterprise ) } . ?z rdf:type ?t } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:headquarters_location resource:Corbeil-Essonnes . { { ?i rdf:type ontology:division } UNION { ?i rdf:type ontology:business_enterprise } } } } . FILTER ( ?l < ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q632080
P1376
Q20667921 Q515
USER
Which cities are the capital of greater number of french administrative divisions than Tét ?
(c(Q515),P1376,c(Q20667921))
action greater
action find_tuple_counts
relation P1376
type Q515
type Q20667921
action count
action filter_type
action find
entity Q632080
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?w ) WHERE { ?i property:P1376 ?g . ?i rdf:type ontology:Q515 . ?g rdf:type ontology:Q20667921 } GROUP BY ?i } . FILTER ( ?w > ?l ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Q632080 property:P1376 ?y . ?y rdf:type ontology:Q515 } } }
Tét
action greater
action find_tuple_counts
relation capital of
type city
type type of french administrative division
action count
action filter_type
action find
entity Tét
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?w ) WHERE { ?i property:capital_of ?g . ?i rdf:type ontology:city . ?g rdf:type ontology:type_of_french_administrative_division } GROUP BY ?i } . FILTER ( ?w > ?l ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Tét property:capital_of ?y . ?y rdf:type ontology:city } } }
[]
type of french administrative division city
Q23482 Q456 Q7003
SYSTEM
Marseille, Lyon, Dijon
Q23482 Q6602 Q6582 Q456 Q7003
(c(Q515),P1376,c(Q20667921))
action greater
action find_tuple_counts
relation P1376
type Q515
type Q20667921
action count
action filter_type
action find
entity Q632080
relation P1376
type Q515
[ANSWERS] are the capital of greater number of french administrative divisions than Tét
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?w ) WHERE { ?i property:P1376 ?g . ?i rdf:type ontology:Q515 . ?g rdf:type ontology:Q20667921 } GROUP BY ?i } . FILTER ( ?w > ?l ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Q632080 property:P1376 ?y . ?y rdf:type ontology:Q515 } } }
Marseille Strasbourg Carcassonne Lyon Dijon
Marseille, Lyon and Dijon are the capital of greater number of french administrative divisions than Tét
Marseille Lyon Dijon
action greater
action find_tuple_counts
relation capital of
type city
type type of french administrative division
action count
action filter_type
action find
entity Tét
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?w ) WHERE { ?i property:capital_of ?g . ?i rdf:type ontology:city . ?g rdf:type ontology:type_of_french_administrative_division } GROUP BY ?i } . FILTER ( ?w > ?l ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Tét property:capital_of ?y . ?y rdf:type ontology:city } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q124375
P1376
Q20667921 Q515
USER
And what about Hódmezővásárhely?
(c(Q515),P1376,c(Q20667921))
action greater
action find_tuple_counts
relation P1376
type Q515
type Q20667921
action count
action filter_type
action find
entity Q124375
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?c ) WHERE { ?s property:P1376 ?l . ?s rdf:type ontology:Q515 . ?l rdf:type ontology:Q20667921 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q124375 property:P1376 ?m . ?m rdf:type ontology:Q515 } } . FILTER ( ?c > ?x ) }
Hódmezővásárhely
action greater
action find_tuple_counts
relation capital of
type city
type type of french administrative division
action count
action filter_type
action find
entity Hódmezővásárhely
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?c ) WHERE { ?s property:capital_of ?l . ?s rdf:type ontology:city . ?l rdf:type ontology:type_of_french_administrative_division } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Hódmezővásárhely property:capital_of ?m . ?m rdf:type ontology:city } } . FILTER ( ?c > ?x ) }
[]
type of french administrative division city
Q23482 Q456 Q7003
SYSTEM
Marseille, Lyon, Dijon
Q23482 Q6602 Q6582 Q456 Q7003
(c(Q515),P1376,c(Q20667921))
action greater
action find_tuple_counts
relation P1376
type Q515
type Q20667921
action count
action filter_type
action find
entity Q124375
relation P1376
type Q515
[ANSWERS]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?c ) WHERE { ?s property:P1376 ?l . ?s rdf:type ontology:Q515 . ?l rdf:type ontology:Q20667921 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q124375 property:P1376 ?m . ?m rdf:type ontology:Q515 } } . FILTER ( ?c > ?x ) }
Marseille Strasbourg Carcassonne Lyon Dijon
Marseille Lyon Dijon
action greater
action find_tuple_counts
relation capital of
type city
type type of french administrative division
action count
action filter_type
action find
entity Hódmezővásárhely
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?c ) WHERE { ?s property:capital_of ?l . ?s rdf:type ontology:city . ?l rdf:type ontology:type_of_french_administrative_division } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Hódmezővásárhely property:capital_of ?m . ?m rdf:type ontology:city } } . FILTER ( ?c > ?x ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23482
P931
Q62447
USER
What city is served by that city ?
(c(Q62447),P931,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q23482']
SELECT DISTINCT ?i WHERE { ?i property:P931 resource:Q23482 . ?i rdf:type ontology:Q62447 }
Marseille
action filter_type
action find_reverse
entity Marseille
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Marseille']
SELECT DISTINCT ?i WHERE { ?i property:place_served_by_airport resource:Marseille . ?i rdf:type ontology:aerodrome }
[]
aerodrome
Clarification for simple ques.
Q7003
SYSTEM
Did you mean Dijon ?
Q23482 Q456 Q7003
(c(Q62447),P931,Q23482) (c(Q62447),P931,Q456) (c(Q62447),P931,Q7003)
[ANSWER]
[{'concept': 'Q62447'}, 'P931', 'Q23482'] [{'concept': 'Q62447'}, 'P931', 'Q456'] [{'concept': 'Q62447'}, 'P931', 'Q7003']
SELECT DISTINCT ?i WHERE { ?i property:P931 resource:Q23482 . ?i rdf:type ontology:Q62447 }
Marseille Lyon Dijon
Did you mean Dijon ?
Dijon
[{'concept': 'aerodrome'}, 'place served by airport', 'Marseille'] [{'concept': 'aerodrome'}, 'place served by airport', 'Lyon'] [{'concept': 'aerodrome'}, 'place served by airport', 'Dijon']
SELECT DISTINCT ?i WHERE { ?i property:place_served_by_airport resource:Marseille . ?i rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
USER
No, I meant Marseille. Could you tell me the answer for that?
(c(Q62447),P931,Q23482)
Q23482
[{'concept': 'Q62447'}, 'P931', 'Q23482']
[{'concept': 'aerodrome'}, 'place served by airport', 'Marseille']
[]
Q651190
SYSTEM
Marseille Provence Airport
Q651190
(c(Q62447),P931,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P931
type Q62447
[ANSWER] is served by that city
[{'concept': 'Q62447'}, 'P931', 'Q23482']
SELECT DISTINCT ?i WHERE { ?i property:P931 resource:Q23482 . ?i rdf:type ontology:Q62447 }
Marseille Provence Airport
Marseille Provence Airport is served by that city
Marseille Provence Airport
action filter_type
action find_reverse
entity Marseille
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Marseille']
SELECT DISTINCT ?i WHERE { ?i property:place_served_by_airport resource:Marseille . ?i rdf:type ontology:aerodrome }
[]