What is {child} of {Zeus} that is {mother} is {Leda} ?
Leda is Zeus's mother and what is his child's name?
who is the child of Zeus whose mother is Leda?
SELECT ?r WHERE { resource:Zeus property:child ?p . ?p property:child ?r . ?p property:mother resource:Leda }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q34201> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P25> <http://wikidata.dbpedia.org/resource/Q182019>
} 

SELECT ?obj WHERE { wd:Q34201 p:P40 ?s . ?s ps:P40 ?obj . ?s pq:P25 wd:Q182019 }