Question: Which one has a higher population, Dordrecht or Alkmaar ?
Choices: Arnhem
Dordrecht
Groningen
Rotterdam
Alkmaar
Leiden
Nijmegen
Hilversum
Delft
Maastricht
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alkmaar" .  } UNION { ?e <pred:name> "Dordrecht" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Alkmaar
function: Find
inputs: Dordrecht
function: SelectBetween
dependencies: 0
1
inputs: population
greater
Answer: Dordrecht