SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/branch> <http://dbpedia.org/resource/Ministry_of_Internal_Affairs_(Ukraine)> . ?x <http://dbpedia.org/property/allegiance> ?uri . }
Which countries have the members of Ukrainian ministry of internal affairs swore their oath?
SELECT DISTINCT ?y WHERE { ?a property:branch resource:Ministry_of_Internal_Affairs_(_Ukraine) . ?a property:allegiance ?y . }
Soviet Union, Ukraine, Government of Ukraine
The countries where the office holders of the Ministry of Internal Affairs in Ukraine swore allegiance are [Soviet Union, Ukraine, Government of Ukraine].
The countries in which the Ministry of Internal Affairs of Ukraine was sworn in are [the Soviet Union, Ukraine, the government of Ukraine].