What is {written by} of {Symphony No. 5}, that has {master} is {Eduard Marxsen} ?
"What is composed by of Symphony No. 5, which has ace of Eduard Marxsen ?"
"What is {written by} of {Symphony No. 5}, which has {master} of {Eduard Marxsen} ?"
SELECT ?z WHERE { resource:Symphony_No._4 property:composer ?z . ?z property:student_of resource:Eduard_Marxsen }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q231144> . ?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/P1066> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q509843> . }
SELECT ?answer WHERE { wd:Q231144 wdt:P86 ?answer . ?answer wdt:P1066 wd:Q509843}
Johannes Brahms