Simple Question (Direct)
Simple Question
Q40506
P17
Q15617994
USER
Which administrative territory is Maccagno present in ?
(Q40506,P17,c(Q15617994))
action filter_type
action find
entity Q40506
relation P17
type Q15617994
['Q40506', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q40506 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Maccagno
action filter_type
action find
entity Maccagno
relation country
type designation for an administrative territorial entity
['Maccagno', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Maccagno property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q40506,P17,c(Q15617994))
action filter_type
action find
entity Q40506
relation P17
type Q15617994
Maccagno is of [ANSWER]
['Q40506', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q40506 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Italy
Maccagno is of Italy
Italy
action filter_type
action find
entity Maccagno
relation country
type designation for an administrative territorial entity
['Maccagno', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Maccagno property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40506
P47
Q15617994
USER
Which administrative territories are adjacent to that human settlement ?
(Q38,P47,c(Q15617994))
action filter_type
action find
entity Q40506
relation P47
type Q15617994
['Q38', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q40506 property:P47 ?v }
Maccagno
action filter_type
action find
entity Maccagno
relation shares border with
type designation for an administrative territorial entity
['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Maccagno property:shares_border_with ?v }
[]
designation for an administrative territorial entity
Q40120 Q41052 Q23291
SYSTEM
Luino, Dumenza, Cannobio
Q39819 Q23291 Q39250 Q40120 Q39852 Q41052
(Q38,P47,c(Q15617994))
action filter_type
action find
entity Q40506
relation P47
type Q15617994
[ANSWERS] are adjacent to that human settlement
['Q38', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q40506 property:P47 ?v }
Tronzano Lago Maggiore Cannobio Veddasca Luino Agra Dumenza
Luino, Dumenza and Cannobio are adjacent to that human settlement
Luino Dumenza Cannobio
action filter_type
action find
entity Maccagno
relation shares border with
type designation for an administrative territorial entity
['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Maccagno property:shares_border_with ?v }
[]
Clarification
Simple Question|Single Entity|Indirect
Q41052
P19
Q502895
USER
Who were born at that administrative territory ?
(c(Q502895),P19,Q41052)
action filter_type
action find_reverse
entity Q41052
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q41052']
SELECT DISTINCT ?q WHERE { ?q property:P19 resource:Q41052 . ?q rdf:type ontology:Q502895 }
Dumenza
action filter_type
action find_reverse
entity Dumenza
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Dumenza']
SELECT DISTINCT ?q WHERE { ?q property:place_of_birth resource:Dumenza . ?q rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q41052
SYSTEM
Did you mean Dumenza ?
Q40120 Q41052 Q23291
(c(Q502895),P19,Q40120) (c(Q502895),P19,Q41052) (c(Q502895),P19,Q23291)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q40120'] [{'concept': 'Q502895'}, 'P19', 'Q41052'] [{'concept': 'Q502895'}, 'P19', 'Q23291']
SELECT DISTINCT ?q WHERE { ?q property:P19 resource:Q41052 . ?q rdf:type ontology:Q502895 }
Luino Dumenza Cannobio
Did you mean Dumenza ?
Dumenza
[{'concept': 'common name'}, 'place of birth', 'Luino'] [{'concept': 'common name'}, 'place of birth', 'Dumenza'] [{'concept': 'common name'}, 'place of birth', 'Cannobio']
SELECT DISTINCT ?q WHERE { ?q property:place_of_birth resource:Dumenza . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P19,Q41052)
[{'concept': 'Q502895'}, 'P19', 'Q41052']
[{'concept': 'common name'}, 'place of birth', 'Dumenza']
[]
Q3929041 Q683189 Q361362
SYSTEM
Raffaele Casnédi, Bartolomeo Scappi, Vincenzo Peruggia
Q3929041 Q683189 Q361362
(c(Q502895),P19,Q41052)
action filter_type
action find_reverse
entity Q41052
relation P19
type Q502895
[ANSWERS] were born at that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q41052']
SELECT DISTINCT ?q WHERE { ?q property:P19 resource:Q41052 . ?q rdf:type ontology:Q502895 }
Raffaele Casnédi Bartolomeo Scappi Vincenzo Peruggia
Raffaele Casnédi, Bartolomeo Scappi and Vincenzo Peruggia were born at that administrative territory
Raffaele Casnédi Bartolomeo Scappi Vincenzo Peruggia
action filter_type
action find_reverse
entity Dumenza
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Dumenza']
SELECT DISTINCT ?q WHERE { ?q property:place_of_birth resource:Dumenza . ?q rdf:type ontology:common_name }
[]