paper supports artworks of which visual art genre?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.03n77 m.01jw23 m.01dv4h m.05nmyp2 m.04wkvh m.0197s6 m.01spzs m.03czw53 m.03y4j2g m.011c086t
History painting Genre art Portrait Animal Painting Landscape painting Abstract art Still life Marine art Religious image Other
class class entity
visual_art.visual_art_genre visual_art.artwork m.0641k
visual_art.visual_art_genre visual_art.artwork visual_art.visual_art_support
Visual Art Genre Artwork Paper
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.0641k } 
?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.0641k)))