find the chef who uses a language that is the language used by the prince.
Entity Entity Entity
m.031618 m.05dpch m.012cdvqf
Rachael Ray Paula Deen Chris Christakos
class class entity
dining.chef language.human_language m.059cjgk
dining.chef language.human_language book.book_edition
Chef Human Language The Prince
none none none
people.person.languages book.book_edition.language
Languages Language
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 . 
?x1 :type.object.type :language.human_language . 
VALUES ?x2 { :m.059cjgk } 
?x0 :people.person.languages ?x1 . 
?x2 :book.book_edition.language ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND dining.chef (JOIN people.person.languages (JOIN (R book.book_edition.language) m.059cjgk)))