Question: What capital is located in Jiangsu?
Choices:
Sarajevo
Riga
Mexico City
Lausanne
Nanjing
Baku
Paris
Suzhou
Nairobi
Doha
Program:
function: Find
inputs: Jiangsu
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: capital
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Jiangsu" .   }
Answer: Nanjing