gracie instructs which martial artist?
Entity
m.0522m_m
Vinny Magalhães
class entity
martial_arts.martial_artist m.08t051
martial_arts.martial_artist martial_arts.martial_artist
Martial Artist gracie
none none
martial_arts.martial_artist.instructor
Martial Arts Instructor(s)
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 :martial_arts.martial_artist . 
VALUES ?x1 { :m.08t051 } 
?x0 :martial_arts.martial_artist.instructor ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND martial_arts.martial_artist (JOIN martial_arts.martial_artist.instructor m.08t051))