what is the {type of kinship} for {Stanisław August Poniatowski} has {relative} as {Józef Poniatowski} ?
How are Stanisław August Poniatowski and Józef Poniatowski related?
SELECT ?value WHERE { wd:Q54019 p:P1038 ?s . ?s ps:P1038 wd:Q154382 . ?s pq:P1039 ?value}
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q54019> .
?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/Q154382> .
?statement <http://www.wikidata.org/entity/P1039> ?value. 
} 

Jozef Poniatowski and Stanislaw August Poniatowski are related how?