Simple Question (Direct)
Simple Question
Q859486
P47
Q20667921
USER
Which french administrative divisions are bordered by Caumont ?
(Q859486,P47,c(Q20667921))
action filter_type
action find
entity Q859486
relation P47
type Q20667921
['Q859486', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q859486 property:P47 ?n . ?n rdf:type ontology:Q20667921 }
Caumont
action filter_type
action find
entity Caumont
relation shares border with
type type of french administrative division
['Caumont', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Caumont property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q604566 Q770708 Q774648
SYSTEM
Lelin-Lapujolle, Saint-Germé, Saint-Griède
Q774648 Q604566 Q1006341 Q1006261 Q770708 Q1005762
(Q859486,P47,c(Q20667921))
action filter_type
action find
entity Q859486
relation P47
type Q20667921
[ANSWERS] are bordered by Caumont
['Q859486', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q859486 property:P47 ?n . ?n rdf:type ontology:Q20667921 }
Saint-Griède Lelin-Lapujolle Maulichères Tarsac Saint-Germé Saint-Martin-d'Armagnac
Lelin-Lapujolle, Saint-Germé and Saint-Griède are bordered by Caumont
Lelin-Lapujolle Saint-Germé Saint-Griède
action filter_type
action find
entity Caumont
relation shares border with
type type of french administrative division
['Caumont', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Caumont property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q604566 Q770708 Q774648
P47
Q20667921
USER
Which french administrative divisions share border with Lelin-Lapujolle, Saint-Germé and Saint-Griède ?
(c(Q20667921),P47,Q604566) (c(Q20667921),P47,Q770708) (c(Q20667921),P47,Q774648)
action union
action filter_type
action find
entity Q604566
relation P47
type Q20667921
action filter_type
action find
entity Q770708
relation P47
type Q20667921
action filter_type
action find
entity Q774648
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q604566'] [{'concept': 'Q20667921'}, 'P47', 'Q770708'] [{'concept': 'Q20667921'}, 'P47', 'Q774648']
SELECT DISTINCT ?r WHERE { VALUES ( ?k ) { ( resource:Q770708 ) ( resource:Q604566 ) } . ?k property:P47 ?r }
Lelin-Lapujolle Saint-Germé Saint-Griède
action union
action filter_type
action find
entity Lelin-Lapujolle
relation shares border with
type type of french administrative division
action filter_type
action find
entity Saint-Germé
relation shares border with
type type of french administrative division
action filter_type
action find
entity Saint-Griède
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Lelin-Lapujolle'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Germé'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Griède']
SELECT DISTINCT ?r WHERE { VALUES ( ?k ) { ( resource:Saint-Germé ) ( resource:Lelin-Lapujolle ) } . ?k property:shares_border_with ?r }
[]
type of french administrative division
Q778619 Q770708 Q473917
SYSTEM
Arblade-le-Haut, Saint-Germé, Barcelonne-du-Gers
Q859486 Q770708 Q919339 Q1143509 Q774648 Q652747 Q473917 Q1006261 Q859486 Q859571 Q859386 Q604566 Q988092 Q473917 Q859486 Q1005762 Q919339 Q604566 Q778619
(c(Q20667921),P47,Q604566) (c(Q20667921),P47,Q770708) (c(Q20667921),P47,Q774648)
action union
action filter_type
action find
entity Q604566
relation P47
type Q20667921
action filter_type
action find
entity Q770708
relation P47
type Q20667921
action filter_type
action find
entity Q774648
relation P47
type Q20667921
[ANSWERS] share border with Lelin-Lapujolle, Saint-Germé and Saint-Griède
[{'concept': 'Q20667921'}, 'P47', 'Q604566'] [{'concept': 'Q20667921'}, 'P47', 'Q770708'] [{'concept': 'Q20667921'}, 'P47', 'Q774648']
SELECT DISTINCT ?r WHERE { VALUES ( ?k ) { ( resource:Q770708 ) ( resource:Q604566 ) } . ?k property:P47 ?r }
Caumont Saint-Germé Lanne-Soubiran Arblade-le-Bas Saint-Griède Luppé-Violles Barcelonne-du-Gers Tarsac Caumont Gée-Rivière Saint-Mont Lelin-Lapujolle Corneillan Barcelonne-du-Gers Caumont Saint-Martin-d'Armagnac Lanne-Soubiran Lelin-Lapujolle Arblade-le-Haut
Arblade-le-Haut, Saint-Germé and Barcelonne-du-Gers share border with Lelin-Lapujolle, Saint-Germé and Saint-Griède
Arblade-le-Haut Saint-Germé Barcelonne-du-Gers
action union
action filter_type
action find
entity Lelin-Lapujolle
relation shares border with
type type of french administrative division
action filter_type
action find
entity Saint-Germé
relation shares border with
type type of french administrative division
action filter_type
action find
entity Saint-Griède
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Lelin-Lapujolle'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Germé'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Griède']
SELECT DISTINCT ?r WHERE { VALUES ( ?k ) { ( resource:Saint-Germé ) ( resource:Lelin-Lapujolle ) } . ?k property:shares_border_with ?r }
[]
Clarification
Simple Question|Single Entity|Indirect
Q473917
P17
Q15617994
USER
Which administrative territory does that french administrative division belong to ?
(Q473917,P17,c(Q15617994))
action filter_type
action find
entity Q473917
relation P17
type Q15617994
['Q473917', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q473917 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Barcelonne-du-Gers
action filter_type
action find
entity Barcelonne-du-Gers
relation country
type designation for an administrative territorial entity
['Barcelonne-du-Gers', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Barcelonne-du-Gers property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q770708
SYSTEM
Did you mean Saint-Germé ?
Q778619 Q770708 Q473917
(Q778619,P17,c(Q15617994)) (Q770708,P17,c(Q15617994)) (Q473917,P17,c(Q15617994))
[ANSWER]
['Q778619', 'P17', {'concept': 'Q15617994'}] ['Q770708', 'P17', {'concept': 'Q15617994'}] ['Q473917', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q473917 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Arblade-le-Haut Saint-Germé Barcelonne-du-Gers
Did you mean Saint-Germé ?
Saint-Germé
['Arblade-le-Haut', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Germé', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Barcelonne-du-Gers', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Barcelonne-du-Gers property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Barcelonne-du-Gers. Could you tell me the answer for that?
(Q473917,P17,c(Q15617994))
Q473917
['Q473917', 'P17', {'concept': 'Q15617994'}]
['Barcelonne-du-Gers', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q473917,P17,c(Q15617994))
action filter_type
action find
entity Q473917
relation P17
type Q15617994
That french administrative division belongs to the [ANSWER]
['Q473917', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q473917 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
France
That french administrative division belongs to the France
France
action filter_type
action find
entity Barcelonne-du-Gers
relation country
type designation for an administrative territorial entity
['Barcelonne-du-Gers', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Barcelonne-du-Gers property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P610
Q14524493
USER
Which is the zenith of that administrative territory ?
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q14524493 . resource:Q142 property:P610 ?v }
France
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:terrain . resource:France property:highest_point ?v }
[]
terrain
Q583
SYSTEM
Mont Blanc
Q583
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
The zenith of that administrative territory is [ANSWER]
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q14524493 . resource:Q142 property:P610 ?v }
Mont Blanc
The zenith of that administrative territory is Mont Blanc
Mont Blanc
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:terrain . resource:France property:highest_point ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P172
Q502895
USER
Who have that administrative territory as his/her race ?
(c(Q502895),P172,Q583)
action filter_type
action find_reverse
entity Q142
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q583']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P172 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Mont Blanc']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:ethnic_group resource:France }
[]
common name
Q1379099 Q561686 Q2750183
SYSTEM
Pierre François Xavier de Charlevoix, François Sagat, Louis-Armand de Lom d'Arce de Lahontan, Baron de Lahontan
Q561686 Q1379099 Q2750183 Q3153987 Q26132975
(c(Q502895),P172,Q583)
action filter_type
action find_reverse
entity Q142
relation P172
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P172', 'Q583']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P172 resource:Q142 }
François Sagat Pierre François Xavier de Charlevoix Louis-Armand de Lom d'Arce de Lahontan, Baron de Lahontan Ines Ligron Jean Butteau
Pierre François Xavier de Charlevoix, François Sagat and Louis-Armand de Lom d'Arce de Lahontan, Baron de Lahontan have that administrative territory as his/her race
Pierre François Xavier de Charlevoix François Sagat Louis-Armand de Lom d'Arce de Lahontan, Baron de Lahontan
action filter_type
action find_reverse
entity France
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Mont Blanc']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:ethnic_group resource:France }
[]