which dissertation has the same topic as the diamond as big as the ritz?
Entity Entity
m.0br7b4w m.0bqs1j1
The interaction of tectonic and magmatic processes in the Long Valley Caldera, California Culture, representation, and the Puerto Rican queer diaspora
class class entity
education.dissertation book.book_subject m.02r4y7l
education.dissertation book.book_subject book.short_story
Dissertation Literature Subject The Diamond as Big as the Ritz
none none none
book.book_subject.works book.written_work.subjects
Works Written About This Topic 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 :education.dissertation . 
?x1 :type.object.type :book.book_subject . 
VALUES ?x2 { :m.02r4y7l } 
?x1 :book.book_subject.works ?x0 . 
?x2 :book.written_work.subjects ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND education.dissertation (JOIN (R book.book_subject.works) (JOIN (R book.written_work.subjects) m.02r4y7l)))