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