Question: Which has higher elevation above sea level, Peshawar or Bradford (the one whose TOID is 4000000074540943)?
Choices: Bergen
Kilkenny
Abidjan
Trieste
Cork
Bradford
Peshawar
Santo Domingo
Dundee
Chihuahua
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Peshawar" . } UNION { ?e <pred:name> "Bradford" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "4000000074540943" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Peshawar
function: Find
inputs: Bradford
function: FilterStr
dependencies: 1
inputs: TOID
4000000074540943
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
Answer: Peshawar