Question: Does Arizona, which is home to James Horner, have an ISO 3166-2 code of US-KS?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:name> "Arizona" . ?e_1 <residence> ?e . ?e_1 <pred:name> "James Horner" .  ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "US-KS" .  }
Program:
function: Find
inputs: James Horner
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Arizona
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: ISO 3166-2 code
function: VerifyStr
dependencies: 4
inputs: US-KS