Question: What sovereign state is the country of the municipality of Portugal that is the twinned administrative body of Macau?
Choices: Cambodia
Turkmenistan
Brazil
Russian Soviet Federative Socialist Republic
Yemen
Spain
Kiribati
Portugal
Weimar Republic
Socialist Federal Republic of Yugoslavia
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <country> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "municipality of Portugal" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Macau" .   }
Program:
function: Find
inputs: Macau
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 1
inputs: municipality of Portugal
function: Relate
dependencies: 2
inputs: country
forward
function: FilterConcept
dependencies: 3
inputs: sovereign state
function: What
dependencies: 4
Answer: Portugal