Simple Question (Direct)
Simple Question
Q4264977
P50
Q502895
USER
Who was the writer of The Tolkien Reader ?
(Q4264977,P50,c(Q502895))
action filter_type
action find
entity Q4264977
relation P50
type Q502895
['Q4264977', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q4264977 property:P50 ?k . ?k rdf:type ontology:Q502895 }
The Tolkien Reader
action filter_type
action find
entity The Tolkien Reader
relation author
type common name
['The Tolkien Reader', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Tolkien_Reader property:author ?k . ?k rdf:type ontology:common_name }
[]
common name
Q892
SYSTEM
J. R. R. Tolkien
Q892
(Q4264977,P50,c(Q502895))
action filter_type
action find
entity Q4264977
relation P50
type Q502895
The writer of The Tolkien Reader was Sir J. R. Tolkien
['Q4264977', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q4264977 property:P50 ?k . ?k rdf:type ontology:Q502895 }
J. R. R. Tolkien
The writer of The Tolkien Reader was Sir J. R. Tolkien
J. R. R. Tolkien
action filter_type
action find
entity The Tolkien Reader
relation author
type common name
['The Tolkien Reader', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Tolkien_Reader property:author ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q892
P138
Q2235308
USER
Which ship type has that person as its toponym ?
(c(Q2235308),P138,Q892)
action filter_type
action find_reverse
entity Q892
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q892']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2235308 . ?l property:P138 resource:Q892 }
J. R. R. Tolkien
action filter_type
action find_reverse
entity J. R. R. Tolkien
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'J. R. R. Tolkien']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:ship_type . ?l property:named_after resource:J._R._R._Tolkien }
[]
ship type
Q102382
SYSTEM
J. R. Tolkien
Q102382
(c(Q2235308),P138,Q892)
action filter_type
action find_reverse
entity Q892
relation P138
type Q2235308
[ANSWER] has that person as its toponym
[{'concept': 'Q2235308'}, 'P138', 'Q892']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2235308 . ?l property:P138 resource:Q892 }
J. R. Tolkien
J. R. Tolkien has that person as its toponym
J. R. Tolkien
action filter_type
action find_reverse
entity J. R. R. Tolkien
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'J. R. R. Tolkien']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:ship_type . ?l property:named_after resource:J._R._R._Tolkien }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q102382 Q5566050
P504
Q56061
USER
Does Gjormë serve as the home  of J. R. Tolkien ?
(Q102382,P504,Q5566050)
action is_in
entity Q5566050
action find
entity Q102382
relation P504
['Q102382', 'P504', 'Q5566050']
ASK WHERE { resource:Q102382 property:P504 resource:Q5566050 }
J. R. Tolkien Gjormë
action is_in
entity Gjormë
action find
entity J. R. Tolkien
relation home port
['J. R. Tolkien', 'home port', 'Gjormë']
ASK WHERE { resource:J._R._Tolkien property:home_port resource:Gjormë }
[]
administrative territorial entity
SYSTEM
NO
(Q102382,P504,Q5566050)
action is_in
entity Q5566050
action find
entity Q102382
relation P504
[ANSWER]
['Q102382', 'P504', 'Q5566050']
ASK WHERE { resource:Q102382 property:P504 resource:Q5566050 }
No
action is_in
entity Gjormë
action find
entity J. R. Tolkien
relation home port
['J. R. Tolkien', 'home port', 'Gjormë']
ASK WHERE { resource:J._R._Tolkien property:home_port resource:Gjormë }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q892 Q79911 Q213394
P607
Q198
USER
Did Russian Civil War and Sri Lankan Civil War fight in J. R. R. Tolkien ?
(Q892,P607,Q79911) (Q892,P607,Q213394)
action is_in
entity Q892
action intersection
action find_reverse
entity Q79911
relation P607
action find_reverse
entity Q213394
relation P607
['Q892', 'P607', 'Q79911'] ['Q892', 'P607', 'Q213394']
ASK WHERE { resource:Q892 property:P607 resource:Q213394 . resource:Q892 property:P607 resource:Q79911 }
J. R. R. Tolkien Russian Civil War Sri Lankan Civil War
action is_in
entity J. R. R. Tolkien
action intersection
action find_reverse
entity Russian Civil War
relation conflict
action find_reverse
entity Sri Lankan Civil War
relation conflict
['J. R. R. Tolkien', 'conflict', 'Russian Civil War'] ['J. R. R. Tolkien', 'conflict', 'Sri Lankan Civil War']
ASK WHERE { resource:J._R._R._Tolkien property:conflict resource:Sri_Lankan_Civil_War . resource:J._R._R._Tolkien property:conflict resource:Russian_Civil_War }
[]
war
SYSTEM
NO
(Q892,P607,Q79911) (Q892,P607,Q213394)
action is_in
entity Q892
action intersection
action find_reverse
entity Q79911
relation P607
action find_reverse
entity Q213394
relation P607
[ANSWER]
['Q892', 'P607', 'Q79911'] ['Q892', 'P607', 'Q213394']
ASK WHERE { resource:Q892 property:P607 resource:Q213394 . resource:Q892 property:P607 resource:Q79911 }
No
action is_in
entity J. R. R. Tolkien
action intersection
action find_reverse
entity Russian Civil War
relation conflict
action find_reverse
entity Sri Lankan Civil War
relation conflict
['J. R. R. Tolkien', 'conflict', 'Russian Civil War'] ['J. R. R. Tolkien', 'conflict', 'Sri Lankan Civil War']
ASK WHERE { resource:J._R._R._Tolkien property:conflict resource:Sri_Lankan_Civil_War . resource:J._R._R._Tolkien property:conflict resource:Russian_Civil_War }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26738798 Q4264977
P364
Q34770
USER
Which languages are the original languages of creation of The Tolkien Reader or History of Disaster Medicine ?
OR((Q4264977,P364,c(Q34770)), (Q26738798,P364,c(Q34770)))
action filter_type
action union
action find
entity Q4264977
relation P364
action find
entity Q26738798
relation P364
type Q34770
{'OR': [['Q4264977', 'P364', {'concept': 'Q34770'}], ['Q26738798', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q26738798 property:P364 ?a } UNION { resource:Q4264977 property:P364 ?a } } . ?a rdf:type ontology:Q34770 }
History of Disaster Medicine The Tolkien Reader
action filter_type
action union
action find
entity The Tolkien Reader
relation original language of work
action find
entity History of Disaster Medicine
relation original language of work
type language
{'OR': [['The Tolkien Reader', 'original language of work', {'concept': 'language'}], ['History of Disaster Medicine', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?a WHERE { { { resource:History_of_Disaster_Medicine property:original_language_of_work ?a } UNION { resource:The_Tolkien_Reader property:original_language_of_work ?a } } . ?a rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q4264977,P364,c(Q34770)), (Q26738798,P364,c(Q34770)))
action filter_type
action union
action find
entity Q4264977
relation P364
action find
entity Q26738798
relation P364
type Q34770
[ANSWER] is the original languages of creation of The Tolkien Reader or History of Disaster Medicine
{'OR': [['Q4264977', 'P364', {'concept': 'Q34770'}], ['Q26738798', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q26738798 property:P364 ?a } UNION { resource:Q4264977 property:P364 ?a } } . ?a rdf:type ontology:Q34770 }
English
English is the original languages of creation of The Tolkien Reader or History of Disaster Medicine
English
action filter_type
action union
action find
entity The Tolkien Reader
relation original language of work
action find
entity History of Disaster Medicine
relation original language of work
type language
{'OR': [['The Tolkien Reader', 'original language of work', {'concept': 'language'}], ['History of Disaster Medicine', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?a WHERE { { { resource:History_of_Disaster_Medicine property:original_language_of_work ?a } UNION { resource:The_Tolkien_Reader property:original_language_of_work ?a } } . ?a rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3094945
Q34770
USER
And also tell me about Gambling Ship?
(Q3094945,P364,c(Q34770))
action filter_type
action find
entity Q3094945
relation P364
type Q34770
['Q3094945', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q34770 . resource:Q3094945 property:P364 ?h }
Gambling Ship
action filter_type
action find
entity Gambling Ship
relation original language of work
type language
['Gambling Ship', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:language . resource:Gambling_Ship property:original_language_of_work ?h }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3094945,P364,c(Q34770))
action filter_type
action find
entity Q3094945
relation P364
type Q34770
[ANSWER]
['Q3094945', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q34770 . resource:Q3094945 property:P364 ?h }
English
English
action filter_type
action find
entity Gambling Ship
relation original language of work
type language
['Gambling Ship', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:language . resource:Gambling_Ship property:original_language_of_work ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3094945
P57
Q502895
USER
Which people served as the directed of that work of art ?
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q3094945
relation P57
type Q502895
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3094945 property:P57 ?o . ?o rdf:type ontology:Q502895 }
Gambling Ship
action filter_type
action find
entity Gambling Ship
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Gambling_Ship property:director ?o . ?o rdf:type ontology:common_name }
[]
common name
Q6794994 Q1402886
SYSTEM
Max Marcin, Louis J. Gasnier
Q6794994 Q1402886
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q3094945
relation P57
type Q502895
[ANSWERS] served as the directed of that work of art
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3094945 property:P57 ?o . ?o rdf:type ontology:Q502895 }
Max Marcin Louis J. Gasnier
Max Marcin and Louis J. Gasnier served as the directed of that work of art
Max Marcin Louis J. Gasnier
action filter_type
action find
entity Gambling Ship
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Gambling_Ship property:director ?o . ?o rdf:type ontology:common_name }
[]