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