SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/child> <http://dbpedia.org/resource/Lohan_Ratwatte> . ?x <http://dbpedia.org/property/allegiance> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/MemberOfParliament>}
To what did the parliament member swore her oath to, whose son is Lohan Ratwatte?
SELECT DISTINCT ?n WHERE { ?c rdf:type ontology:Member_Of_Parliament . ?c property:child resource:Lohan_Ratwatte . ?c property:allegiance ?n }
Sri Lanka
The parliament member with child Lohan Ratwatte, has swore allegiance to [Sri Lanka].
[Sri Lanka] is what the parliament member swore her oath to, whose son is Lohan Ratwatte.