what is the {type of kinship} for {William the Conqueror} has {relative} as {Edward the Confessor} ?
What kinship did Edward the Confessor and William the Conqueror have?
what is the type of kinship for William the Conqueror has relative as Edward the Confessor?
SELECT ?n WHERE { ?u property:relative resource:Edward_the_Confessor . ?u property:kinship_to_subject ?n . resource:William_the_Conqueror property:relative ?u }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q37594> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1038> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q130005> .
?statement <http://www.wikidata.org/entity/P1039> ?value. 
} 

SELECT ?value WHERE { wd:Q37594 p:P1038 ?s . ?s ps:P1038 wd:Q130005 . ?s pq:P1039 ?value}