Question: In terms of area, is Montpellier or Graz smaller?
Choices:
Montpellier
Dnipro
Wuppertal
Bordeaux
Aachen
Lyon
Halle (Saale)
Fort Smith
Graz
Stuttgart
Program:
function: Find
inputs: Montpellier
function: Find
inputs: Graz
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montpellier" .  } UNION { ?e <pred:name> "Graz" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Montpellier