Question: Does the German state that makes up a portion of Germany have DE-NW as an ISO 3166-2 code?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" . ?e <part_of> ?e_1 . ?e_1 <pred:name> "Germany" .  ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "DE-NW" .  }
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: QueryAttr
dependencies: 2
inputs: ISO 3166-2 code
function: VerifyStr
dependencies: 3
inputs: DE-NW