which poem was written by the author of if prosperity is regarded as the reward of virtue it will be regarded as the symptom of virtue.?
Entity Entity Entity
m.0gn7c8 m.025_tx3 m.027kj4j
The Rolling English Road A Ballade of Suicide The Ballad of the White Horse
class class entity
book.poem book.author m.048gdzf
book.poem book.author media_common.quotation
Poem Author If prosperity is regarded as the reward of virtue it will be regarded as the symptom of virtue.
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.048gdzf } 
?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.048gdzf)))