Question: I want to know what the constituency is of the Rajya Sabha that is coextensive with Punjab (the one that has a border with Jammu and Kashmir)
Choices: Manipur
Odisha
Gujarat
Punjab
Haryana
Assam
Rajasthan
Andhra Pradesh
Himachal Pradesh
Kerala
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "constituency of the Rajya Sabha" . ?e <coextensive_with> ?e_1 . ?e_1 <pred:name> "Punjab" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "Jammu and Kashmir" .   }
Program:
function: Find
inputs: Jammu and Kashmir
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Punjab
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: coextensive with
backward
function: FilterConcept
dependencies: 4
inputs: constituency of the Rajya Sabha
function: What
dependencies: 5
Answer: Punjab