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