What is {has daughters} of {Louis IV, Holy Roman Emperor}, that has {brother} is {Agnes of Bavaria} ?
Who is the daughter of Louis IV, Holy Roman Emperor, that has a brother named Agnes of Bavaria?
Who is the daughter of Louis IV, Holy Roman Emperor, that has a brother named Agnes of Bavaria?
SELECT ?j WHERE { ?j property:sibling resource:Agnes_of_Bavaria . resource:Louis_IV_of_Bavaria property:child ?j }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q57161> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40>. ?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/Q90224> . }
SELECT ?answer WHERE { wd:Q57161 wdt:P40 ?answer . ?answer wdt:P3373 wd:Q90224}
Louis II, Elector of Brandenburg Louis V, Duke of Bavaria Stephen II, Duke of Bavaria Beatrice of Bavaria William I, Duke of Bavaria Albert I, Duke of Bavaria Elisabeth of Bavaria Otto VII or V, Duke of Bavaria Margaret of Bavaria, Duchess of Slavonia Matilda of Bavaria, Margravine of Meissen