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