what literary genre is the parent genre of a game genre, whose parent genre is speculative literature?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0134b1 m.06www m.01qpc m.057pyk m.07ps83 m.0kflf m.02_w8 m.03dw_3 m.03lrw m.01rvlb m.070yc m.0dz8b m.01smf2 m.02vzzv m.05wtnw m.07lw0y m.06bm_y m.07h2td m.070l2 m.0bt0c m.04chq5 m.02y6hh
Contemporary fantasy Steampunk Cyberpunk Fantasy of manners Sword and planet Vampire literature Feminist science fiction Heroic fantasy Hard science fiction Science fantasy Space opera Sword and sorcery Military science fiction Urban fantasy Cosy catastrophe Post-holocaust Edisonade Lovecraftian horror Soft science fiction Future history Planetary romance Splatterpunk
class class entity
media_common.literary_genre games.game_genre m.014dfn
media_common.literary_genre games.game_genre media_common.media_genre
Literary Genre Game genre speculative literature
none none none
media_common.media_genre.parent_genre media_common.media_genre.parent_genre
Parent genre Parent 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 :media_common.literary_genre . 
?x1 :type.object.type :games.game_genre . 
VALUES ?x2 { :m.014dfn } 
?x0 :media_common.media_genre.parent_genre ?x1 . 
?x1 :media_common.media_genre.parent_genre ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND media_common.literary_genre (JOIN media_common.media_genre.parent_genre (JOIN media_common.media_genre.parent_genre m.014dfn)))