What is {wife} of {has sons} of {Cecil Coward} ?
Whose {spouse} {has children} of {Cecil Quitter} ?
Whose {wife} {has sons} of {Cecil Coward} ?
SELECT ?d WHERE { resource:Cecil_Coward property:child ?r . ?r property:spouse ?d }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q18529681> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40>. ?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:Q18529681 wdt:P40 ?X . ?X wdt:P26 ?answer}
E. H. Carr