What is {relative} of {Dick Van Dyke} that is {type of kinship} is {niece} ?
How exactly is Dick Van Dyke related to his niece?
What type of kinship Dick Van Dyke to his niece?
SELECT ?a WHERE { ?k property:kinship_to_subject resource:niece . ?k property:relative ?a . resource:Dick_Van_Dyke property:relative ?k }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q310295> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P1039> <http://wikidata.dbpedia.org/resource/Q3403377>
} 

SELECT ?obj WHERE { wd:Q310295 p:P1038 ?s . ?s ps:P1038 ?obj . ?s pq:P1039 wd:Q3403377 }