the theta cephei constellation has what exoplanet in it?
Entity
m.0ctps6
Gamma Cephei Ab
class class entity
base.exoplanetology.exoplanet astronomy.constellation m.02ps34q
base.exoplanetology.exoplanet astronomy.constellation astronomy.star
Exoplanet Constellation Theta Cephei
none none none
base.exoplanetology.exoplanet.constellation astronomy.star.constellation
Constellation Constellation
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 :base.exoplanetology.exoplanet . 
?x1 :type.object.type :astronomy.constellation . 
VALUES ?x2 { :m.02ps34q } 
?x0 :base.exoplanetology.exoplanet.constellation ?x1 . 
?x2 :astronomy.star.constellation ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND base.exoplanetology.exoplanet (JOIN base.exoplanetology.exoplanet.constellation (JOIN (R astronomy.star.constellation) m.02ps34q)))