Question: Which has a lesser area, Aude (whose annual number of weddings is 1292) or Gironde?
Choices:
Somme
Bas-Rhin
Seine-et-Marne
Aude
Calvados
Vaucluse
Manche
Haute-Savoie
Gironde
Nord
Program:
function: Find
inputs: Aude
function: FilterNum
dependencies: 0
inputs: annual number of weddings
1292
=
function: Find
inputs: Gironde
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aude" . ?e <annual_number_of_weddings> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1292"^^xsd:double . } UNION { ?e <pred:name> "Gironde" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Aude