Question: Which has a greater elevation above sea level, Frederick (whose postal code is 21703) or Garland?
Choices: Compton
Franklin
Columbus
Boulder
Greenville
Oakland
Garland
Frederick
Lansing
New Haven
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Frederick" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "21703" . } UNION { ?e <pred:name> "Garland" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Frederick
function: FilterStr
dependencies: 0
inputs: postal code
21703
function: Find
inputs: Garland
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
Answer: Garland