Question: Which one is situated on lower elevation above sea level, Harbin or Sialkot?
Choices:
Sialkot
Kilkenny
Dundee
Santo Domingo
Abidjan
Harbin
Chihuahua
Bergen
Cork
Trieste
Program:
function: Find
inputs: Harbin
function: Find
inputs: Sialkot
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Harbin" .  } UNION { ?e <pred:name> "Sialkot" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Harbin