Question: I'm looking for a which one has the bigger nominal GDP per capita, Seychelles or Italy.
Choices:
Italy
Zimbabwe
Seychelles
Mozambique
France
Germany
Sierra Leone
Tunisia
Colombia
Bolivia
Program:
function: Find
inputs: Italy
function: Find
inputs: Seychelles
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Italy" .  } UNION { ?e <pred:name> "Seychelles" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Italy