Simple Question (Direct)
Simple Question
Q387631
P17
Q15617994
USER
Which administrative territory is San Vero Milis located in ?
(Q387631,P17,c(Q15617994))
action filter_type
action find
entity Q387631
relation P17
type Q15617994
['Q387631', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q387631 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
San Vero Milis
action filter_type
action find
entity San Vero Milis
relation country
type designation for an administrative territorial entity
['San Vero Milis', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:San_Vero_Milis property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q387631,P17,c(Q15617994))
action filter_type
action find
entity Q387631
relation P17
type Q15617994
San Vero Milis is located in [ANSWER]
['Q387631', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q387631 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Italy
San Vero Milis is located in Italy
Italy
action filter_type
action find
entity San Vero Milis
relation country
type designation for an administrative territorial entity
['San Vero Milis', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:San_Vero_Milis property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P85
Q7725634
USER
What is the national anthem of that administrative territory ?
(Q38,P85,c(Q7725634))
action filter_type
action find
entity Q38
relation P85
type Q7725634
['Q38', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?l WHERE { resource:Q38 property:P85 ?l . ?l rdf:type ontology:Q7725634 }
Italy
action filter_type
action find
entity Italy
relation anthem
type literary work
['Italy', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?l WHERE { resource:Italy property:anthem ?l . ?l rdf:type ontology:literary_work }
[]
literary work
Q187
SYSTEM
Il Canto degli Italiani
Q187
(Q38,P85,c(Q7725634))
action filter_type
action find
entity Q38
relation P85
type Q7725634
The national anthem of that administrative territory is [ANSWER]
['Q38', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?l WHERE { resource:Q38 property:P85 ?l . ?l rdf:type ontology:Q7725634 }
Il Canto degli Italiani
The national anthem of that administrative territory is Il Canto degli Italiani
Il Canto degli Italiani
action filter_type
action find
entity Italy
relation anthem
type literary work
['Italy', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?l WHERE { resource:Italy property:anthem ?l . ?l rdf:type ontology:literary_work }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26558447 Q187
P17
Q15617994
USER
Which administrative territories are Il Canto degli Italiani or 7, High Street present in ?
OR((Q187,P17,c(Q15617994)), (Q26558447,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q187
relation P17
action find
entity Q26558447
relation P17
type Q15617994
{'OR': [['Q187', 'P17', {'concept': 'Q15617994'}], ['Q26558447', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . { { resource:Q26558447 property:P17 ?j } UNION { resource:Q187 property:P17 ?j } } }
7, High Street Il Canto degli Italiani
action filter_type
action union
action find
entity Il Canto degli Italiani
relation country
action find
entity 7, High Street
relation country
type designation for an administrative territorial entity
{'OR': [['Il Canto degli Italiani', 'country', {'concept': 'designation for an administrative territorial entity'}], ['7, High Street', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:7,_High_Street property:country ?j } UNION { resource:Il_Canto_degli_Italiani property:country ?j } } }
[]
designation for an administrative territorial entity
Q38 Q145
SYSTEM
Italy, United Kingdom
Q38 Q145
OR((Q187,P17,c(Q15617994)), (Q26558447,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q187
relation P17
action find
entity Q26558447
relation P17
type Q15617994
[ANSWERS] are Il Canto degli Italiani or 7, High Street present in
{'OR': [['Q187', 'P17', {'concept': 'Q15617994'}], ['Q26558447', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . { { resource:Q26558447 property:P17 ?j } UNION { resource:Q187 property:P17 ?j } } }
Italy United Kingdom
Italy and United Kingdom are Il Canto degli Italiani or 7, High Street present in
Italy United Kingdom
action filter_type
action union
action find
entity Il Canto degli Italiani
relation country
action find
entity 7, High Street
relation country
type designation for an administrative territorial entity
{'OR': [['Il Canto degli Italiani', 'country', {'concept': 'designation for an administrative territorial entity'}], ['7, High Street', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:7,_High_Street property:country ?j } UNION { resource:Il_Canto_degli_Italiani property:country ?j } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7821120 Q187
P17
Q15617994
USER
Which administrative territories are Il Canto degli Italiani or Tongnim Station present in ?
OR((Q187,P17,c(Q15617994)), (Q7821120,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q187
relation P17
action find
entity Q7821120
relation P17
type Q15617994
{'OR': [['Q187', 'P17', {'concept': 'Q15617994'}], ['Q7821120', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { ?m property:P17 ?k . VALUES ( ?m ) { ( resource:Q7821120 ) ( resource:Q187 ) } } }
Tongnim Station Il Canto degli Italiani
action filter_type
action union
action find
entity Il Canto degli Italiani
relation country
action find
entity Tongnim Station
relation country
type designation for an administrative territorial entity
{'OR': [['Il Canto degli Italiani', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tongnim Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?m property:country ?k . VALUES ( ?m ) { ( resource:Tongnim_Station ) ( resource:Il_Canto_degli_Italiani ) } } }
[]
designation for an administrative territorial entity
Q423 Q38
SYSTEM
North Korea, Italy
Q423 Q38
OR((Q187,P17,c(Q15617994)), (Q7821120,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q187
relation P17
action find
entity Q7821120
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q187', 'P17', {'concept': 'Q15617994'}], ['Q7821120', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { ?m property:P17 ?k . VALUES ( ?m ) { ( resource:Q7821120 ) ( resource:Q187 ) } } }
North Korea Italy
Which administrative territories are Il Canto degli Italiani or Tongnim Station present in
North Korea Italy
action filter_type
action union
action find
entity Il Canto degli Italiani
relation country
action find
entity Tongnim Station
relation country
type designation for an administrative territorial entity
{'OR': [['Il Canto degli Italiani', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tongnim Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?m property:country ?k . VALUES ( ?m ) { ( resource:Tongnim_Station ) ( resource:Il_Canto_degli_Italiani ) } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q230
P530
Q15617994
USER
Do Georgia have diplomatic relations with those ones ?
(Q230,P530,Q423) (Q230,P530,Q38)
action is_in
entity prev_answer
action find
entity Q230
relation P530
['Q230', 'P530', 'Q423'] ['Q230', 'P530', 'Q38']
ASK WHERE { VALUES ( ?z ) { ( resource:Q423 ) ( resource:Q38 ) } . resource:Q230 property:P530 ?z }
Georgia
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'North Korea'] ['Georgia', 'diplomatic relation', 'Italy']
ASK WHERE { VALUES ( ?z ) { ( resource:North_Korea ) ( resource:Italy ) } . resource:Georgia property:diplomatic_relation ?z }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q230,P530,Q423) (Q230,P530,Q38)
action is_in
entity prev_answer
action find
entity Q230
relation P530
[ANSWER]
['Q230', 'P530', 'Q423'] ['Q230', 'P530', 'Q38']
ASK WHERE { VALUES ( ?z ) { ( resource:Q423 ) ( resource:Q38 ) } . resource:Q230 property:P530 ?z }
Yes
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'North Korea'] ['Georgia', 'diplomatic relation', 'Italy']
ASK WHERE { VALUES ( ?z ) { ( resource:North_Korea ) ( resource:Italy ) } . resource:Georgia property:diplomatic_relation ?z }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q423 Q380261 Q10665
P35
Q502895
USER
Is Little Walter and Kim Jong-il the head of state of North Korea ?
(Q423,P35,Q380261) (Q423,P35,Q10665)
action is_in
entity Q423
action intersection
action find_reverse
entity Q380261
relation P35
action find_reverse
entity Q10665
relation P35
['Q423', 'P35', 'Q380261'] ['Q423', 'P35', 'Q10665']
ASK WHERE { resource:Q423 property:P35 resource:Q380261 . resource:Q423 property:P35 resource:Q10665 }
North Korea Little Walter Kim Jong-il
action is_in
entity North Korea
action intersection
action find_reverse
entity Little Walter
relation head of state
action find_reverse
entity Kim Jong-il
relation head of state
['North Korea', 'head of state', 'Little Walter'] ['North Korea', 'head of state', 'Kim Jong-il']
ASK WHERE { resource:North_Korea property:head_of_state resource:Little_Walter . resource:North_Korea property:head_of_state resource:Kim_Jong-il }
[]
common name
SYSTEM
NO and YES respectively
(Q423,P35,Q380261) (Q423,P35,Q10665)
action is_in
entity Q423
action intersection
action find_reverse
entity Q380261
relation P35
action find_reverse
entity Q10665
relation P35
[ANSWER]
['Q423', 'P35', 'Q380261'] ['Q423', 'P35', 'Q10665']
ASK WHERE { resource:Q423 property:P35 resource:Q380261 . resource:Q423 property:P35 resource:Q10665 }
NO and YES respectively
action is_in
entity North Korea
action intersection
action find_reverse
entity Little Walter
relation head of state
action find_reverse
entity Kim Jong-il
relation head of state
['North Korea', 'head of state', 'Little Walter'] ['North Korea', 'head of state', 'Kim Jong-il']
ASK WHERE { resource:North_Korea property:head_of_state resource:Little_Walter . resource:North_Korea property:head_of_state resource:Kim_Jong-il }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q38 Q1337329 Q4360100
P530
Q15617994
USER
Does Italy have tactful political relations with Jiangxia District and Peschany ?
(Q38,P530,Q1337329) (Q38,P530,Q4360100)
action is_in
entity Q38
action intersection
action find_reverse
entity Q1337329
relation P530
action find_reverse
entity Q4360100
relation P530
['Q38', 'P530', 'Q1337329'] ['Q38', 'P530', 'Q4360100']
ASK WHERE { resource:Q38 property:P530 resource:Q4360100 . resource:Q38 property:P530 resource:Q1337329 }
Italy Jiangxia District Peschany
action is_in
entity Italy
action intersection
action find_reverse
entity Jiangxia District
relation diplomatic relation
action find_reverse
entity Peschany
relation diplomatic relation
['Italy', 'diplomatic relation', 'Jiangxia District'] ['Italy', 'diplomatic relation', 'Peschany']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Peschany . resource:Italy property:diplomatic_relation resource:Jiangxia_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q38,P530,Q1337329) (Q38,P530,Q4360100)
action is_in
entity Q38
action intersection
action find_reverse
entity Q1337329
relation P530
action find_reverse
entity Q4360100
relation P530
[ANSWER]
['Q38', 'P530', 'Q1337329'] ['Q38', 'P530', 'Q4360100']
ASK WHERE { resource:Q38 property:P530 resource:Q4360100 . resource:Q38 property:P530 resource:Q1337329 }
No
action is_in
entity Italy
action intersection
action find_reverse
entity Jiangxia District
relation diplomatic relation
action find_reverse
entity Peschany
relation diplomatic relation
['Italy', 'diplomatic relation', 'Jiangxia District'] ['Italy', 'diplomatic relation', 'Peschany']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Peschany . resource:Italy property:diplomatic_relation resource:Jiangxia_District }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P163
Q14660
USER
What is the name of flag associated with Italy ?
action filter_type
action find
entity Q38
relation P163
type Q14660
SELECT DISTINCT ?w WHERE { resource:Q38 property:P163 ?w . ?w rdf:type ontology:Q14660 }
Italy
action filter_type
action find
entity Italy
relation flag
type flag
SELECT DISTINCT ?w WHERE { resource:Italy property:flag ?w . ?w rdf:type ontology:flag }
[]
flag
Q42876
SYSTEM
Flag of Italy
Q42876
action filter_type
action find
entity Q38
relation P163
type Q14660
The name of flag associated with Italy is the [ANSWER]
SELECT DISTINCT ?w WHERE { resource:Q38 property:P163 ?w . ?w rdf:type ontology:Q14660 }
Flag of Italy
The name of flag associated with Italy is the Flag of Italy
Flag of Italy
action filter_type
action find
entity Italy
relation flag
type flag
SELECT DISTINCT ?w WHERE { resource:Italy property:flag ?w . ?w rdf:type ontology:flag }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5589671 Q187
P17
Q15617994
USER
Which administrative territories do Il Canto degli Italiani or Governor of Krasnodar Krai belong to ?
OR((Q187,P17,c(Q15617994)), (Q5589671,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q187
relation P17
action find
entity Q5589671
relation P17
type Q15617994
{'OR': [['Q187', 'P17', {'concept': 'Q15617994'}], ['Q5589671', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q187 property:P17 ?p } UNION { resource:Q5589671 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Governor of Krasnodar Krai Il Canto degli Italiani
action filter_type
action union
action find
entity Il Canto degli Italiani
relation country
action find
entity Governor of Krasnodar Krai
relation country
type designation for an administrative territorial entity
{'OR': [['Il Canto degli Italiani', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Governor of Krasnodar Krai', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Il_Canto_degli_Italiani property:country ?p } UNION { resource:Governor_of_Krasnodar_Krai property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q159
SYSTEM
Italy, Russia
Q38 Q159
OR((Q187,P17,c(Q15617994)), (Q5589671,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q187
relation P17
action find
entity Q5589671
relation P17
type Q15617994
[ANSWERS] Il Canto degli Italiani or Governor of Krasnodar Krai belong to
{'OR': [['Q187', 'P17', {'concept': 'Q15617994'}], ['Q5589671', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q187 property:P17 ?p } UNION { resource:Q5589671 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Italy Russia
Italy and Russia Il Canto degli Italiani or Governor of Krasnodar Krai belong to
Italy Russia
action filter_type
action union
action find
entity Il Canto degli Italiani
relation country
action find
entity Governor of Krasnodar Krai
relation country
type designation for an administrative territorial entity
{'OR': [['Il Canto degli Italiani', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Governor of Krasnodar Krai', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Il_Canto_degli_Italiani property:country ?p } UNION { resource:Governor_of_Krasnodar_Krai property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P610
Q14524493
USER
Which is the highest point of Russia ?
(Q159,P610,c(Q14524493))
action filter_type
action find
entity Q159
relation P610
type Q14524493
['Q159', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?n WHERE { resource:Q159 property:P610 ?n . ?n rdf:type ontology:Q14524493 }
Russia
action filter_type
action find
entity Russia
relation highest point
type terrain
['Russia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?n WHERE { resource:Russia property:highest_point ?n . ?n rdf:type ontology:terrain }
[]
terrain
Q43105
SYSTEM
Mount Elbrus
Q43105
(Q159,P610,c(Q14524493))
action filter_type
action find
entity Q159
relation P610
type Q14524493
The highest point of Russia is the [ANSWER]
['Q159', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?n WHERE { resource:Q159 property:P610 ?n . ?n rdf:type ontology:Q14524493 }
Mount Elbrus
The highest point of Russia is the Mount Elbrus
Mount Elbrus
action filter_type
action find
entity Russia
relation highest point
type terrain
['Russia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?n WHERE { resource:Russia property:highest_point ?n . ?n rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43105
P138
Q42889
USER
Which vehicle is the eponym of that terrain ?
(c(Q42889),P138,Q43105)
action filter_type
action find_reverse
entity Q43105
relation P138
type Q42889
[{'concept': 'Q42889'}, 'P138', 'Q43105']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q42889 . ?m property:P138 resource:Q43105 }
Mount Elbrus
action filter_type
action find_reverse
entity Mount Elbrus
relation named after
type vehicle
[{'concept': 'vehicle'}, 'named after', 'Mount Elbrus']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:vehicle . ?m property:named_after resource:Mount_Elbrus }
[]
vehicle
Q1968094
SYSTEM
R-17 Elbrus
Q1968094
(c(Q42889),P138,Q43105)
action filter_type
action find_reverse
entity Q43105
relation P138
type Q42889
[ANSWER] is the eponym of that terrain
[{'concept': 'Q42889'}, 'P138', 'Q43105']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q42889 . ?m property:P138 resource:Q43105 }
R-17 Elbrus
R-17 Elbrus is the eponym of that terrain
R-17 Elbrus
action filter_type
action find_reverse
entity Mount Elbrus
relation named after
type vehicle
[{'concept': 'vehicle'}, 'named after', 'Mount Elbrus']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:vehicle . ?m property:named_after resource:Mount_Elbrus }
[]