Question: Which has the smaller area, Wollongong or Grenoble?
Choices:
Halle (Saale)
Fort Smith
Aachen
Stuttgart
Grenoble
Wuppertal
Bordeaux
Utrecht
Lyon
Wollongong
Program:
function: Find
inputs: Wollongong
function: Find
inputs: Grenoble
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wollongong" .  } UNION { ?e <pred:name> "Grenoble" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Grenoble