Question: Which area has lower elevation above sea level, Palo Alto (the one whose PermID is 4296540596) or Santa Rosa?
Choices:
Lansing
Columbus
Palo Alto
Waukegan
Compton
Oakland
New Haven
Greenville
Boulder
Santa Rosa
Answer: Palo Alto
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Palo Alto" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> "4296540596" . } UNION { ?e <pred:name> "Santa Rosa" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Palo Alto
function: FilterStr
dependencies: 0
inputs: PermID
4296540596
function: Find
inputs: Santa Rosa
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less