SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/subsequentWork> <http://dbpedia.org/resource/Cosmos_(Carl_Sagan_book)> . ?x <http://dbpedia.org/property/subject> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Book>}
What was the book that lead to Sagan's Cosmos, about?
SELECT DISTINCT ?n WHERE { ?l property:subsequent_work resource:Cosmos_(_Carl_Sagan_book) . ?l rdf:type ontology:Book . ?l property:subject ?n }
Brain, Outline of space science, Intellect, Paul Broca
The subjects of the book that lead to Sagan's Cosmos were [Brain, Outline of space science, Intellect, Paul Broca].
The themes of the book that led Sagan to cosmology were [Brain, Outlines of Space Sciences, Intellect, Paul Brock].