Question: Which World Trade Organization member state is situated on the Lesser Antilles?
Choices:
Kazakhstan
Jamaica
Saint Vincent and the Grenadines
Lithuania
Tajikistan
Papua New Guinea
Malta
Grenada
Kosovo
Finland
Program:
function: Find
inputs: World Trade Organization
function: Relate
dependencies: 0
inputs: member of
backward
function: FilterConcept
dependencies: 1
inputs: state
function: Find
inputs: Lesser Antilles
function: Relate
dependencies: 3
inputs: located on terrain feature
backward
function: FilterConcept
dependencies: 4
inputs: state
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <member_of> ?e_1 . ?e_1 <pred:name> "World Trade Organization" .  ?e <located_on_terrain_feature> ?e_2 . ?e_2 <pred:name> "Lesser Antilles" .  }
Answer: Grenada