Question: What province in China has the capital Changsha?
Choices:
Guangdong
Anhui
Hubei
Liaoning
Shanxi
Fujian
Shandong
Shaanxi
Hunan
Zhejiang
Program:
function: Find
inputs: Changsha
function: Relate
dependencies: 0
inputs: capital of
forward
function: FilterConcept
dependencies: 1
inputs: province of China
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of China" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Changsha" .   }
Answer: Hunan