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