Question: Which area is smaller, Caracas or Madurai?
Choices:
Madurai
Kilkenny
Kingston
Caracas
Bergen
Cork
Abidjan
Dundee
Trieste
Chihuahua
Program:
function: Find
inputs: Caracas
function: Find
inputs: Madurai
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Caracas" .  } UNION { ?e <pred:name> "Madurai" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Madurai