grappling is a category in which martial arts organization?
Entity Entity Entity Entity Entity Entity
m.02_6ntz m.02_6p1q m.012snnkr m.026bfbd m.0qjb0bz m.01g1px
Yu’s Academy of Martial Arts Triangle Martial Arts Association Rebel Team Helsinki Takeda Sōkaku The Griphouse Aikikai
class class entity
martial_arts.martial_arts_organization martial_arts.martial_art m.039cp
martial_arts.martial_arts_organization martial_arts.martial_art martial_arts.martial_art_category
Martial Arts Organization Martial Art Grappling
none none none
martial_arts.martial_arts_organization.martial_arts martial_arts.martial_art.category
Martial Arts Category
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_arts_organization . 
?x1 :type.object.type :martial_arts.martial_art . 
VALUES ?x2 { :m.039cp } 
?x0 :martial_arts.martial_arts_organization.martial_arts ?x1 . 
?x1 :martial_arts.martial_art.category ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND martial_arts.martial_arts_organization (JOIN martial_arts.martial_arts_organization.martial_arts (JOIN martial_arts.martial_art.category m.039cp)))