Question: Which ISO 3166-2 code designates England, which borders Wales?
Choices:
FR-80
IE-WD
CZ-PR
GB-ENG
RU-MOS
CH-ZH
NL-NB
CN-JS
NL-OV
AF-KAB
Answer: GB-ENG
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "England" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Wales" .  ?e <ISO_3166-2_code> ?pv .  }
Program:
function: Find
inputs: Wales
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: England
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: ISO 3166-2 code