which automobile generation is the successor of ford fiesta mark iv
Entity
m.09dv82y
Ford Fiesta Mark III
class entity
automotive.generation m.09dv838
automotive.generation automotive.generation
Automobile generation Ford Fiesta Mark IV
none none
automotive.generation.successor
Successor
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.generation . 
VALUES ?x1 { :m.09dv838 } 
?x0 :automotive.generation.successor ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND automotive.generation (JOIN automotive.generation.successor m.09dv838))