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