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