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