Question: Which has a greater area, Nord or Haut-Rhin?
Choices:
Manche
Bas-Rhin
Haut-Rhin
Somme
Haute-Savoie
Calvados
Vaucluse
Gironde
Nord
Alpes-Maritimes
Program:
function: Find
inputs: Nord
function: Find
inputs: Haut-Rhin
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nord" .  } UNION { ?e <pred:name> "Haut-Rhin" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Nord