Question: Tell me the one with the smaller maximum age for kids when compulsory education ends, Hungary or Malaysia.
Choices:
Malaysia
South Sudan
Hungary
Socialist Federal Republic of Yugoslavia
Samoa
Cambodia
Switzerland
Russian Soviet Federative Socialist Republic
Weimar Republic
Benin
Program:
function: Find
inputs: Malaysia
function: Find
inputs: Hungary
function: SelectBetween
dependencies: 0
1
inputs: compulsory education (maximum age)
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Malaysia" .  } UNION { ?e <pred:name> "Hungary" .  } ?e <compulsory_education_(maximum_age)> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Malaysia