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