Question: Which has more annual weddings, Bruges or Leuven?
Choices:
Utrecht
Bordeaux
Stuttgart
Halle (Saale)
Lyon
Fort Smith
Aachen
Leuven
Bruges
Wuppertal
Answer: Leuven
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bruges" .  } UNION { ?e <pred:name> "Leuven" .  } ?e <annual_number_of_weddings> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bruges
function: Find
inputs: Leuven
function: SelectBetween
dependencies: 0
1
inputs: annual number of weddings
greater