Question: In terms of democracies whose currency is the euro, which of them has the lowest per capita PPP GDP?
Choices:
Zimbabwe
Austria
Slovakia
France
Germany
Mozambique
Colombia
Namibia
Latvia
Italy
Answer: Latvia
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e <currency> ?e_1 . ?e_1 <pred:name> "euro" .  ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: euro
function: Relate
dependencies: 0
inputs: currency
backward
function: FilterConcept
dependencies: 1
inputs: democracy
function: SelectAmong
dependencies: 2
inputs: PPP GDP per capita
smallest