Question: What sovereign state known by the andorrana demonym is also a European country?
Choices:
Andorra
Russian Soviet Federative Socialist Republic
Cambodia
Weimar Republic
San Marino
Portugal
Switzerland
Spain
Belgium
Kiribati
Answer: Andorra
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <demonym> ?pv . ?pv <pred:value> "andorrana" . ?e_1 <country> ?e . ?e_1 <pred:name> "euro" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
andorrana
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Find
inputs: euro
function: Relate
dependencies: 3
inputs: country
forward
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: And
dependencies: 2
5
function: What
dependencies: 6