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