Question: Which area has higher elevation above sea level, Oceanside or Wilmington (the one whose local dialing code is 910)?
Choices:
Oakland
Columbus
Compton
Oceanside
Franklin
Lansing
Greenville
Wilmington
Boulder
Waukegan
Answer: Oceanside
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oceanside" . } UNION { ?e <pred:name> "Wilmington" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "910" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Oceanside
function: Find
inputs: Wilmington
function: FilterStr
dependencies: 1
inputs: local dialing code
910
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater