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