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