what is the {mother} for {Harold Godwinson} has {child} as {Gunhild of Wessex} ?
Who is the mother of Harold Godwinson and the offspring of the Gunhild of Wessex?
Who is the mother of Harold Godwinson and the child of the Gunhild of Wessex?
SELECT ?x WHERE { ?u property:mother ?x . resource:Harold_Godwinson property:child ?u . ?u property:child resource:Gunhild_of_Wessex }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q159597> .
?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/Q4365556> .
?statement <http://www.wikidata.org/entity/P25> ?value. 
} 

SELECT ?value WHERE { wd:Q159597 p:P40 ?s . ?s ps:P40 wd:Q4365556 . ?s pq:P25 ?value}