Simple Question (Direct)
Simple Question
Q2905988
P20
Q15617994
USER
Where did Antonio Marovelli die ?
(Q2905988,P20,c(Q15617994))
action filter_type
action find
entity Q2905988
relation P20
type Q15617994
['Q2905988', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2905988 property:P20 ?t . ?t rdf:type ontology:Q15617994 }
Antonio Marovelli
action filter_type
action find
entity Antonio Marovelli
relation place of death
type designation for an administrative territorial entity
['Antonio Marovelli', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Antonio_Marovelli property:place_of_death ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q42932
SYSTEM
Melegnano
Q42932
(Q2905988,P20,c(Q15617994))
action filter_type
action find
entity Q2905988
relation P20
type Q15617994
Antonio Marovelli died in [ANSWER]
['Q2905988', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2905988 property:P20 ?t . ?t rdf:type ontology:Q15617994 }
Melegnano
Antonio Marovelli died in Melegnano
Melegnano
action filter_type
action find
entity Antonio Marovelli
relation place of death
type designation for an administrative territorial entity
['Antonio Marovelli', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Antonio_Marovelli property:place_of_death ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42932
P190
Q515
USER
Which city is twin town of that administrative territory ?
(Q42932,P190,c(Q515))
action filter_type
action find
entity Q42932
relation P190
type Q515
['Q42932', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q42932 property:P190 ?g . ?g rdf:type ontology:Q515 }
Melegnano
action filter_type
action find
entity Melegnano
relation sister city
type city
['Melegnano', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Melegnano property:sister_city ?g . ?g rdf:type ontology:city }
[]
city
Q3599
SYSTEM
Bicske
Q3599
(Q42932,P190,c(Q515))
action filter_type
action find
entity Q42932
relation P190
type Q515
[ANSWER] is twin town of that administrative territory
['Q42932', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q42932 property:P190 ?g . ?g rdf:type ontology:Q515 }
Bicske
Bicske is twin town of that administrative territory
Bicske
action filter_type
action find
entity Melegnano
relation sister city
type city
['Melegnano', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Melegnano property:sister_city ?g . ?g rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42932
P276
Q1190554
USER
Which event is situated at Melegnano ?
(c(Q1190554),P276,Q42932)
action filter_type
action find_reverse
entity Q42932
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q42932']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1190554 . ?u property:P276 resource:Q42932 }
Melegnano
action filter_type
action find_reverse
entity Melegnano
relation location
type event
[{'concept': 'event'}, 'location', 'Melegnano']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:event . ?u property:location resource:Melegnano }
[]
event
Q330
SYSTEM
Battle of Marignano
Q330
(c(Q1190554),P276,Q42932)
action filter_type
action find_reverse
entity Q42932
relation P276
type Q1190554
[ANSWER] is situated at Melegnano
[{'concept': 'Q1190554'}, 'P276', 'Q42932']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1190554 . ?u property:P276 resource:Q42932 }
Battle of Marignano
Battle of Marignano is situated at Melegnano
Battle of Marignano
action filter_type
action find_reverse
entity Melegnano
relation location
type event
[{'concept': 'event'}, 'location', 'Melegnano']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:event . ?u property:location resource:Melegnano }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42932
P47
Q15617994
USER
Which administrative territories share border with Melegnano ?
(Q42932,P47,c(Q15617994))
action filter_type
action find
entity Q42932
relation P47
type Q15617994
['Q42932', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q42932 property:P47 ?o . ?o rdf:type ontology:Q15617994 }
Melegnano
action filter_type
action find
entity Melegnano
relation shares border with
type designation for an administrative territorial entity
['Melegnano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Melegnano property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q42911 Q42512 Q42506
SYSTEM
San Giuliano Milanese, Vizzolo Predabissi, Carpiano
Q42911 Q42396 Q42506 Q42414 Q42512
(Q42932,P47,c(Q15617994))
action filter_type
action find
entity Q42932
relation P47
type Q15617994
[ANSWERS] share border with Melegnano
['Q42932', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q42932 property:P47 ?o . ?o rdf:type ontology:Q15617994 }
San Giuliano Milanese Cerro al Lambro Carpiano Colturano Vizzolo Predabissi
San Giuliano Milanese, Vizzolo Predabissi and Carpiano share border with Melegnano
San Giuliano Milanese Vizzolo Predabissi Carpiano
action filter_type
action find
entity Melegnano
relation shares border with
type designation for an administrative territorial entity
['Melegnano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Melegnano property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q42911 Q42512 Q42506
P47
Q15617994
USER
Which administrative territories have a shared border with those ones ?
(Q42911,P47,c(Q15617994)) (Q42512,P47,c(Q15617994)) (Q42506,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q42911', 'P47', {'concept': 'Q15617994'}] ['Q42512', 'P47', {'concept': 'Q15617994'}] ['Q42506', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . ?x property:P47 ?m . VALUES ( ?x ) { ( resource:Q42911 ) ( resource:Q42396 ) ( resource:Q42506 ) } }
San Giuliano Milanese Vizzolo Predabissi Carpiano
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['San Giuliano Milanese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Vizzolo Predabissi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Carpiano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:shares_border_with ?m . VALUES ( ?x ) { ( resource:San_Giuliano_Milanese ) ( resource:Cerro_al_Lambro ) ( resource:Carpiano ) } }
[]
designation for an administrative territorial entity
Q40379 Q42420 Q42911
SYSTEM
Siziano, Mediglia, San Giuliano Milanese
Q42506 Q42414 Q42420 Q42192 Q42932 Q43008 Q42414 Q42932 Q43031 Q42417 Q43036 Q42396 Q42287 Q42932 Q42911 Q43008 Q42396 Q40379 Q40828 Q39557
(Q42911,P47,c(Q15617994)) (Q42512,P47,c(Q15617994)) (Q42506,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS] have a shared border with those ones
['Q42911', 'P47', {'concept': 'Q15617994'}] ['Q42512', 'P47', {'concept': 'Q15617994'}] ['Q42506', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . ?x property:P47 ?m . VALUES ( ?x ) { ( resource:Q42911 ) ( resource:Q42396 ) ( resource:Q42506 ) } }
Carpiano Colturano Mediglia San Donato Milanese Melegnano Locate di Triulzi Colturano Melegnano Casalmaiocco Dresano Sordio Cerro al Lambro San Zenone al Lambro Melegnano San Giuliano Milanese Locate di Triulzi Cerro al Lambro Siziano Bascapè Landriano
Siziano, Mediglia and San Giuliano Milanese have a shared border with those ones
Siziano Mediglia San Giuliano Milanese
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['San Giuliano Milanese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Vizzolo Predabissi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Carpiano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:shares_border_with ?m . VALUES ( ?x ) { ( resource:San_Giuliano_Milanese ) ( resource:Cerro_al_Lambro ) ( resource:Carpiano ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42932
P17
Q15617994
USER
Which administrative territory is Melegnano a part of ?
(Q42932,P17,c(Q15617994))
action filter_type
action find
entity Q42932
relation P17
type Q15617994
['Q42932', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q42932 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Melegnano
action filter_type
action find
entity Melegnano
relation country
type designation for an administrative territorial entity
['Melegnano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Melegnano property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q42932,P17,c(Q15617994))
action filter_type
action find
entity Q42932
relation P17
type Q15617994
Which administrative territory is Melegnano a part of
['Q42932', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q42932 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Italy
Which administrative territory is Melegnano a part of
Italy
action filter_type
action find
entity Melegnano
relation country
type designation for an administrative territorial entity
['Melegnano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Melegnano property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q38 Q35 Q40
P530
Q1048835
USER
Does that administrative territory have diplomatic relations with Denmark and Austria ?
(Q38,P530,Q35) (Q38,P530,Q40)
action is_in
entity Q38
action intersection
action find_reverse
entity Q35
relation P530
action find_reverse
entity Q40
relation P530
['Q38', 'P530', 'Q35'] ['Q38', 'P530', 'Q40']
ASK WHERE { resource:Q38 property:P530 resource:Q35 . resource:Q38 property:P530 resource:Q40 }
Italy Denmark Austria
action is_in
entity Italy
action intersection
action find_reverse
entity Denmark
relation diplomatic relation
action find_reverse
entity Austria
relation diplomatic relation
['Italy', 'diplomatic relation', 'Denmark'] ['Italy', 'diplomatic relation', 'Austria']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Denmark . resource:Italy property:diplomatic_relation resource:Austria }
[]
political territorial entity
SYSTEM
YES
(Q38,P530,Q35) (Q38,P530,Q40)
action is_in
entity Q38
action intersection
action find_reverse
entity Q35
relation P530
action find_reverse
entity Q40
relation P530
[ANSWER]
['Q38', 'P530', 'Q35'] ['Q38', 'P530', 'Q40']
ASK WHERE { resource:Q38 property:P530 resource:Q35 . resource:Q38 property:P530 resource:Q40 }
Yes
action is_in
entity Italy
action intersection
action find_reverse
entity Denmark
relation diplomatic relation
action find_reverse
entity Austria
relation diplomatic relation
['Italy', 'diplomatic relation', 'Denmark'] ['Italy', 'diplomatic relation', 'Austria']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Denmark . resource:Italy property:diplomatic_relation resource:Austria }
[]