Simple Question (Direct)
Simple Question
Q528325
P47
Q20667921
USER
Who share the border with Ambleny ?
(Q528325,P47,c(Q20667921))
action filter_type
action find
entity Q528325
relation P47
type Q20667921
['Q528325', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q528325 property:P47 ?n . ?n rdf:type ontology:Q20667921 }
Ambleny
action filter_type
action find
entity Ambleny
relation shares border with
type type of french administrative division
['Ambleny', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Ambleny property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q871130 Q989351 Q871618
SYSTEM
Montigny-Lengrain, Fontenoy, Pernant
Q1020209 Q849191 Q871618 Q871344 Q871130 Q867356 Q989351
(Q528325,P47,c(Q20667921))
action filter_type
action find
entity Q528325
relation P47
type Q20667921
[ANSWERS] share the border with Ambleny
['Q528325', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q528325 property:P47 ?n . ?n rdf:type ontology:Q20667921 }
Saint-Bandry Cutry Pernant Laversine Montigny-Lengrain Ressons-le-Long Fontenoy
Montigny-Lengrain, Fontenoy and Pernant share the border with Ambleny
Montigny-Lengrain Fontenoy Pernant
action filter_type
action find
entity Ambleny
relation shares border with
type type of french administrative division
['Ambleny', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Ambleny property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q871130
P17
Q15617994
USER
Which administrative territory is that french administrative division a part of ?
(Q871130,P17,c(Q15617994))
action filter_type
action find
entity Q871130
relation P17
type Q15617994
['Q871130', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q871130 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Montigny-Lengrain
action filter_type
action find
entity Montigny-Lengrain
relation country
type designation for an administrative territorial entity
['Montigny-Lengrain', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Montigny-Lengrain property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q871130
SYSTEM
Did you mean Montigny-Lengrain ?
Q871130 Q989351 Q871618
(Q871130,P17,c(Q15617994)) (Q989351,P17,c(Q15617994)) (Q871618,P17,c(Q15617994))
[ANSWER]
['Q871130', 'P17', {'concept': 'Q15617994'}] ['Q989351', 'P17', {'concept': 'Q15617994'}] ['Q871618', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q871130 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Montigny-Lengrain Fontenoy Pernant
Did you mean Montigny-Lengrain ?
Montigny-Lengrain
['Montigny-Lengrain', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Fontenoy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Pernant', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Montigny-Lengrain property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q871130,P17,c(Q15617994))
['Q871130', 'P17', {'concept': 'Q15617994'}]
['Montigny-Lengrain', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q871130,P17,c(Q15617994))
action filter_type
action find
entity Q871130
relation P17
type Q15617994
[ANSWER] is that french administrative division a part of
['Q871130', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q871130 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
France
France is that french administrative division a part of
France
action filter_type
action find
entity Montigny-Lengrain
relation country
type designation for an administrative territorial entity
['Montigny-Lengrain', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Montigny-Lengrain property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]