Simple Question (Direct)
Simple Question
Q46451
P47
Q56061
USER
Which administrative territory is adjacent to Pozzoleone ?
(Q46451,P47,c(Q56061))
action filter_type
action find
entity Q46451
relation P47
type Q56061
['Q46451', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q46451 property:P47 ?b . ?b rdf:type ontology:Q56061 }
Pozzoleone
action filter_type
action find
entity Pozzoleone
relation shares border with
type administrative territorial entity
['Pozzoleone', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Pozzoleone property:shares_border_with ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q46605
SYSTEM
Tezze sul Brenta
Q46605
(Q46451,P47,c(Q56061))
action filter_type
action find
entity Q46451
relation P47
type Q56061
[ANSWER] is adjacent to Pozzoleone
['Q46451', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q46451 property:P47 ?b . ?b rdf:type ontology:Q56061 }
Tezze sul Brenta
Tezze sul Brenta is adjacent to Pozzoleone
Tezze sul Brenta
action filter_type
action find
entity Pozzoleone
relation shares border with
type administrative territorial entity
['Pozzoleone', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Pozzoleone property:shares_border_with ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2581978
Q56061
USER
And also tell me about Poříčí nad Sázavou?
(Q2581978,P47,c(Q56061))
action filter_type
action find
entity Q2581978
relation P47
type Q56061
['Q2581978', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q2581978 property:P47 ?x }
Poříčí nad Sázavou
action filter_type
action find
entity Poříčí nad Sázavou
relation shares border with
type administrative territorial entity
['Poříčí nad Sázavou', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Poříčí_nad_Sázavou property:shares_border_with ?x }
[]
administrative territorial entity
Q470394
SYSTEM
Benešov
Q470394
(Q2581978,P47,c(Q56061))
action filter_type
action find
entity Q2581978
relation P47
type Q56061
[ANSWER]
['Q2581978', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q2581978 property:P47 ?x }
Benešov
Benešov
action filter_type
action find
entity Poříčí nad Sázavou
relation shares border with
type administrative territorial entity
['Poříčí nad Sázavou', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Poříčí_nad_Sázavou property:shares_border_with ?x }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q470394 Q17634445
P19
Q502895
USER
Was Jana Neradova born at that administrative territory ?
(Q17634445,P19,Q470394)
action is_in
entity Q470394
action find
entity Q17634445
relation P19
['Q17634445', 'P19', 'Q470394']
ASK WHERE { resource:Q17634445 property:P19 resource:Q470394 }
Benešov Jana Neradova
action is_in
entity Benešov
action find
entity Jana Neradova
relation place of birth
['Jana Neradova', 'place of birth', 'Benešov']
ASK WHERE { resource:Jana_Neradova property:place_of_birth resource:Benešov }
[]
common name
SYSTEM
YES
(Q17634445,P19,Q470394)
action is_in
entity Q470394
action find
entity Q17634445
relation P19
[ANSWER]
['Q17634445', 'P19', 'Q470394']
ASK WHERE { resource:Q17634445 property:P19 resource:Q470394 }
Yes
action is_in
entity Benešov
action find
entity Jana Neradova
relation place of birth
['Jana Neradova', 'place of birth', 'Benešov']
ASK WHERE { resource:Jana_Neradova property:place_of_birth resource:Benešov }
[]