which privately owned vehicle has a model of pontiac?
Entity Entity Entity
m.02k_q3p m.0cy6b2 m.02k_q8b
Ken's 1968 Pontiac GTO Monkeemobile Ken's 2004 Pontiac GTO
class entity
automotive.privately_owned_vehicle m.01h7_d
automotive.privately_owned_vehicle automotive.model
Privately Owned Vehicle pontiac
none none
automotive.privately_owned_vehicle.model
Model
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.privately_owned_vehicle . 
VALUES ?x1 { :m.01h7_d } 
?x0 :automotive.privately_owned_vehicle.model ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND automotive.privately_owned_vehicle (JOIN automotive.privately_owned_vehicle.model m.01h7_d))