Question: Which has a lesser above sea level elevation, Srinagar or Brisbane (which is the headquarters location of Queensland University of Technology)?
Choices:
Santo Domingo
Cork
Kilkenny
Dundee
Chihuahua
Kingston
Trieste
Abidjan
Brisbane
Bergen
Answer: Brisbane
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Srinagar" .  } UNION { ?e <pred:name> "Brisbane" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Queensland University of Technology" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Srinagar
function: Find
inputs: Queensland University of Technology
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Brisbane
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less