Simple Question (Direct)
Simple Question
Q13329
P47
Q15617994
USER
Which administrative territories share border with Piacenza ?
(Q13329,P47,c(Q15617994))
action filter_type
action find
entity Q13329
relation P47
type Q15617994
['Q13329', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q13329 property:P47 ?g }
Piacenza
action filter_type
action find
entity Piacenza
relation shares border with
type designation for an administrative territorial entity
['Piacenza', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Piacenza property:shares_border_with ?g }
[]
designation for an administrative territorial entity
Q168551 Q102583 Q102951
SYSTEM
Caselle Landi, Calendasco, Pontenure
Q168551 Q42951 Q100899 Q102951 Q42958 Q102931 Q102781 Q102590 Q102776 Q42309 Q102583 Q102965
(Q13329,P47,c(Q15617994))
action filter_type
action find
entity Q13329
relation P47
type Q15617994
[ANSWERS] share border with Piacenza
['Q13329', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q13329 property:P47 ?g }
Caselle Landi San Rocco al Porto Polesine Parmense Pontenure Santo Stefano Lodigiano Podenzano Gragnano Trebbiense Caorso Gossolengo Corno Giovine Calendasco Rottofreno
Caselle Landi, Calendasco and Pontenure share border with Piacenza
Caselle Landi Calendasco Pontenure
action filter_type
action find
entity Piacenza
relation shares border with
type designation for an administrative territorial entity
['Piacenza', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Piacenza property:shares_border_with ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13329
P17
Q15617994
USER
Which administrative territory is Piacenza located in ?
(Q13329,P17,c(Q15617994))
action filter_type
action find
entity Q13329
relation P17
type Q15617994
['Q13329', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q13329 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Piacenza
action filter_type
action find
entity Piacenza
relation country
type designation for an administrative territorial entity
['Piacenza', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Piacenza property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q13329,P17,c(Q15617994))
action filter_type
action find
entity Q13329
relation P17
type Q15617994
Piacenza is located in [ANSWER]
['Q13329', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q13329 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Italy
Piacenza is located in Italy
Italy
action filter_type
action find
entity Piacenza
relation country
type designation for an administrative territorial entity
['Piacenza', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Piacenza property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q67458
Q15617994
USER
And also tell me about Sorvilier?
(Q67458,P17,c(Q15617994))
action filter_type
action find
entity Q67458
relation P17
type Q15617994
['Q67458', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q67458 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Sorvilier
action filter_type
action find
entity Sorvilier
relation country
type designation for an administrative territorial entity
['Sorvilier', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Sorvilier property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q67458,P17,c(Q15617994))
action filter_type
action find
entity Q67458
relation P17
type Q15617994
[ANSWER]
['Q67458', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q67458 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Switzerland
Switzerland
action filter_type
action find
entity Sorvilier
relation country
type designation for an administrative territorial entity
['Sorvilier', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Sorvilier property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]