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