Question: Is the NUTS code of West Midlands (the one that shares border with Warwickshire) UKG3?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "West Midlands" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Warwickshire" .  ?e <NUTS_code> ?pv . ?pv <pred:value> "UKG3" .  }
Program:
function: Find
inputs: Warwickshire
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: West Midlands
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: NUTS code
function: VerifyStr
dependencies: 4
inputs: UKG3
Answer: yes