what model of automobile is ford fiesta st related to?
Entity Entity
m.04dxkl m.030qwx
Ford Puma Ford Ikon
class entity
automotive.model m.02f6d7
automotive.model automotive.model
Automobile Model ford fiesta st
none none
automotive.model.related
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.02f6d7 } 
?x0 :automotive.model.related ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND automotive.model (JOIN automotive.model.related m.02f6d7))