What is {husbands} of {daughter of} of {Edward the Confessor} ?
WHO IS THE Spouse OF EDWARD THE CONFESSOR DAUGHTER?
WHO IS THE HUSBAND OF EDWARD THE CONFESSOR DAUGHTER?
SELECT ?l WHERE { ?p property:spouse ?l . resource:Edward_the_Confessor property:mother ?p }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q130005> . ?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> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?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> ?answer . }
SELECT ?answer WHERE { wd:Q130005 wdt:P25 ?X . ?X wdt:P26 ?answer}
Cnut the Great Æthelred the Unready