Question: Which Chinese province with ISO 3166-2 code CN-44 borders Hunan?
Choices:
Henan
Hunan
Guangdong
Shaanxi
Yunnan
Fujian
Liaoning
Jiangsu
Anhui
Zhejiang
Answer: Guangdong
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of China" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "CN-44" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Hunan" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
CN-44
function: FilterConcept
dependencies: 1
inputs: province of China
function: Find
inputs: Hunan
function: Relate
dependencies: 3
inputs: shares border with
forward
function: FilterConcept
dependencies: 4
inputs: province of China
function: And
dependencies: 2
5
function: What
dependencies: 6