Question: Does Salzburg, whose detail map is Salzburger Stadtteile.jpg, or Reims have the smaller area?
Choices:
Aachen
Lyon
Bordeaux
Wuppertal
Reims
Halle (Saale)
Dnipro
Stuttgart
Fort Smith
Salzburg
Program:
function: Find
inputs: Salzburg
function: FilterStr
dependencies: 0
inputs: detail map
Salzburger Stadtteile.jpg
function: Find
inputs: Reims
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Salzburg" . ?e <detail_map> ?pv_1 . ?pv_1 <pred:value> "Salzburger Stadtteile.jpg" . } UNION { ?e <pred:name> "Reims" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Reims