Question: Which sovereign state that is an administrative division of South America has the smallest area?
Choices:
Peru
Brazil
Uruguay
Venezuela
Ecuador
Argentina
Kiribati
Cambodia
Guyana
Switzerland
Program:
function: Find
inputs: South America
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "South America" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Uruguay