Simple Question (Direct)
Simple Question
Q121302
P19
Q20667921
USER
Which french administrative division was Fritz von der Lancken born in ?
(Q121302,P19,c(Q20667921))
action filter_type
action find
entity Q121302
relation P19
type Q20667921
['Q121302', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q121302 property:P19 ?b . ?b rdf:type ontology:Q20667921 }
Fritz von der Lancken
action filter_type
action find
entity Fritz von der Lancken
relation place of birth
type type of french administrative division
['Fritz von der Lancken', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Fritz_von_der_Lancken property:place_of_birth ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q22640
SYSTEM
Thionville
Q22640
(Q121302,P19,c(Q20667921))
action filter_type
action find
entity Q121302
relation P19
type Q20667921
Fritz von der Lancken was born in [ANSWER]
['Q121302', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q121302 property:P19 ?b . ?b rdf:type ontology:Q20667921 }
Thionville
Fritz von der Lancken was born in Thionville
Thionville
action filter_type
action find
entity Fritz von der Lancken
relation place of birth
type type of french administrative division
['Fritz von der Lancken', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Fritz_von_der_Lancken property:place_of_birth ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22640
P190
Q15617994
USER
Which administrative territory is sister town of that french administrative division ?
(c(Q15617994),P190,Q22640)
action filter_type
action find
entity Q22640
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q22640']
SELECT DISTINCT ?g WHERE { resource:Q22640 property:P190 ?g . ?g rdf:type ontology:Q15617994 }
Thionville
action filter_type
action find
entity Thionville
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Thionville']
SELECT DISTINCT ?g WHERE { resource:Thionville property:sister_city ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q22646
SYSTEM
Varallo Pombia
Q22646
(c(Q15617994),P190,Q22640)
action filter_type
action find
entity Q22640
relation P190
type Q15617994
[ANSWER] is sister town of that french administrative division
[{'concept': 'Q15617994'}, 'P190', 'Q22640']
SELECT DISTINCT ?g WHERE { resource:Q22640 property:P190 ?g . ?g rdf:type ontology:Q15617994 }
Varallo Pombia
Varallo Pombia is sister town of that french administrative division
Varallo Pombia
action filter_type
action find
entity Thionville
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Thionville']
SELECT DISTINCT ?g WHERE { resource:Thionville property:sister_city ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22646
P47
Q15617994
USER
Which administrative territories share border with that one ?
(c(Q15617994),P47,Q22646)
action filter_type
action find
entity Q22646
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q22646']
SELECT DISTINCT ?g WHERE { resource:Q22646 property:P47 ?g . ?g rdf:type ontology:Q15617994 }
Varallo Pombia
action filter_type
action find
entity Varallo Pombia
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Varallo Pombia']
SELECT DISTINCT ?g WHERE { resource:Varallo_Pombia property:shares_border_with ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q40588 Q22161 Q22571
SYSTEM
Somma Lombardo, Castelletto sopra Ticino, Pombia
Q22571 Q40588 Q22203 Q22098 Q22161
(c(Q15617994),P47,Q22646)
action filter_type
action find
entity Q22646
relation P47
type Q15617994
[ANSWERS] share border with that one
[{'concept': 'Q15617994'}, 'P47', 'Q22646']
SELECT DISTINCT ?g WHERE { resource:Q22646 property:P47 ?g . ?g rdf:type ontology:Q15617994 }
Pombia Somma Lombardo Divignano Borgo Ticino Castelletto sopra Ticino
Somma Lombardo, Castelletto sopra Ticino and Pombia share border with that one
Somma Lombardo Castelletto sopra Ticino Pombia
action filter_type
action find
entity Varallo Pombia
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Varallo Pombia']
SELECT DISTINCT ?g WHERE { resource:Varallo_Pombia property:shares_border_with ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q40588
P17
Q15617994
USER
Which administrative territory is that one a part of ?
(Q40588,P17,c(Q15617994))
action filter_type
action find
entity Q40588
relation P17
type Q15617994
['Q40588', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q40588 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Somma Lombardo
action filter_type
action find
entity Somma Lombardo
relation country
type designation for an administrative territorial entity
['Somma Lombardo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Somma_Lombardo property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q22161
SYSTEM
Did you mean Castelletto sopra Ticino ?
Q40588 Q22161 Q22571
(Q40588,P17,c(Q15617994)) (Q22161,P17,c(Q15617994)) (Q22571,P17,c(Q15617994))
[ANSWER]
['Q40588', 'P17', {'concept': 'Q15617994'}] ['Q22161', 'P17', {'concept': 'Q15617994'}] ['Q22571', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q40588 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Somma Lombardo Castelletto sopra Ticino Pombia
Did you mean Castelletto sopra Ticino ?
Castelletto sopra Ticino
['Somma Lombardo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Castelletto sopra Ticino', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Pombia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Somma_Lombardo property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Somma Lombardo. Could you tell me the answer for that?
(Q40588,P17,c(Q15617994))
Q40588
['Q40588', 'P17', {'concept': 'Q15617994'}]
['Somma Lombardo', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38
SYSTEM
Italy
Q38
(Q40588,P17,c(Q15617994))
action filter_type
action find
entity Q40588
relation P17
type Q15617994
The [ANSWER] is that one a part of
['Q40588', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q40588 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Italy
The Italy is that one a part of
Italy
action filter_type
action find
entity Somma Lombardo
relation country
type designation for an administrative territorial entity
['Somma Lombardo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Somma_Lombardo property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22640
P6
Q502895
USER
Which person is Thionville the head of goverment of ?
(Q22640,P6,c(Q502895))
action filter_type
action find
entity Q22640
relation P6
type Q502895
['Q22640', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q22640 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Thionville
action filter_type
action find
entity Thionville
relation head of government
type common name
['Thionville', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Thionville property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
common name
Q828599
SYSTEM
Bertrand Mertz
Q828599
(Q22640,P6,c(Q502895))
action filter_type
action find
entity Q22640
relation P6
type Q502895
[ANSWER] is Thionville the head of goverment of
['Q22640', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q22640 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Bertrand Mertz
Bertrand Mertz is Thionville the head of goverment of
Bertrand Mertz
action filter_type
action find
entity Thionville
relation head of government
type common name
['Thionville', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Thionville property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22640
P138
Q83620
USER
Which thoroughfare has that french administrative division as its toponym ?
(c(Q83620),P138,Q828599)
action filter_type
action find_reverse
entity Q22640
relation P138
type Q83620
[{'concept': 'Q83620'}, 'P138', 'Q828599']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q22640 . ?l rdf:type ontology:Q83620 }
Thionville
action filter_type
action find_reverse
entity Thionville
relation named after
type thoroughfare
[{'concept': 'thoroughfare'}, 'named after', 'Bertrand Mertz']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Thionville . ?l rdf:type ontology:thoroughfare }
[]
thoroughfare
Q3368056
SYSTEM
passage de Thionville
Q3368056
(c(Q83620),P138,Q828599)
action filter_type
action find_reverse
entity Q22640
relation P138
type Q83620
[ANSWER] has that french administrative division as its toponym
[{'concept': 'Q83620'}, 'P138', 'Q828599']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q22640 . ?l rdf:type ontology:Q83620 }
passage de Thionville
Passage de Thionville has that french administrative division as its toponym
passage de Thionville
action filter_type
action find_reverse
entity Thionville
relation named after
type thoroughfare
[{'concept': 'thoroughfare'}, 'named after', 'Bertrand Mertz']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Thionville . ?l rdf:type ontology:thoroughfare }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3368056 Q3448964
P47
Q34442
USER
Is rue Léon-Giraud adjacent to passage de Thionville ?
(Q3368056,P47,Q3448964)
action is_in
entity Q3448964
action find
entity Q3368056
relation P47
['Q3368056', 'P47', 'Q3448964']
ASK WHERE { resource:Q3368056 property:P47 resource:Q3448964 }
passage de Thionville rue Léon-Giraud
action is_in
entity rue Léon-Giraud
action find
entity passage de Thionville
relation shares border with
['passage de Thionville', 'shares border with', 'rue Léon-Giraud']
ASK WHERE { resource:passage_de_Thionville property:shares_border_with resource:rue_Léon-Giraud }
[]
road
SYSTEM
YES
(Q3368056,P47,Q3448964)
action is_in
entity Q3448964
action find
entity Q3368056
relation P47
[ANSWER]
['Q3368056', 'P47', 'Q3448964']
ASK WHERE { resource:Q3368056 property:P47 resource:Q3448964 }
Yes
action is_in
entity rue Léon-Giraud
action find
entity passage de Thionville
relation shares border with
['passage de Thionville', 'shares border with', 'rue Léon-Giraud']
ASK WHERE { resource:passage_de_Thionville property:shares_border_with resource:rue_Léon-Giraud }
[]