What is {has kid} of {Jade Emperor}, that has {wedded to} is {Nüwa} ?
Which Jade Emperor had a child who married Nuwa?
Which Jade Emperor that married Nuwa had a child?
SELECT ?h WHERE { resource:Jade_Emperor property:child ?h . ?h property:spouse resource:Nüwa }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q860434> . ?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> ?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/Q641632> . }
SELECT ?answer WHERE { wd:Q860434 wdt:P40 ?answer . ?answer wdt:P26 wd:Q641632}