Question: Does Nantes (whose nighttime view is Nantes de nuit - Benjamin (7846770574).jpg) or Leuven have fewer weddings annually?
Choices:
Bordeaux
Dnipro
Wuppertal
Stuttgart
Utrecht
Lyon
Aachen
Nantes
Leuven
Halle (Saale)
Answer: Leuven
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nantes" . ?e <nighttime_view> ?pv_1 . ?pv_1 <pred:value> "Nantes de nuit - Benjamin (7846770574).jpg" . } UNION { ?e <pred:name> "Leuven" . } ?e <annual_number_of_weddings> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Nantes
function: FilterStr
dependencies: 0
inputs: nighttime view
Nantes de nuit - Benjamin (7846770574).jpg
function: Find
inputs: Leuven
function: SelectBetween
dependencies: 1
2
inputs: annual number of weddings
less