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