What is {husband} of {is child of} of {Anthony Dryden Marshall} ?
Who is Anthony Dryden Marshall's husband and child?
Who is the husband and child of Anthony Dryden Marshall
SELECT ?w WHERE { resource:Anthony_Dryden_Marshall property:father ?c . ?c property:spouse ?w }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q4772424> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P22>. ?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:Q4772424 wdt:P22 ?X . ?X wdt:P26 ?answer}
Brooke Astor