Question: Which has a larger population, Gelderland or South Holland?
Choices:
Gelderland
Groningen
Utrecht
Friesland
South Holland
Overijssel
Zeeland
North Brabant
Limburg
Drenthe
Program:
function: Find
inputs: Gelderland
function: Find
inputs: South Holland
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gelderland" .  } UNION { ?e <pred:name> "South Holland" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: South Holland