Question: Does Fort Worth (whose postal code is 76155) or Minden have the higher elevation above sea level?
Choices:
Waukegan
Columbus
Lansing
Greenville
Franklin
Oakland
Minden
Fort Worth
Boulder
Compton
Program:
function: Find
inputs: Fort Worth
function: FilterStr
dependencies: 0
inputs: postal code
76155
function: Find
inputs: Minden
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fort Worth" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "76155" . } UNION { ?e <pred:name> "Minden" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Fort Worth