what subject of artwork belongs to history of maine labor mural series?
Entity Entity Entity Entity Entity
m.0149p3 m.03cg0q m.027ygl m.0pv2b m.02fgvk
Strike action Rosie the Riveter Frances Perkins Child labour Secret ballot
class class entity
visual_art.art_subject visual_art.artwork m.0gkg825
visual_art.art_subject visual_art.artwork visual_art.art_series
Art Subject Artwork History of Maine Labor Mural
none none none
visual_art.art_subject.artwork_on_the_subject visual_art.artwork.belongs_to_series
Artwork on the Subject Belongs to Series
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.art_subject . 
?x1 :type.object.type :visual_art.artwork . 
VALUES ?x2 { :m.0gkg825 } 
?x0 :visual_art.art_subject.artwork_on_the_subject ?x1 . 
?x1 :visual_art.artwork.belongs_to_series ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND visual_art.art_subject (JOIN visual_art.art_subject.artwork_on_the_subject (JOIN visual_art.artwork.belongs_to_series m.0gkg825)))