which short story's genre is sea story?
Entity Entity Entity
m.027cbgj m.01262n m.0b2gd3
The Oblong Box A Descent into the Maelström MS. Found in a Bottle
class entity
book.short_story m.07m5w1
book.short_story media_common.literary_genre
Short Story Sea story
none none
book.short_story.genre
Genre
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 :book.short_story . 
VALUES ?x1 { :m.07m5w1 } 
?x0 :book.short_story.genre ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND book.short_story (JOIN book.short_story.genre m.07m5w1))