Question: Which one has less zone, Holy person Lucia or Nigeria
Choices:
Switzerland
Nigeria
Saint Lucia
Kiribati
Cambodia
Weimar Republic
Benin
South Sudan
Russian Soviet Federative Socialist Republic
Socialist Federal Republic of Yugoslavia
Program:
function: Find
inputs: Saint Lucia
function: Find
inputs: Nigeria
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saint Lucia" .  } UNION { ?e <pred:name> "Nigeria" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Saint Lucia