Question: Does the settlement of people with postal code 21401—which is the twinned administrative entity of Annapolis—sit at an above-sea-level elevation higher than 8500 meters?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human settlement" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Annapolis" . ?e_1 <postal_code> ?pv_1 . ?pv_1 <pred:value> "21401" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v > "8500"^^xsd:double ) .  }
Program:
function: Find
inputs: Annapolis
function: FilterStr
dependencies: 0
inputs: postal code
21401
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 2
inputs: human settlement
function: QueryAttr
dependencies: 3
inputs: elevation above sea level
function: VerifyNum
dependencies: 4
inputs: 8500 metre
>
Answer: no