Question: Which constituency of the Rajya Sabha is coextensive with, and located in, Haryana (whose official website is http://www.haryana.gov.in)?
Choices:
Odisha
Punjab
Arunachal Pradesh
Andhra Pradesh
Maharashtra
Assam
Haryana
Rajasthan
Gujarat
Kerala
Program:
function: Find
inputs: Haryana
function: FilterStr
dependencies: 0
inputs: official website
http://www.haryana.gov.in
function: Relate
dependencies: 1
inputs: coextensive with
forward
function: FilterConcept
dependencies: 2
inputs: constituency of the Rajya Sabha
function: Find
inputs: Haryana
function: FilterStr
dependencies: 4
inputs: official website
http://www.haryana.gov.in
function: Relate
dependencies: 5
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 6
inputs: constituency of the Rajya Sabha
function: And
dependencies: 3
7
function: What
dependencies: 8
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "constituency of the Rajya Sabha" . ?e_1 <coextensive_with> ?e . ?e_1 <pred:name> "Haryana" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.haryana.gov.in" .  ?e <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Haryana" . ?e_2 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.haryana.gov.in" .  }
Answer: Haryana