Simple Question (Direct)
Simple Question
Q7181940
P20
Q56061
USER
Where did Phil Griggs expire ?
(Q7181940,P20,c(Q56061))
action filter_type
action find
entity Q7181940
relation P20
type Q56061
['Q7181940', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q7181940 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Phil Griggs
action filter_type
action find
entity Phil Griggs
relation place of death
type administrative territorial entity
['Phil Griggs', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Phil_Griggs property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q79848
SYSTEM
Southampton
Q79848
(Q7181940,P20,c(Q56061))
action filter_type
action find
entity Q7181940
relation P20
type Q56061
Phil Griggs expired in [ANSWER]
['Q7181940', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q7181940 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Southampton
Phil Griggs expired in Southampton
Southampton
action filter_type
action find
entity Phil Griggs
relation place of death
type administrative territorial entity
['Phil Griggs', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Phil_Griggs property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q79848
P206
Q355304
USER
Which watercourses are located next to that administrative territory ?
(Q79848,P206,c(Q355304))
action filter_type
action find
entity Q79848
relation P206
type Q355304
['Q79848', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?u WHERE { resource:Q79848 property:P206 ?u . ?u rdf:type ontology:Q355304 }
Southampton
action filter_type
action find
entity Southampton
relation located next to body of water
type watercourse
['Southampton', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?u WHERE { resource:Southampton property:located_next_to_body_of_water ?u . ?u rdf:type ontology:watercourse }
[]
watercourse
Q7337528 Q2677000
SYSTEM
River Itchen, River Test
Q7337528 Q2677000
(Q79848,P206,c(Q355304))
action filter_type
action find
entity Q79848
relation P206
type Q355304
[ANSWERS] are located next to that administrative territory
['Q79848', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?u WHERE { resource:Q79848 property:P206 ?u . ?u rdf:type ontology:Q355304 }
River Itchen River Test
River Itchen and River Test are located next to that administrative territory
River Itchen River Test
action filter_type
action find
entity Southampton
relation located next to body of water
type watercourse
['Southampton', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?u WHERE { resource:Southampton property:located_next_to_body_of_water ?u . ?u rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q79848
P840
Q838948
USER
Which work of art has its narrative set in that administrative territory ?
(c(Q838948),P840,Q7337528) (c(Q838948),P840,Q2677000)
action filter_type
action find_reverse
entity Q79848
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q7337528'] [{'concept': 'Q838948'}, 'P840', 'Q2677000']
SELECT DISTINCT ?x WHERE { ?x property:P840 resource:Q79848 . ?x rdf:type ontology:Q838948 }
Southampton
action filter_type
action find_reverse
entity Southampton
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'River Itchen'] [{'concept': 'work of art'}, 'narrative location', 'River Test']
SELECT DISTINCT ?x WHERE { ?x property:narrative_location resource:Southampton . ?x rdf:type ontology:work_of_art }
[]
work of art
Q44578
SYSTEM
Titanic
Q44578
(c(Q838948),P840,Q7337528) (c(Q838948),P840,Q2677000)
action filter_type
action find_reverse
entity Q79848
relation P840
type Q838948
[ANSWER] has its narrative set in that administrative territory
[{'concept': 'Q838948'}, 'P840', 'Q7337528'] [{'concept': 'Q838948'}, 'P840', 'Q2677000']
SELECT DISTINCT ?x WHERE { ?x property:P840 resource:Q79848 . ?x rdf:type ontology:Q838948 }
Titanic
Titanic has its narrative set in that administrative territory
Titanic
action filter_type
action find_reverse
entity Southampton
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'River Itchen'] [{'concept': 'work of art'}, 'narrative location', 'River Test']
SELECT DISTINCT ?x WHERE { ?x property:narrative_location resource:Southampton . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q79848
P30
Q2221906
USER
Which geographic location is that administrative territory situated in ?
(Q44578,P30,c(Q2221906))
action filter_type
action find
entity Q79848
relation P30
type Q2221906
['Q44578', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { resource:Q79848 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
Southampton
action filter_type
action find
entity Southampton
relation continent
type geographic location
['Titanic', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { resource:Southampton property:continent ?c . ?c rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q44578,P30,c(Q2221906))
action filter_type
action find
entity Q79848
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q44578', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { resource:Q79848 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
Europe
That administrative territory is situated in Europe
Europe
action filter_type
action find
entity Southampton
relation continent
type geographic location
['Titanic', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { resource:Southampton property:continent ?c . ?c rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q46 Q16911562
P30
Q355304
USER
Is Peleco River located in that geographic location ?
(Q16911562,P30,Q46)
action is_in
entity Q16911562
action find
entity Q46
relation P30
['Q16911562', 'P30', 'Q46']
ASK WHERE { resource:Q46 property:P30 resource:Q16911562 }
Europe Peleco River
action is_in
entity Peleco River
action find
entity Europe
relation continent
['Peleco River', 'continent', 'Europe']
ASK WHERE { resource:Europe property:continent resource:Peleco_River }
[]
watercourse
SYSTEM
NO
(Q16911562,P30,Q46)
action is_in
entity Q16911562
action find
entity Q46
relation P30
[ANSWER]
['Q16911562', 'P30', 'Q46']
ASK WHERE { resource:Q46 property:P30 resource:Q16911562 }
No
action is_in
entity Peleco River
action find
entity Europe
relation continent
['Peleco River', 'continent', 'Europe']
ASK WHERE { resource:Europe property:continent resource:Peleco_River }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q46 Q49
P276
Q1190554
USER
How many events have their location as Europe and North America ?
(c(Q1190554),P276,Q46) (c(Q1190554),P276,Q49)
action count
action intersection
action filter_type
action find_reverse
entity Q46
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q49
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q46'] [{'concept': 'Q1190554'}, 'P276', 'Q49']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P276 resource:Q49 . ?d rdf:type ontology:Q1190554 . ?d rdf:type ontology:Q1190554 . ?d property:P276 resource:Q46 }
Europe North America
action count
action intersection
action filter_type
action find_reverse
entity Europe
relation location
type event
action filter_type
action find_reverse
entity North America
relation location
type event
[{'concept': 'event'}, 'location', 'Europe'] [{'concept': 'event'}, 'location', 'North America']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:location resource:North_America . ?d rdf:type ontology:event . ?d rdf:type ontology:event . ?d property:location resource:Europe }
[]
event
SYSTEM
2
Q150701 Q152218
(c(Q1190554),P276,Q46) (c(Q1190554),P276,Q49)
action count
action intersection
action filter_type
action find_reverse
entity Q46
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q49
relation P276
type Q1190554
[ANSWER]
[{'concept': 'Q1190554'}, 'P276', 'Q46'] [{'concept': 'Q1190554'}, 'P276', 'Q49']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P276 resource:Q49 . ?d rdf:type ontology:Q1190554 . ?d rdf:type ontology:Q1190554 . ?d property:P276 resource:Q46 }
War of the Spanish Succession Nine Years' War
2
action count
action intersection
action filter_type
action find_reverse
entity Europe
relation location
type event
action filter_type
action find_reverse
entity North America
relation location
type event
[{'concept': 'event'}, 'location', 'Europe'] [{'concept': 'event'}, 'location', 'North America']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:location resource:North_America . ?d rdf:type ontology:event . ?d rdf:type ontology:event . ?d property:location resource:Europe }
[]