Question: Regarding states bordering Serbia, which one of them has the lowest PPP GDP per capita ?
Choices:
Tajikistan
Lithuania
Kosovo
Greece
Sweden
Croatia
Bulgaria
Fiji
Cuba
Kazakhstan
Program:
function: Find
inputs: Serbia
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: state
function: SelectAmong
dependencies: 2
inputs: PPP GDP per capita
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Serbia" .  ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kosovo