Question: Does France or Namibia have a higher retirement age?
Choices:
Sierra Leone
Italy
Germany
Tunisia
Namibia
Mozambique
Malawi
France
Zimbabwe
Colombia
Program:
function: Find
inputs: France
function: Find
inputs: Namibia
function: SelectBetween
dependencies: 0
1
inputs: retirement age
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "France" .  } UNION { ?e <pred:name> "Namibia" .  } ?e <retirement_age> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: France