Question: What sovereign state is the twinned administrative body of Gibraltar (the one whose demonym is gibilterrina)?
Choices:
Russian Soviet Federative Socialist Republic
Weimar Republic
Cyprus
Kiribati
Cambodia
Switzerland
Socialist Federal Republic of Yugoslavia
Singapore
Mali
Libya
Program:
function: Find
inputs: Gibraltar
function: FilterStr
dependencies: 0
inputs: demonym
gibilterrina
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Gibraltar" . ?e_1 <demonym> ?pv . ?pv <pred:value> "gibilterrina" .   }
Answer: Singapore