Question: What is the constituency of the Rajya Sabha located in Rajasthan (the one that is the terrain feature of Jainism)?
Choices:
Maharashtra
Punjab
Andhra Pradesh
Haryana
Rajasthan
Odisha
Kerala
Tamil Nadu
Manipur
Gujarat
Program:
function: Find
inputs: Jainism
function: Relate
dependencies: 0
inputs: located on terrain feature
forward
function: Find
inputs: Rajasthan
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: constituency of the Rajya Sabha
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "constituency of the Rajya Sabha" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Rajasthan" . ?e_2 <located_on_terrain_feature> ?e_1 . ?e_2 <pred:name> "Jainism" .   }
Answer: Rajasthan