Question: Which has less area, Salzburg whose postal code is 5020 or Toulouse?
Choices: Halle (Saale)
Aachen
Bordeaux
Salzburg
Dnipro
Utrecht
Stuttgart
Wuppertal
Lyon
Fort Smith
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Salzburg" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "5020" . } UNION { ?e <pred:name> "Toulouse" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Salzburg
function: FilterStr
dependencies: 0
inputs: postal code
5020
function: Find
inputs: Toulouse
function: SelectBetween
dependencies: 1
2
inputs: area
less
Answer: Salzburg