Question: What China province is the twinned administrative body of Shizuoka Prefecture and borders Jiangsu?
Choices:
Jiangsu
Hubei
Yunnan
Shandong
Henan
Zhejiang
Shaanxi
Guangdong
Fujian
Liaoning
Program:
function: Find
inputs: Shizuoka Prefecture
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 1
inputs: province of China
function: Find
inputs: Jiangsu
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
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of China" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Shizuoka Prefecture" .  ?e_2 <shares_border_with> ?e . ?e_2 <pred:name> "Jiangsu" .  }
Answer: Zhejiang