Question: While we compare Sialkot and Jalandhar, which one has lesser elevation
Choices:
Trieste
Santo Domingo
Cork
Kilkenny
Bergen
Abidjan
Chihuahua
Dundee
Jalandhar
Sialkot
Program:
function: Find
inputs: Sialkot
function: Find
inputs: Jalandhar
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sialkot" .  } UNION { ?e <pred:name> "Jalandhar" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jalandhar