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