What is {has mother} of {Elektra}, that has {married} is {Agamemnon} ?
Who is the mother of Elektra that's hitched to Agamemnon?
Who is the mother of Elektra that is married to Agamemnon?
SELECT ?x WHERE { ?x property:spouse resource:Agamemnon . resource:Elektra property:mother ?x }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q131651> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P25>. ?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/P26> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q128176> . }
SELECT ?answer WHERE { wd:Q131651 wdt:P25 ?answer . ?answer wdt:P26 wd:Q128176}
Clytemnestra