Simple Question (Direct)
Simple Question
Q1066293
P17
Q15617994
USER
Which administrative territory is Brecé a part of ?
(Q1066293,P17,c(Q15617994))
action filter_type
action find
entity Q1066293
relation P17
type Q15617994
['Q1066293', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q1066293 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Brecé
action filter_type
action find
entity Brecé
relation country
type designation for an administrative territorial entity
['Brecé', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Brecé property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1066293,P17,c(Q15617994))
action filter_type
action find
entity Q1066293
relation P17
type Q15617994
Which administrative territory is Brecé a part of
['Q1066293', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q1066293 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
France
Which administrative territory is Brecé a part of
France
action filter_type
action find
entity Brecé
relation country
type designation for an administrative territorial entity
['Brecé', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Brecé property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1066293
P47
Q20667921
USER
Which french administrative divisions are adjacent to that one ?
(Q142,P47,c(Q20667921))
action filter_type
action find
entity Q1066293
relation P47
type Q20667921
['Q142', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q1066293 property:P47 ?g . ?g rdf:type ontology:Q20667921 }
Brecé
action filter_type
action find
entity Brecé
relation shares border with
type type of french administrative division
['France', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Brecé property:shares_border_with ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q744662 Q1100293 Q667856
SYSTEM
Gorron, Saint-Denis-de-Gastines, Couesmes-Vaucé
Q667856 Q744662 Q1066502 Q1100663 Q659874 Q1100505 Q1100293
(Q142,P47,c(Q20667921))
action filter_type
action find
entity Q1066293
relation P47
type Q20667921
[ANSWERS] are adjacent to that one
['Q142', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q1066293 property:P47 ?g . ?g rdf:type ontology:Q20667921 }
Couesmes-Vaucé Gorron Colombiers-du-Plessis Le Pas Châtillon-sur-Colmont Saint-Mars-sur-Colmont Saint-Denis-de-Gastines
Gorron, Saint-Denis-de-Gastines and Couesmes-Vaucé are adjacent to that one
Gorron Saint-Denis-de-Gastines Couesmes-Vaucé
action filter_type
action find
entity Brecé
relation shares border with
type type of french administrative division
['France', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Brecé property:shares_border_with ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q744662
P1376
Q20667921
USER
Which french administrative division has that one has its center of administration ?
(Q744662,P1376,c(Q20667921))
action filter_type
action find
entity Q744662
relation P1376
type Q20667921
['Q744662', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q744662 property:P1376 ?v . ?v rdf:type ontology:Q20667921 }
Gorron
action filter_type
action find
entity Gorron
relation capital of
type type of french administrative division
['Gorron', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Gorron property:capital_of ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q744662
SYSTEM
Did you mean Gorron ?
Q744662 Q1100293 Q667856
(Q744662,P1376,c(Q20667921)) (Q1100293,P1376,c(Q20667921)) (Q667856,P1376,c(Q20667921))
[ANSWER]
['Q744662', 'P1376', {'concept': 'Q20667921'}] ['Q1100293', 'P1376', {'concept': 'Q20667921'}] ['Q667856', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q744662 property:P1376 ?v . ?v rdf:type ontology:Q20667921 }
Gorron Saint-Denis-de-Gastines Couesmes-Vaucé
Did you mean Gorron ?
Gorron
['Gorron', 'capital of', {'concept': 'type of french administrative division'}] ['Saint-Denis-de-Gastines', 'capital of', {'concept': 'type of french administrative division'}] ['Couesmes-Vaucé', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Gorron property:capital_of ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q744662,P1376,c(Q20667921))
['Q744662', 'P1376', {'concept': 'Q20667921'}]
['Gorron', 'capital of', {'concept': 'type of french administrative division'}]
[]
Q660308
SYSTEM
canton of Gorron
Q660308
(Q744662,P1376,c(Q20667921))
action filter_type
action find
entity Q744662
relation P1376
type Q20667921
The [ANSWER] has that one has its center of administration
['Q744662', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q744662 property:P1376 ?v . ?v rdf:type ontology:Q20667921 }
canton of Gorron
The canton of Gorron has that one has its center of administration
canton of Gorron
action filter_type
action find
entity Gorron
relation capital of
type type of french administrative division
['Gorron', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Gorron property:capital_of ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P1376
Q20667921
USER
How many french administrative divisions are the capital of that french administrative division ?
(c(Q20667921),P1376,Q660308)
action count
action filter_type
action find_reverse
entity Q660308
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', 'Q660308']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P1376 resource:Q660308 . ?r rdf:type ontology:Q20667921 }
action count
action filter_type
action find_reverse
entity canton of Gorron
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Gorron']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:capital_of resource:canton_of_Gorron . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
1
Q744662
(c(Q20667921),P1376,Q660308)
action count
action filter_type
action find_reverse
entity Q660308
relation P1376
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', 'Q660308']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P1376 resource:Q660308 . ?r rdf:type ontology:Q20667921 }
Gorron
1
action count
action filter_type
action find_reverse
entity canton of Gorron
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Gorron']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:capital_of resource:canton_of_Gorron . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6684
Q20667921
USER
And also tell me about Le Perthus?
(Q6684,P47,c(Q20667921))
action count
action filter_type
action find
entity Q6684
relation P47
type Q20667921
['Q6684', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q6684 property:P47 ?x . ?x rdf:type ontology:Q20667921 }
Le Perthus
action count
action filter_type
action find
entity Le Perthus
relation shares border with
type type of french administrative division
['Le Perthus', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Le_Perthus property:shares_border_with ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
3
(Q6684,P47,c(Q20667921))
action count
action filter_type
action find
entity Q6684
relation P47
type Q20667921
[ANSWER]
['Q6684', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q6684 property:P47 ?x . ?x rdf:type ontology:Q20667921 }
3
action count
action filter_type
action find
entity Le Perthus
relation shares border with
type type of french administrative division
['Le Perthus', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Le_Perthus property:shares_border_with ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q660308
P36
Q20667921
USER
Which french administrative division is called the capital of canton of Gorron ?
(Q660308,P36,c(Q20667921))
action filter_type
action find
entity Q660308
relation P36
type Q20667921
['Q660308', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q660308 property:P36 ?f . ?f rdf:type ontology:Q20667921 }
canton of Gorron
action filter_type
action find
entity canton of Gorron
relation capital
type type of french administrative division
['canton of Gorron', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:canton_of_Gorron property:capital ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q744662
SYSTEM
Gorron
Q744662
(Q660308,P36,c(Q20667921))
action filter_type
action find
entity Q660308
relation P36
type Q20667921
[ANSWER] is called the capital of canton of [ANSWER]
['Q660308', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q660308 property:P36 ?f . ?f rdf:type ontology:Q20667921 }
Gorron
Gorron is called the capital of canton of Gorron
Gorron
action filter_type
action find
entity canton of Gorron
relation capital
type type of french administrative division
['canton of Gorron', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:canton_of_Gorron property:capital ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]