which poem was composed by the author of anybody can be good in the country. there are no temptations there.?
Entity
m.04dgtf
The Ballad of Reading Gaol
class class entity
book.poem book.author m.048jdsn
book.poem book.author media_common.quotation
Poem Author Anybody can be good in the country. There are no temptations there.
none none none
book.author.works_written media_common.quotation.author
Works written Author
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.poem . 
?x1 :type.object.type :book.author . 
VALUES ?x2 { :m.048jdsn } 
?x1 :book.author.works_written ?x0 . 
?x2 :media_common.quotation.author ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND book.poem (JOIN (R book.author.works_written) (JOIN (R media_common.quotation.author) m.048jdsn)))