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