Question: Which area is larger, Aquitaine or Burgundy?
Choices:
Languedoc-Roussillon
Alsace
Picardy
Lower Normandy
Lorraine
Aquitaine
Burgundy
Poitou-Charentes
Upper Normandy
Champagne-Ardenne
Program:
function: Find
inputs: Aquitaine
function: Find
inputs: Burgundy
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aquitaine" .  } UNION { ?e <pred:name> "Burgundy" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Aquitaine