What is {music by} of {Rhapsody in Blue}, that has {profession} is {songwriter} ?
Who is Rhapsody in Blue, the song's songwriter?
Who is the songwriter of the song, Rhapsody in Blue?
SELECT ?z WHERE { resource:Rhapsody_in_Blue property:composer ?z . ?z property:occupation resource:songwriter }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q722599> . ?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> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?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> <http://wikidata.dbpedia.org/resource/Q753110> . }
SELECT ?answer WHERE { wd:Q722599 wdt:P86 ?answer . ?answer wdt:P106 wd:Q753110}
George Gershwin