What is {sister} of {is child of} of {Joanna of Castile} ?
What is the sister of the Johanna of Castile's child?
What is the sister of the Johanna of Castile's child?
SELECT ?i WHERE { ?f property:sibling ?i . resource:Joanna_of_Castile property:father ?f }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q171136> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P22>. ?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/P3373> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q171136 wdt:P22 ?X . ?X wdt:P3373 ?answer}
Eleanor of Navarre Charles, Prince of Viana Alfonso de Aragón y Escobar Blanche II of Navarre Joanna of Aragon, Queen of Naples Joan d'Aragó