What is {libretto by} of {Tristan und Isolde}, that has {has kid} is {Siegfried Wagner} ?
What is the name of the infant in the opera Tristan und Isolde with the aid of Siegfried Wagner?
What is the name of the child in the opera Tristan und Isolde by Siegfried Wagner?
SELECT ?j WHERE { resource:Tristan_und_Isolde property:librettist ?j . ?j property:child resource:Siegfried_Wagner }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1324254> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P87>. ?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/P40> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q143867> . }
SELECT ?answer WHERE { wd:Q1324254 wdt:P87 ?answer . ?answer wdt:P40 wd:Q143867}
Richard Wagner