What is {profession} of {composed by} of {The Carnival of the Animals} ?
Who is the composer of The Carnival of the Animals?
Who composed The Carnival of the Animals?
SELECT ?h WHERE { resource:The_Carnival_of_the_Animals property:composer ?r . ?r property:occupation ?h }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q941724> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P86>. ?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/P106> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q941724 wdt:P86 ?X . ?X wdt:P106 ?answer}
composer conductor pianist musician organist music critic