Question: Is CN-CQ the ISO 3166-2 code for Nebraska that shares a border with Iowa?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:name> "Nebraska" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Iowa" .  ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "CN-CQ" .  }
Program:
function: Find
inputs: Iowa
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Nebraska
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: ISO 3166-2 code
function: VerifyStr
dependencies: 4
inputs: CN-CQ