Question: How is the Portland at zip codes 97086–97299 related to the Portland at 19 meters above sea level?
Choices:
patron saint
captain
director
dissertation submitted to
named after
residence
replaces
maintained by
present in work
grants
Answer: named after
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Portland" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "97086–97299" . ?e_2 <pred:name> "Portland" . ?e_2 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "19"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Portland
function: FilterStr
dependencies: 0
inputs: postal code
97086–97299
function: Find
inputs: Portland
function: FilterNum
dependencies: 2
inputs: elevation above sea level
19 metre
=
function: QueryRelation
dependencies: 1
3