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