weapon is associated with what martial arts organization?
Entity Entity Entity Entity Entity Entity Entity Entity
m.013322 m.02qxcp m.0b7h67 m.026bfbd g.12353p2f m.04h_v03 m.04j3ml5 m.03qk3lr
International Kendo Federation All Japan Kendo Federation British Kendo Association Takeda Sōkaku All Japan Naginata Federation British Naginata Association International Naginata Federation European Kendo Federation
class class entity
martial_arts.martial_arts_organization martial_arts.martial_art m.03nh838
martial_arts.martial_arts_organization martial_arts.martial_art martial_arts.martial_art_category
Martial Arts Organization Martial Art Weapon
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.03nh838 } 
?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.03nh838)))