what is the {type of kinship} for {Richard I of England} has {child} as {Philip of Cognac} ?
How were Philip of Cognac and Richard I of England in kinship?
What kinship did Philip of Cognac have with Richard I of England
SELECT ?r WHERE { ?u property:child resource:Philip_of_Cognac . ?u property:kinship_to_subject ?r . resource:Richard_I_of_England property:child ?u }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q42305> .
?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/Q1405919> .
?statement <http://www.wikidata.org/entity/P1039> ?value. 
} 

SELECT ?value WHERE { wd:Q42305 p:P40 ?s . ?s ps:P40 wd:Q1405919 . ?s pq:P1039 ?value}