what is the {mother} for {Herod the Great} has {child} as {Herod Antipas} ?
Who was Herod the Great's mom?
Who is the mother of Herod the Great, who bore him as Herod Antipas?
SELECT ?k WHERE { ?s property:mother ?k . ?s property:child resource:Herod_Antipas . resource:Herod_the_Great property:child ?s }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q51672> .
?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> <http://wikidata.dbpedia.org/resource/Q192950> .
?statement <http://www.wikidata.org/entity/P25> ?value. 
} 

SELECT ?value WHERE { wd:Q51672 p:P40 ?s . ?s ps:P40 wd:Q192950 . ?s pq:P25 ?value}