What is {has children} of {Domnall mac Ailpín}, that has {buried at} is {Iona} ?
Who has children with Domnall mac Ailpín, who is buried at Iona?
Who has children with Domnall mac Ailpín, who is buried at Iona?
SELECT ?m WHERE { ?m property:place_of_burial resource:Iona . resource:Domnall_mac_Ailpín property:child ?m }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q312589> . ?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/P119> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q610> . }
SELECT ?answer WHERE { wd:Q312589 wdt:P40 ?answer . ?answer wdt:P119 wd:Q610}
Giric