Question: What state has the demonym of nicaraguana?
Choices:
Nauru
Kiribati
Cyprus
Algeria
Australia
Switzerland
Belgium
Oman
Weimar Republic
Nicaragua
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
nicaraguana
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <demonym> ?pv . ?pv <pred:value> "nicaraguana" .  }
Answer: Nicaragua