spanish food is worked with by which chef?
Entity Entity Entity
m.0f3mrx m.0277ykg m.02qsqd4
José Andrés Anastacio de Alba Martín Berasategui
class entity
dining.chef m.06wqv
dining.chef dining.cuisine
Chef spanish food
none none
dining.chef.cuisines
Cuisines
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 :dining.chef . 
VALUES ?x1 { :m.06wqv } 
?x0 :dining.chef.cuisines ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND dining.chef (JOIN dining.chef.cuisines m.06wqv))