Simple Question (Direct)
Simple Question
Q9014287
P27
Q15617994
USER
Which administrative territory is José Manuel Urtain an inhabitant of ?
(Q9014287,P27,c(Q15617994))
action filter_type
action find
entity Q9014287
relation P27
type Q15617994
['Q9014287', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q9014287 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
José Manuel Urtain
action filter_type
action find
entity José Manuel Urtain
relation country of citizenship
type designation for an administrative territorial entity
['José Manuel Urtain', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:José_Manuel_Urtain property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q9014287,P27,c(Q15617994))
action filter_type
action find
entity Q9014287
relation P27
type Q15617994
[ANSWER] is José Manuel Urtain an inhabitant of
['Q9014287', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q9014287 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Spain
Spain is José Manuel Urtain an inhabitant of
Spain
action filter_type
action find
entity José Manuel Urtain
relation country of citizenship
type designation for an administrative territorial entity
['José Manuel Urtain', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:José_Manuel_Urtain property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9014287
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q29,P20,c(Q56061))
action filter_type
action find
entity Q9014287
relation P20
type Q56061
['Q29', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q9014287 property:P20 ?k . ?k rdf:type ontology:Q56061 }
José Manuel Urtain
action filter_type
action find
entity José Manuel Urtain
relation place of death
type administrative territorial entity
['Spain', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:José_Manuel_Urtain property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q29,P20,c(Q56061))
action filter_type
action find
entity Q9014287
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q29', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q9014287 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Madrid
The expiration of that person occurred in Madrid
Madrid
action filter_type
action find
entity José Manuel Urtain
relation place of death
type administrative territorial entity
['Spain', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:José_Manuel_Urtain property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2807 Q7620570 Q26945206
P190
Q56061
USER
Is Madrid a sister city of Stour Row and Kaive ?
(Q2807,P190,Q7620570) (Q2807,P190,Q26945206)
action is_in
entity Q2807
action intersection
action find_reverse
entity Q7620570
relation P190
action find_reverse
entity Q26945206
relation P190
['Q2807', 'P190', 'Q7620570'] ['Q2807', 'P190', 'Q26945206']
ASK WHERE { resource:Q2807 property:P190 resource:Q7620570 . resource:Q2807 property:P190 resource:Q26945206 }
Madrid Stour Row Kaive
action is_in
entity Madrid
action intersection
action find_reverse
entity Stour Row
relation sister city
action find_reverse
entity Kaive
relation sister city
['Madrid', 'sister city', 'Stour Row'] ['Madrid', 'sister city', 'Kaive']
ASK WHERE { resource:Madrid property:sister_city resource:Stour_Row . resource:Madrid property:sister_city resource:Kaive }
[]
administrative territorial entity
SYSTEM
NO
(Q2807,P190,Q7620570) (Q2807,P190,Q26945206)
action is_in
entity Q2807
action intersection
action find_reverse
entity Q7620570
relation P190
action find_reverse
entity Q26945206
relation P190
[ANSWER]
['Q2807', 'P190', 'Q7620570'] ['Q2807', 'P190', 'Q26945206']
ASK WHERE { resource:Q2807 property:P190 resource:Q7620570 . resource:Q2807 property:P190 resource:Q26945206 }
No
action is_in
entity Madrid
action intersection
action find_reverse
entity Stour Row
relation sister city
action find_reverse
entity Kaive
relation sister city
['Madrid', 'sister city', 'Stour Row'] ['Madrid', 'sister city', 'Kaive']
ASK WHERE { resource:Madrid property:sister_city resource:Stour_Row . resource:Madrid property:sister_city resource:Kaive }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17281
P47
Q15617994
USER
Which administrative territories are next to the border of Borgoratto Alessandrino ?
(c(Q15617994),P47,Q17281)
action filter_type
action find
entity Q17281
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q17281']
SELECT DISTINCT ?x WHERE { resource:Q17281 property:P47 ?x . ?x rdf:type ontology:Q15617994 }
Borgoratto Alessandrino
action filter_type
action find
entity Borgoratto Alessandrino
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Borgoratto Alessandrino']
SELECT DISTINCT ?x WHERE { resource:Borgoratto_Alessandrino property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17630 Q17327 Q17303
SYSTEM
Oviglio, Castellazzo Bormida, Carentino
Q17358 Q17630 Q17303 Q17327
(c(Q15617994),P47,Q17281)
action filter_type
action find
entity Q17281
relation P47
type Q15617994
[ANSWERS] are next to the border of Borgoratto Alessandrino
[{'concept': 'Q15617994'}, 'P47', 'Q17281']
SELECT DISTINCT ?x WHERE { resource:Q17281 property:P47 ?x . ?x rdf:type ontology:Q15617994 }
Frascaro Oviglio Carentino Castellazzo Bormida
Oviglio, Castellazzo Bormida and Carentino are next to the border of Borgoratto Alessandrino
Oviglio Castellazzo Bormida Carentino
action filter_type
action find
entity Borgoratto Alessandrino
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Borgoratto Alessandrino']
SELECT DISTINCT ?x WHERE { resource:Borgoratto_Alessandrino property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q17630 Q17327 Q17303
P47
Q15617994
USER
Which administrative territories share border with Oviglio, Castellazzo Bormida and Carentino ?
(Q17630,P47,c(Q15617994)) (Q17327,P47,c(Q15617994)) (Q17303,P47,c(Q15617994))
action union
action filter_type
action find
entity Q17630
relation P47
type Q15617994
action filter_type
action find
entity Q17327
relation P47
type Q15617994
action filter_type
action find
entity Q17303
relation P47
type Q15617994
['Q17630', 'P47', {'concept': 'Q15617994'}] ['Q17327', 'P47', {'concept': 'Q15617994'}] ['Q17303', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?f property:P47 ?e . VALUES ( ?f ) { ( resource:Q17630 ) ( resource:Q17327 ) } }
Oviglio Castellazzo Bormida Carentino
action union
action filter_type
action find
entity Oviglio
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Castellazzo Bormida
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Carentino
relation shares border with
type designation for an administrative territorial entity
['Oviglio', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Castellazzo Bormida', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Carentino', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?f property:shares_border_with ?e . VALUES ( ?f ) { ( resource:Oviglio ) ( resource:Castellazzo_Bormida ) } }
[]
designation for an administrative territorial entity
Q6088 Q6088 Q17822
SYSTEM
Alessandria for 1st, 2nd, Mombaruzzo for 3rd
Q17815 Q17303 Q17281 Q17327 Q17272 Q17355 Q6088 Q17379 Q17673 Q17358 Q17630 Q17313 Q17339 Q17281 Q17648 Q17365 Q6088 Q17362 Q17358 Q17630 Q17281 Q17272 Q17822 Q17365 Q17756
(Q17630,P47,c(Q15617994)) (Q17327,P47,c(Q15617994)) (Q17303,P47,c(Q15617994))
action union
action filter_type
action find
entity Q17630
relation P47
type Q15617994
action filter_type
action find
entity Q17327
relation P47
type Q15617994
action filter_type
action find
entity Q17303
relation P47
type Q15617994
[ANSWERS]
['Q17630', 'P47', {'concept': 'Q15617994'}] ['Q17327', 'P47', {'concept': 'Q15617994'}] ['Q17303', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?f property:P47 ?e . VALUES ( ?f ) { ( resource:Q17630 ) ( resource:Q17327 ) } }
Incisa Scapaccino Carentino Borgoratto Alessandrino Castellazzo Bormida Bergamasco Felizzano Alessandria Masio Solero Frascaro Oviglio Casal Cermelli Castelspina Borgoratto Alessandrino Predosa Gamalero Alessandria Frugarolo Frascaro Oviglio Borgoratto Alessandrino Bergamasco Mombaruzzo Gamalero Bruno
Alessandria, Alessandria and Mombaruzzo share border with Oviglio, Castellazzo Bormida and Carentino
Alessandria Alessandria Mombaruzzo
action union
action filter_type
action find
entity Oviglio
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Castellazzo Bormida
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Carentino
relation shares border with
type designation for an administrative territorial entity
['Oviglio', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Castellazzo Bormida', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Carentino', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?f property:shares_border_with ?e . VALUES ( ?f ) { ( resource:Oviglio ) ( resource:Castellazzo_Bormida ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2807
P138
Q34442
USER
Which road comes from Madrid ?
(c(Q34442),P138,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q2807']
SELECT DISTINCT ?i WHERE { ?i property:P138 resource:Q2807 . ?i rdf:type ontology:Q34442 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation named after
type road
[{'concept': 'road'}, 'named after', 'Madrid']
SELECT DISTINCT ?i WHERE { ?i property:named_after resource:Madrid . ?i rdf:type ontology:road }
[]
road
Q3450855
SYSTEM
rue de Madrid
Q3450855
(c(Q34442),P138,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P138
type Q34442
The [ANSWER] comes from Madrid
[{'concept': 'Q34442'}, 'P138', 'Q2807']
SELECT DISTINCT ?i WHERE { ?i property:P138 resource:Q2807 . ?i rdf:type ontology:Q34442 }
rue de Madrid
The rue de Madrid comes from Madrid
rue de Madrid
action filter_type
action find_reverse
entity Madrid
relation named after
type road
[{'concept': 'road'}, 'named after', 'Madrid']
SELECT DISTINCT ?i WHERE { ?i property:named_after resource:Madrid . ?i rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2807
P417
Q502895
USER
What is the name of person who is the patron saint of that administrative territory ?
(Q3450855,P417,c(Q502895))
action filter_type
action find
entity Q2807
relation P417
type Q502895
['Q3450855', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2807 property:P417 ?y . ?y rdf:type ontology:Q502895 }
Madrid
action filter_type
action find
entity Madrid
relation patron saint
type common name
['rue de Madrid', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Madrid property:patron_saint ?y . ?y rdf:type ontology:common_name }
[]
common name
Q379685
SYSTEM
Isidore the Laborer
Q379685
(Q3450855,P417,c(Q502895))
action filter_type
action find
entity Q2807
relation P417
type Q502895
The name of person is the patron saint of that administrative territory is Saint [ANSWER]
['Q3450855', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2807 property:P417 ?y . ?y rdf:type ontology:Q502895 }
Isidore the Laborer
The name of person is the patron saint of that administrative territory is Saint Isidore the Laborer
Isidore the Laborer
action filter_type
action find
entity Madrid
relation patron saint
type common name
['rue de Madrid', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Madrid property:patron_saint ?y . ?y rdf:type ontology:common_name }
[]