Question: What sovereign state is a World Trade Organization member and has a demonym of uruguaia?
Choices:
Burkina Faso
Cambodia
Bangladesh
United Arab Emirates
Uruguay
Ecuador
Hungary
Kiribati
Guatemala
Switzerland
Program:
function: Find
inputs: World Trade Organization
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: FindAll
function: FilterStr
dependencies: 3
inputs: demonym
uruguaia
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "World Trade Organization" .  ?e <demonym> ?pv . ?pv <pred:value> "uruguaia" .  }
Answer: Uruguay