artworks of which visual art genre are supported by other?
Entity Entity Entity Entity
m.01dv4h m.0tl2 m.01lw08 m.04n21_p
Portrait Allegory Religious art Physical art
class class entity
visual_art.visual_art_genre visual_art.artwork m.011cjmhb
visual_art.visual_art_genre visual_art.artwork visual_art.visual_art_support
Visual Art Genre Artwork Other
none none none
visual_art.visual_art_genre.artworks visual_art.artwork.support
Artworks Support
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 :visual_art.visual_art_genre . 
?x1 :type.object.type :visual_art.artwork . 
VALUES ?x2 { :m.011cjmhb } 
?x0 :visual_art.visual_art_genre.artworks ?x1 . 
?x1 :visual_art.artwork.support ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND visual_art.visual_art_genre (JOIN visual_art.visual_art_genre.artworks (JOIN visual_art.artwork.support m.011cjmhb)))