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