Question: Is the elevation lower for Lincoln (TOID 4000000074551786) or for Genoa?
Choices: Genoa
Santo Domingo
Kingston
Bergen
Dundee
Cork
Kilkenny
Chihuahua
Abidjan
Trieste
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lincoln" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "4000000074551786" . } UNION { ?e <pred:name> "Genoa" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Lincoln
function: FilterStr
dependencies: 0
inputs: TOID
4000000074551786
function: Find
inputs: Genoa
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less
Answer: Genoa