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