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