What is {favorite player} of {Paulo Coelho}, that has {career} is {lyricist} ?
Who is Paulo Coelho's favored player that has a profession as a lyricist?
Who is Paulo Coelho's favorite player that has a career as a lyricist?
SELECT ?l WHERE { ?l property:occupation resource:lyricist . resource:Paulo_Coelho property:influenced_by ?l }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12881> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P737>. ?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/Q822146> . }
SELECT ?answer WHERE { wd:Q12881 wdt:P737 ?answer . ?answer wdt:P106 wd:Q822146}