what car model is toyota which and it's related model the prius?
Entity
m.0b17l1
Toyota Camry Hybrid
class entity entity
automotive.model m.0h5y1j0 m.01ysmz
automotive.model automotive.make automotive.model
Automobile Model Toyota prius
none none none
automotive.make.model_s automotive.model.related
Model(s) Related
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 :automotive.model . 
VALUES ?x1 { :m.0h5y1j0 } 
VALUES ?x2 { :m.01ysmz } 
?x1 :automotive.make.model_s ?x0 . 
?x0 :automotive.model.related ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND automotive.model (AND (JOIN (R automotive.make.model_s) m.0h5y1j0) (JOIN automotive.model.related m.01ysmz)))