vote is the subject of which periodical?
Entity
m.05s_4jh
Savannah Tribune
class entity
book.periodical m.0pgkc
book.periodical book.periodical_subject
Periodical vote
none none
book.periodical.subjects
Subjects
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 :book.periodical . 
VALUES ?x1 { :m.0pgkc } 
?x0 :book.periodical.subjects ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND book.periodical (JOIN book.periodical.subjects m.0pgkc))