Question: The town that give the name Greenwich (the one whose elevation above sea level is 17 metres) has 020 as local dialing code?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <named_after> ?e . ?e_1 <pred:name> "Greenwich" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "17"^^xsd:double . ?e <local_dialing_code> ?pv . ?pv <pred:value> "020" .  }
Program:
function: Find
inputs: Greenwich
function: FilterNum
dependencies: 0
inputs: elevation above sea level
17 metre
=
function: Relate
dependencies: 1
inputs: named after
forward
function: FilterConcept
dependencies: 2
inputs: town
function: QueryAttr
dependencies: 3
inputs: local dialing code
function: VerifyStr
dependencies: 4
inputs: 020