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