What is {daughter-in-law} of {Frederick III, Holy Roman Emperor}, that has {sister or brother} is {Friedrich von Brandenburg-Ansbach} ?
Who is the daughter-in-law of Frederick III, Holy Roman Emperor, whose sister or brother is Friedrich von Brandenburg-Ansbach?
Who is the daughter-in-law of Frederick III, Holy Roman Emperor, whose sister or brother is Friedrich von Brandenburg-Ansbach?
SELECT ?y WHERE { resource:Frederick_III,_Holy_Roman_Emperor property:relative ?y . ?y property:sibling resource:Friedrich_von_Brandenburg-Ansbach }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q150966> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1038>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3373> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1463615> . }
SELECT ?answer WHERE { wd:Q150966 wdt:P1038 ?answer . ?answer wdt:P3373 wd:Q1463615}
Casimir, Margrave of Brandenburg-Bayreuth