Question: Which US city at zip codes 92657–92663 are more than 5 ft above sea level?
Choices:
Newport Beach
Columbus
Franklin
Anaheim
Waukegan
Thousand Oaks
New Haven
Oakland
Corvallis
Rochester
Answer: Newport Beach
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <postal_code> ?pv . ?pv <pred:value> "92657–92663" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "foot" . ?pv_1 <pred:value> ?v . FILTER ( ?v > "5"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
92657–92663
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: FindAll
function: FilterNum
dependencies: 3
inputs: elevation above sea level
5 foot
>
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6