Question: Which republic that is Operation Barbarossa's location has the highest PPP GDP per capita?
Choices:
Ukraine
Belarus
Colombia
Italy
Zimbabwe
Latvia
Namibia
Germany
Sierra Leone
Tunisia
Program:
function: Find
inputs: Operation Barbarossa
function: Relate
dependencies: 0
inputs: location
forward
function: FilterConcept
dependencies: 1
inputs: republic
function: SelectAmong
dependencies: 2
inputs: PPP GDP per capita
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" . ?e_1 <location> ?e . ?e_1 <pred:name> "Operation Barbarossa" .  ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Latvia