Question: Does Nantes, with a size of 65.19 square kilometers, or Leuven have the lower weddings per year count?
Choices:
Fort Smith
Stuttgart
Leuven
Nantes
Bordeaux
Utrecht
Wuppertal
Halle (Saale)
Lyon
Aachen
Answer: Leuven
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nantes" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "65.19"^^xsd:double . } 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: FilterNum
dependencies: 0
inputs: area
65.19 square kilometre
=
function: Find
inputs: Leuven
function: SelectBetween
dependencies: 1
2
inputs: annual number of weddings
less