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