Question: What is the ISO 3166-2 code of Tyrol (the one that shares border with South Tyrol)?
Choices:
CN-44
IE-LK
IN-OR
RS-VO
US-AR
AT-7
CA-NB
FR-33
AF-KAB
CA-YT
Answer: AT-7
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Tyrol" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "South Tyrol" .  ?e <ISO_3166-2_code> ?pv .  }
Program:
function: Find
inputs: South Tyrol
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Tyrol
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: ISO 3166-2 code