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