What is {is son of} of {sister or brother} of {Stephen Báthory} ?
Who is the son of the brother or sister of Stephen Báthory?
Who gave the {is son of} of {sister or brother} of {Stephen Báthory} ?
SELECT ?h WHERE { resource:Stephen_Báthory property:sibling ?q . ?q property:father ?h }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q54030> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3373>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P22> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q54030 wdt:P3373 ?X . ?X wdt:P22 ?answer}
Stephen VIII Báthory Stephen VIII Báthory Stephen VIII Báthory