Question: Is North Korea or Peru smaller, area-wise?
Choices:
Benin
Peru
Switzerland
Socialist Federal Republic of Yugoslavia
Samoa
Kiribati
Weimar Republic
Russian Soviet Federative Socialist Republic
Cambodia
North Korea
Program:
function: Find
inputs: North Korea
function: Find
inputs: Peru
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "North Korea" .  } UNION { ?e <pred:name> "Peru" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: North Korea