Question: Which area is smaller, Leiden or Nijmegen?
Choices:
Alkmaar
Maastricht
Arnhem
Nijmegen
Dordrecht
Amsterdam
Leiden
Hilversum
Rotterdam
Delft
Program:
function: Find
inputs: Leiden
function: Find
inputs: Nijmegen
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Leiden" .  } UNION { ?e <pred:name> "Nijmegen" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Leiden