Question: Tell me the one that has a smaller area, Guelph or Quito
Choices:
Chihuahua
Kingston
Guelph
Kilkenny
Cork
Dundee
Santo Domingo
Abidjan
Quito
Trieste
Program:
function: Find
inputs: Quito
function: Find
inputs: Guelph
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Quito" .  } UNION { ?e <pred:name> "Guelph" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Guelph