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