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