Simple Question (Direct)
Simple Question
Q1174445
P47
Q20667921
USER
Which french administrative divisions are adjacent to Ainay-le-Vieil ?
(Q1174445,P47,c(Q20667921))
action filter_type
action find
entity Q1174445
relation P47
type Q20667921
['Q1174445', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q1174445 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Ainay-le-Vieil
action filter_type
action find
entity Ainay-le-Vieil
relation shares border with
type type of french administrative division
['Ainay-le-Vieil', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Ainay-le-Vieil property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1172290 Q1173464 Q1139903
SYSTEM
Saint-Georges-de-Poisieux, Coust, Colombiers
Q1139903 Q1411236 Q1157675 Q1173464 Q1173534 Q1172290 Q273845 Q1410499
(Q1174445,P47,c(Q20667921))
action filter_type
action find
entity Q1174445
relation P47
type Q20667921
[ANSWERS] are adjacent to Ainay-le-Vieil
['Q1174445', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q1174445 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Colombiers La Groutte La Celette Coust Drevant Saint-Georges-de-Poisieux Lételon La Perche
Saint-Georges-de-Poisieux, Coust and Colombiers are adjacent to Ainay-le-Vieil
Saint-Georges-de-Poisieux Coust Colombiers
action filter_type
action find
entity Ainay-le-Vieil
relation shares border with
type type of french administrative division
['Ainay-le-Vieil', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Ainay-le-Vieil property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1172290 Q1173464 Q1139903
P47
Q20667921
USER
Which french administrative divisions are bordered by Saint-Georges-de-Poisieux, Coust and Colombiers ?
(c(Q20667921),P47,Q1172290) (c(Q20667921),P47,Q1173464) (c(Q20667921),P47,Q1139903)
action union
action filter_type
action find
entity Q1172290
relation P47
type Q20667921
action filter_type
action find
entity Q1173464
relation P47
type Q20667921
action filter_type
action find
entity Q1139903
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q1172290'] [{'concept': 'Q20667921'}, 'P47', 'Q1173464'] [{'concept': 'Q20667921'}, 'P47', 'Q1139903']
SELECT DISTINCT ?s WHERE { ?r property:P47 ?s . VALUES ( ?r ) { ( resource:Q1172290 ) ( resource:Q1173464 ) } }
Saint-Georges-de-Poisieux Coust Colombiers
action union
action filter_type
action find
entity Saint-Georges-de-Poisieux
relation shares border with
type type of french administrative division
action filter_type
action find
entity Coust
relation shares border with
type type of french administrative division
action filter_type
action find
entity Colombiers
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Georges-de-Poisieux'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Coust'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Colombiers']
SELECT DISTINCT ?s WHERE { ?r property:shares_border_with ?s . VALUES ( ?r ) { ( resource:Saint-Georges-de-Poisieux ) ( resource:Coust ) } }
[]
type of french administrative division
Q209109 Q209109 Q1081558
SYSTEM
Charenton-du-Cher for 3rd, Saint-Amand-Montrond for 1st, 2nd
Q634473 Q1157675 Q1429716 Q209109 Q1174445 Q1411236 Q1173534 Q1142408 Q273845 Q919326 Q1174445 Q1139903 Q1081558 Q614295 Q919326 Q209109 Q1174445 Q1173534 Q1173464
(c(Q20667921),P47,Q1172290) (c(Q20667921),P47,Q1173464) (c(Q20667921),P47,Q1139903)
action union
action filter_type
action find
entity Q1172290
relation P47
type Q20667921
action filter_type
action find
entity Q1173464
relation P47
type Q20667921
action filter_type
action find
entity Q1139903
relation P47
type Q20667921
[ANSWERS]
[{'concept': 'Q20667921'}, 'P47', 'Q1172290'] [{'concept': 'Q20667921'}, 'P47', 'Q1173464'] [{'concept': 'Q20667921'}, 'P47', 'Q1139903']
SELECT DISTINCT ?s WHERE { ?r property:P47 ?s . VALUES ( ?r ) { ( resource:Q1172290 ) ( resource:Q1173464 ) } }
Arcomps La Celette Faverdines Saint-Amand-Montrond Ainay-le-Vieil La Groutte Drevant Bouzais Lételon Saint-Pierre-les-Étieux Ainay-le-Vieil Colombiers Charenton-du-Cher Braize Saint-Pierre-les-Étieux Saint-Amand-Montrond Ainay-le-Vieil Drevant Coust
Saint-Amand-Montrond, Saint-Amand-Montrond and Charenton-du-Cher are bordered by Saint-Georges-de-Poisieux, Coust and Colombiers
Saint-Amand-Montrond Saint-Amand-Montrond Charenton-du-Cher
action union
action filter_type
action find
entity Saint-Georges-de-Poisieux
relation shares border with
type type of french administrative division
action filter_type
action find
entity Coust
relation shares border with
type type of french administrative division
action filter_type
action find
entity Colombiers
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Georges-de-Poisieux'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Coust'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Colombiers']
SELECT DISTINCT ?s WHERE { ?r property:shares_border_with ?s . VALUES ( ?r ) { ( resource:Saint-Georges-de-Poisieux ) ( resource:Coust ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q209109
P1376
Q13220204
USER
Which administrative country subdivision has Saint-Amand-Montrond as its capital ?
(Q209109,P1376,c(Q13220204))
action filter_type
action find
entity Q209109
relation P1376
type Q13220204
['Q209109', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?f WHERE { resource:Q209109 property:P1376 ?f . ?f rdf:type ontology:Q13220204 }
Saint-Amand-Montrond
action filter_type
action find
entity Saint-Amand-Montrond
relation capital of
type second-level administrative country subdivision
['Saint-Amand-Montrond', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?f WHERE { resource:Saint-Amand-Montrond property:capital_of ?f . ?f rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q165750
SYSTEM
arrondissement of Saint-Amand-Montrond
Q165750
(Q209109,P1376,c(Q13220204))
action filter_type
action find
entity Q209109
relation P1376
type Q13220204
The [ANSWER] has Saint-Amand-Montrond as its capital
['Q209109', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?f WHERE { resource:Q209109 property:P1376 ?f . ?f rdf:type ontology:Q13220204 }
arrondissement of Saint-Amand-Montrond
The arrondissement of Saint-Amand-Montrond has Saint-Amand-Montrond as its capital
arrondissement of Saint-Amand-Montrond
action filter_type
action find
entity Saint-Amand-Montrond
relation capital of
type second-level administrative country subdivision
['Saint-Amand-Montrond', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?f WHERE { resource:Saint-Amand-Montrond property:capital_of ?f . ?f rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q209109
P1444
Q878123
USER
Which racing has that french administrative division as its destination point ?
(c(Q878123),P1444,Q165750)
action filter_type
action find_reverse
entity Q209109
relation P1444
type Q878123
[{'concept': 'Q878123'}, 'P1444', 'Q165750']
SELECT DISTINCT ?d WHERE { ?d property:P1444 resource:Q209109 . ?d rdf:type ontology:Q878123 }
Saint-Amand-Montrond
action filter_type
action find_reverse
entity Saint-Amand-Montrond
relation destination point
type racing
[{'concept': 'racing'}, 'destination point', 'arrondissement of Saint-Amand-Montrond']
SELECT DISTINCT ?d WHERE { ?d property:destination_point resource:Saint-Amand-Montrond . ?d rdf:type ontology:racing }
[]
racing
Q2682701
SYSTEM
2013 Tour de France, Stage 13
Q2682701
(c(Q878123),P1444,Q165750)
action filter_type
action find_reverse
entity Q209109
relation P1444
type Q878123
[ANSWER] has that french administrative division as its destination point
[{'concept': 'Q878123'}, 'P1444', 'Q165750']
SELECT DISTINCT ?d WHERE { ?d property:P1444 resource:Q209109 . ?d rdf:type ontology:Q878123 }
2013 Tour de France, Stage 13
2013 Tour de France, Stage 13 has that french administrative division as its destination point
2013 Tour de France, Stage 13
action filter_type
action find_reverse
entity Saint-Amand-Montrond
relation destination point
type racing
[{'concept': 'racing'}, 'destination point', 'arrondissement of Saint-Amand-Montrond']
SELECT DISTINCT ?d WHERE { ?d property:destination_point resource:Saint-Amand-Montrond . ?d rdf:type ontology:racing }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q209109
P36
Q20667921
USER
Which french administrative division has that one as its administrative centre ?
(c(Q20667921),P36,Q2682701)
action filter_type
action find_reverse
entity Q209109
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q2682701']
SELECT DISTINCT ?o WHERE { ?o property:P36 resource:Q209109 . ?o rdf:type ontology:Q20667921 }
Saint-Amand-Montrond
action filter_type
action find_reverse
entity Saint-Amand-Montrond
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', '2013 Tour de France, Stage 13']
SELECT DISTINCT ?o WHERE { ?o property:capital resource:Saint-Amand-Montrond . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q748190
SYSTEM
canton of Saint-Amand-Montrond
Q748190
(c(Q20667921),P36,Q2682701)
action filter_type
action find_reverse
entity Q209109
relation P36
type Q20667921
The [ANSWER] has that one as its administrative centre
[{'concept': 'Q20667921'}, 'P36', 'Q2682701']
SELECT DISTINCT ?o WHERE { ?o property:P36 resource:Q209109 . ?o rdf:type ontology:Q20667921 }
canton of Saint-Amand-Montrond
The canton of Saint-Amand-Montrond has that one as its administrative centre
canton of Saint-Amand-Montrond
action filter_type
action find_reverse
entity Saint-Amand-Montrond
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', '2013 Tour de France, Stage 13']
SELECT DISTINCT ?o WHERE { ?o property:capital resource:Saint-Amand-Montrond . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q397366 Q71141
P47
Q15617994
USER
How many administrative territories have an adjacent border with Marieux or Oederan ?
(c(Q15617994),P47,Q397366) (c(Q15617994),P47,Q71141)
action count
action union
action filter_type
action find_reverse
entity Q397366
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q71141
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q397366'] [{'concept': 'Q15617994'}, 'P47', 'Q71141']
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P47 ?q . VALUES ( ?q ) { ( resource:Q397366 ) ( resource:Q71141 ) } }
Marieux Oederan
action count
action union
action filter_type
action find_reverse
entity Marieux
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Oederan
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Marieux'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Oederan']
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:shares_border_with ?q . VALUES ( ?q ) { ( resource:Marieux ) ( resource:Oederan ) } }
[]
designation for an administrative territorial entity
SYSTEM
3
Q70990 Q71166 Q70949
(c(Q15617994),P47,Q397366) (c(Q15617994),P47,Q71141)
action count
action union
action filter_type
action find_reverse
entity Q397366
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q71141
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q397366'] [{'concept': 'Q15617994'}, 'P47', 'Q71141']
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P47 ?q . VALUES ( ?q ) { ( resource:Q397366 ) ( resource:Q71141 ) } }
Leubsdorf Flöha Eppendorf, Saxony
3
action count
action union
action filter_type
action find_reverse
entity Marieux
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Oederan
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Marieux'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Oederan']
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:shares_border_with ?q . VALUES ( ?q ) { ( resource:Marieux ) ( resource:Oederan ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P159
Q20667921 Q43229 Q4830453
USER
How many french administrative divisions are the headquarter locations of atleast 11 organizations or business enterprises ?
(c(Q43229)|c(Q4830453),P159,c(Q20667921))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q43229
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q4830453
value 11
[[{'concept': 'Q43229'}, {'concept': 'Q4830453'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?x WHERE { { ?z property:P159 ?x . ?x rdf:type ontology:Q20667921 . ?z rdf:type ontology:Q43229 } UNION { ?z property:P159 ?x . ?x rdf:type ontology:Q20667921 . ?z rdf:type ontology:Q4830453 } } GROUP BY ?x } . FILTER ( ?j >= 11 ) }
action count
action atleast
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 business enterprise
value 11
[[{'concept': 'organization'}, {'concept': 'business enterprise'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?x WHERE { { ?z property:headquarters_location ?x . ?x rdf:type ontology:type_of_french_administrative_division . ?z rdf:type ontology:organization } UNION { ?z property:headquarters_location ?x . ?x rdf:type ontology:type_of_french_administrative_division . ?z rdf:type ontology:business_enterprise } } GROUP BY ?x } . FILTER ( ?j >= 11 ) }
[]
type of french administrative division organization business enterprise
SYSTEM
9
Q234743 Q160506 Q172455 Q170507 Q193929 Q189715 Q166640 Q48958 Q135265
(c(Q43229)|c(Q4830453),P159,c(Q20667921))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q43229
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q4830453
value 11
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q4830453'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?x WHERE { { ?z property:P159 ?x . ?x rdf:type ontology:Q20667921 . ?z rdf:type ontology:Q43229 } UNION { ?z property:P159 ?x . ?x rdf:type ontology:Q20667921 . ?z rdf:type ontology:Q4830453 } } GROUP BY ?x } . FILTER ( ?j >= 11 ) }
Puteaux Saint-Denis Boulogne-Billancourt Nanterre Suresnes Courbevoie Levallois-Perret Neuilly-sur-Seine Issy-les-Moulineaux
9
action count
action atleast
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 business enterprise
value 11
[[{'concept': 'organization'}, {'concept': 'business enterprise'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?x WHERE { { ?z property:headquarters_location ?x . ?x rdf:type ontology:type_of_french_administrative_division . ?z rdf:type ontology:organization } UNION { ?z property:headquarters_location ?x . ?x rdf:type ontology:type_of_french_administrative_division . ?z rdf:type ontology:business_enterprise } } GROUP BY ?x } . FILTER ( ?j >= 11 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q209109
P190
Q56061
USER
Which administrative territory is partner town of Saint-Amand-Montrond ?
(c(Q56061),P190,Q209109)
action filter_type
action find
entity Q209109
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q209109']
SELECT DISTINCT ?u WHERE { resource:Q209109 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Saint-Amand-Montrond
action filter_type
action find
entity Saint-Amand-Montrond
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Saint-Amand-Montrond']
SELECT DISTINCT ?u WHERE { resource:Saint-Amand-Montrond property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q478675
SYSTEM
Riobamba
Q478675
(c(Q56061),P190,Q209109)
action filter_type
action find
entity Q209109
relation P190
type Q56061
[ANSWER] is partner town of Saint-Amand-Montrond
[{'concept': 'Q56061'}, 'P190', 'Q209109']
SELECT DISTINCT ?u WHERE { resource:Q209109 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Riobamba
Riobamba is partner town of Saint-Amand-Montrond
Riobamba
action filter_type
action find
entity Saint-Amand-Montrond
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Saint-Amand-Montrond']
SELECT DISTINCT ?u WHERE { resource:Saint-Amand-Montrond property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]