Question: Which Indian state contains Chennai?
Choices:
Andhra Pradesh
Himachal Pradesh
Kerala
Haryana
Karnataka
Maharashtra
Odisha
Gujarat
Tamil Nadu
Uttar Pradesh
Answer: Tamil Nadu
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Chennai" .   }
Program:
function: Find
inputs: Chennai
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: state of India
function: What
dependencies: 2