What is {brother} of {kids} of {Llywelyn the Great} ?
What's Llywelyn the Great's children's brother?
What is the brother of the kids of Llywelyn the Great?
SELECT ?e WHERE { resource:Llywelyn_the_Great property:child ?t . ?t property:sibling ?e }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q467685> . ?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> ?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:Q467685 wdt:P40 ?X . ?X wdt:P3373 ?answer}
Gruffydd ap Llywelyn Dafydd ap Llywelyn Gruffydd ap Llywelyn Fawr Angharad ferch Llywelyn Elen ferch Llywelyn Gwladus Ddu Gruffydd ap Llywelyn Fawr Angharad ferch Llywelyn Elen ferch Llywelyn Gwladus Ddu Dafydd ap Llywelyn Angharad ferch Llywelyn Gwladus Ddu Gruffydd ap Llywelyn Dafydd ap Llywelyn Gruffydd ap Llywelyn Fawr Elen ferch Llywelyn Gwladus Ddu Gruffydd ap Llywelyn Dafydd ap Llywelyn Angharad ferch Llywelyn