Question: Which has a lesser area, New Plymouth or Wuhan?
Choices:
New Plymouth
Dundee
Abidjan
Bergen
Santo Domingo
Trieste
Kilkenny
Kingston
Wuhan
Chihuahua
Program:
function: Find
inputs: New Plymouth
function: Find
inputs: Wuhan
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Plymouth" .  } UNION { ?e <pred:name> "Wuhan" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: New Plymouth