Question: Which region has more weddings annually, Haute-Savoie or Aisne?
Choices:
Manche
Nord
Aisne
Vaucluse
Calvados
Alpes-Maritimes
Seine-et-Marne
Gironde
Somme
Haute-Savoie
Program:
function: Find
inputs: Haute-Savoie
function: Find
inputs: Aisne
function: SelectBetween
dependencies: 0
1
inputs: annual number of weddings
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Haute-Savoie" .  } UNION { ?e <pred:name> "Aisne" .  } ?e <annual_number_of_weddings> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Haute-Savoie