Question: Does the town located in Surrey, the one that shares a border with West Sussex, have its WOEID equal to 24544?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Surrey" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "West Sussex" .  ?e <WOEID> ?pv . ?pv <pred:value> "24544" .  }
Program:
function: Find
inputs: West Sussex
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Surrey
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: town
function: QueryAttr
dependencies: 5
inputs: WOEID
function: VerifyStr
dependencies: 6
inputs: 24544