Question: Does the Japanese prefecture twinned to Province of Rome have the ISO 3166-2 designation JP-04 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Province of Rome" .  ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "JP-04" .  }
Program:
function: Find
inputs: Province of Rome
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 1
inputs: prefecture of Japan
function: QueryAttr
dependencies: 2
inputs: ISO 3166-2 code
function: VerifyStr
dependencies: 3
inputs: JP-04