What is {kind of music} of {previous is} of {The Hobbit: The Desolation of Smaug} ?
The Hobbit contained what kind of music?
What kind of music was in The Hobbit?
SELECT ?q WHERE { resource:The_Hobbit:_The_Desolation_of_Smaug property:follows ?k . ?k property:genre ?q }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q719915> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P155>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P136> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q719915 wdt:P155 ?X . ?X wdt:P136 ?answer}