Question: Does Hungary or Armenia have greater retirement age?
Choices: Socialist Federal Republic of Yugoslavia
Armenia
Benin
South Sudan
Weimar Republic
Hungary
Kiribati
Cambodia
Russian Soviet Federative Socialist Republic
Switzerland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hungary" .  } UNION { ?e <pred:name> "Armenia" .  } ?e <retirement_age> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Hungary
function: Find
inputs: Armenia
function: SelectBetween
dependencies: 0
1
inputs: retirement age
greater
Answer: Armenia