Simple Question (Direct)
Simple Question
Q5336286
P19
Q56061
USER
Which administrative territory is the birthplace of Eddie May ?
(Q5336286,P19,c(Q56061))
action filter_type
action find
entity Q5336286
relation P19
type Q56061
['Q5336286', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q5336286 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Eddie May
action filter_type
action find
entity Eddie May
relation place of birth
type administrative territorial entity
['Eddie May', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Eddie_May property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23436
SYSTEM
Edinburgh
Q23436
(Q5336286,P19,c(Q56061))
action filter_type
action find
entity Q5336286
relation P19
type Q56061
The [ANSWER] is the birthplace of Eddie May
['Q5336286', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q5336286 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Edinburgh
The Edinburgh is the birthplace of Eddie May
Edinburgh
action filter_type
action find
entity Eddie May
relation place of birth
type administrative territorial entity
['Eddie May', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Eddie_May property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23436
P1427
Q83620
USER
Which thoroughfare has its origin at that administrative territory ?
(c(Q83620),P1427,Q23436)
action filter_type
action find_reverse
entity Q23436
relation P1427
type Q83620
[{'concept': 'Q83620'}, 'P1427', 'Q23436']
SELECT DISTINCT ?i WHERE { ?i property:P1427 resource:Q23436 . ?i rdf:type ontology:Q83620 }
Edinburgh
action filter_type
action find_reverse
entity Edinburgh
relation start point
type thoroughfare
[{'concept': 'thoroughfare'}, 'start point', 'Edinburgh']
SELECT DISTINCT ?i WHERE { ?i property:start_point resource:Edinburgh . ?i rdf:type ontology:thoroughfare }
[]
thoroughfare
Q7975427
SYSTEM
Waverley Route
Q7975427
(c(Q83620),P1427,Q23436)
action filter_type
action find_reverse
entity Q23436
relation P1427
type Q83620
[ANSWER] has its origin at that administrative territory
[{'concept': 'Q83620'}, 'P1427', 'Q23436']
SELECT DISTINCT ?i WHERE { ?i property:P1427 resource:Q23436 . ?i rdf:type ontology:Q83620 }
Waverley Route
Waverley Route has its origin at that administrative territory
Waverley Route
action filter_type
action find_reverse
entity Edinburgh
relation start point
type thoroughfare
[{'concept': 'thoroughfare'}, 'start point', 'Edinburgh']
SELECT DISTINCT ?i WHERE { ?i property:start_point resource:Edinburgh . ?i rdf:type ontology:thoroughfare }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7975427 Q23436
P1427
Q56061
USER
Does that thoroughfare originate from Edinburgh ?
(Q7975427,P1427,Q23436)
action is_in
entity Q23436
action find
entity Q7975427
relation P1427
['Q7975427', 'P1427', 'Q23436']
ASK WHERE { resource:Q7975427 property:P1427 resource:Q23436 }
Waverley Route Edinburgh
action is_in
entity Edinburgh
action find
entity Waverley Route
relation start point
['Waverley Route', 'start point', 'Edinburgh']
ASK WHERE { resource:Waverley_Route property:start_point resource:Edinburgh }
[]
administrative territorial entity
SYSTEM
YES
(Q7975427,P1427,Q23436)
action is_in
entity Q23436
action find
entity Q7975427
relation P1427
[ANSWER]
['Q7975427', 'P1427', 'Q23436']
ASK WHERE { resource:Q7975427 property:P1427 resource:Q23436 }
Yes
action is_in
entity Edinburgh
action find
entity Waverley Route
relation start point
['Waverley Route', 'start point', 'Edinburgh']
ASK WHERE { resource:Waverley_Route property:start_point resource:Edinburgh }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7975427
P1444
Q56061
USER
Which administrative territory does that thoroughfare finally stop at ?
action filter_type
action find
entity Q7975427
relation P1444
type Q56061
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q7975427 property:P1444 ?d }
Waverley Route
action filter_type
action find
entity Waverley Route
relation destination point
type administrative territorial entity
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Waverley_Route property:destination_point ?d }
[]
administrative territorial entity
Q192896
SYSTEM
Carlisle
Q192896
action filter_type
action find
entity Q7975427
relation P1444
type Q56061
Finally that thoroughfare stops at [ANSWER]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q7975427 property:P1444 ?d }
Carlisle
Finally that thoroughfare stops at Carlisle
Carlisle
action filter_type
action find
entity Waverley Route
relation destination point
type administrative territorial entity
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Waverley_Route property:destination_point ?d }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16648918 Q5336286
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Eddie May or Yonaider Ortega ?
OR((Q5336286,P27,c(Q15617994)), (Q16648918,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5336286
relation P27
action find
entity Q16648918
relation P27
type Q15617994
{'OR': [['Q5336286', 'P27', {'concept': 'Q15617994'}], ['Q16648918', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . { { resource:Q5336286 property:P27 ?v } UNION { resource:Q16648918 property:P27 ?v } } }
Yonaider Ortega Eddie May
action filter_type
action union
action find
entity Eddie May
relation country of citizenship
action find
entity Yonaider Ortega
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eddie May', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yonaider Ortega', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Eddie_May property:country_of_citizenship ?v } UNION { resource:Yonaider_Ortega property:country_of_citizenship ?v } } }
[]
designation for an administrative territorial entity
Q739 Q145
SYSTEM
Colombia, United Kingdom
Q739 Q145
OR((Q5336286,P27,c(Q15617994)), (Q16648918,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5336286
relation P27
action find
entity Q16648918
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Eddie May or Yonaider Ortega
{'OR': [['Q5336286', 'P27', {'concept': 'Q15617994'}], ['Q16648918', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . { { resource:Q5336286 property:P27 ?v } UNION { resource:Q16648918 property:P27 ?v } } }
Colombia United Kingdom
Colombia and United Kingdom are the countries of citizenship of Eddie May or Yonaider Ortega
Colombia United Kingdom
action filter_type
action union
action find
entity Eddie May
relation country of citizenship
action find
entity Yonaider Ortega
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eddie May', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yonaider Ortega', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Eddie_May property:country_of_citizenship ?v } UNION { resource:Yonaider_Ortega property:country_of_citizenship ?v } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q739 Q145
P530
Q1048835
USER
Which political territories have diplomatic relations with Colombia and United Kingdom ?
(Q739,P530,c(Q1048835)) (Q145,P530,c(Q1048835))
action union
action filter_type
action find
entity Q739
relation P530
type Q1048835
action filter_type
action find
entity Q145
relation P530
type Q1048835
['Q739', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { resource:Q739 property:P530 ?r . ?r rdf:type ontology:Q1048835 } UNION { resource:Q145 property:P530 ?r . ?r rdf:type ontology:Q1048835 } }
Colombia United Kingdom
action union
action filter_type
action find
entity Colombia
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
['Colombia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { resource:Colombia property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } UNION { resource:United_Kingdom property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q183 Q183 Q408
SYSTEM
Australia for 3rd, Germany for 1st, 2nd
Q408 Q16 Q183 Q183 Q408 Q16
(Q739,P530,c(Q1048835)) (Q145,P530,c(Q1048835))
action union
action filter_type
action find
entity Q739
relation P530
type Q1048835
action filter_type
action find
entity Q145
relation P530
type Q1048835
[ANSWERS]
['Q739', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { resource:Q739 property:P530 ?r . ?r rdf:type ontology:Q1048835 } UNION { resource:Q145 property:P530 ?r . ?r rdf:type ontology:Q1048835 } }
Australia Canada Germany Germany Australia Canada
Germany, Germany and Australia have diplomatic relations with Colombia and United Kingdom
Germany Germany Australia
action union
action filter_type
action find
entity Colombia
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
['Colombia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { resource:Colombia property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } UNION { resource:United_Kingdom property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192896
P47
Q56061
USER
Who shares the border with Carlisle ?
(Q192896,P47,c(Q56061))
action filter_type
action find
entity Q192896
relation P47
type Q56061
['Q192896', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q192896 property:P47 ?d . ?d rdf:type ontology:Q56061 }
Carlisle
action filter_type
action find
entity Carlisle
relation shares border with
type administrative territorial entity
['Carlisle', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Carlisle property:shares_border_with ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q216045
SYSTEM
Lockerbie
Q216045
(Q192896,P47,c(Q56061))
action filter_type
action find
entity Q192896
relation P47
type Q56061
[ANSWER] shares the border with Carlisle
['Q192896', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q192896 property:P47 ?d . ?d rdf:type ontology:Q56061 }
Lockerbie
Lockerbie shares the border with Carlisle
Lockerbie
action filter_type
action find
entity Carlisle
relation shares border with
type administrative territorial entity
['Carlisle', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Carlisle property:shares_border_with ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192896
P609
Q83620
USER
Which thoroughfares are Carlisle a destination for ?
(c(Q83620),P609,Q192896)
action filter_type
action find_reverse
entity Q192896
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q192896']
SELECT DISTINCT ?j WHERE { ?j property:P609 resource:Q192896 . ?j rdf:type ontology:Q83620 }
Carlisle
action filter_type
action find_reverse
entity Carlisle
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Carlisle']
SELECT DISTINCT ?j WHERE { ?j property:terminus_location resource:Carlisle . ?j rdf:type ontology:thoroughfare }
[]
thoroughfare
Q4649590 Q4649588
SYSTEM
A6 road, A69 road
Q4649590 Q4649588
(c(Q83620),P609,Q192896)
action filter_type
action find_reverse
entity Q192896
relation P609
type Q83620
Carlisle are the [ANSWERS]
[{'concept': 'Q83620'}, 'P609', 'Q192896']
SELECT DISTINCT ?j WHERE { ?j property:P609 resource:Q192896 . ?j rdf:type ontology:Q83620 }
A6 road A69 road
Carlisle are the A6 road and A69 road
A6 road A69 road
action filter_type
action find_reverse
entity Carlisle
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Carlisle']
SELECT DISTINCT ?j WHERE { ?j property:terminus_location resource:Carlisle . ?j rdf:type ontology:thoroughfare }
[]