prison beneath the sea is the setting for an event in which work of fiction?
Entity
m.05qh0kt
Storm Seed
class class entity
fictional_universe.work_of_fiction fictional_universe.event_in_fiction m.0dwpwmy
fictional_universe.work_of_fiction fictional_universe.event_in_fiction fictional_universe.fictional_setting
Work of Fiction Event in fiction Prison beneath the sea
none none none
fictional_universe.work_of_fiction.events fictional_universe.event_in_fiction.location
Events Location
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :fictional_universe.work_of_fiction . 
?x1 :type.object.type :fictional_universe.event_in_fiction . 
VALUES ?x2 { :m.0dwpwmy } 
?x0 :fictional_universe.work_of_fiction.events ?x1 . 
?x1 :fictional_universe.event_in_fiction.location ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND fictional_universe.work_of_fiction (JOIN fictional_universe.work_of_fiction.events (JOIN fictional_universe.event_in_fiction.location m.0dwpwmy)))