Question: Which area has lower elevation above sea level, Graz or Split (the one that is the headquarter location of H.N.K. Hajduk Split)?
Choices:
Bordeaux
Split
Graz
Dnipro
Aachen
Utrecht
Fort Smith
Wuppertal
Stuttgart
Halle (Saale)
Program:
function: Find
inputs: Graz
function: Find
inputs: H.N.K. Hajduk Split
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Split
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Graz" .  } UNION { ?e <pred:name> "Split" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "H.N.K. Hajduk Split" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Split