Question: Which region has less land area, Lorraine (located in France) or Aquitaine?
Choices:
Languedoc-Roussillon
Poitou-Charentes
Alsace
Upper Normandy
Champagne-Ardenne
Lower Normandy
Nord-Pas-de-Calais
Picardy
Burgundy
Lorraine
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Lorraine
function: And
dependencies: 1
2
function: Find
inputs: Aquitaine
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lorraine" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "France" .   } UNION { ?e <pred:name> "Aquitaine" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lorraine