Question: What is the number of constituency of the Rajya Sabha that are different from Assam (the one whose Indian census area code (2001) is 18) and that are coextensive with Kerala (the one whose Twitter username is kerala_govt) ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "constituency of the Rajya Sabha" . ?e <different_from> ?e_1 . ?e_1 <pred:name> "Assam" . ?e_1 <Indian_census_area_code_(2001)> ?pv . ?pv <pred:value> "18" .  ?e_2 <coextensive_with> ?e . ?e_2 <pred:name> "Kerala" . ?e_2 <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "kerala_govt" .  }
Program:
function: Find
inputs: Assam
function: FilterStr
dependencies: 0
inputs: Indian census area code (2001)
18
function: Relate
dependencies: 1
inputs: different from
backward
function: FilterConcept
dependencies: 2
inputs: constituency of the Rajya Sabha
function: Find
inputs: Kerala
function: FilterStr
dependencies: 4
inputs: Twitter username
kerala_govt
function: Relate
dependencies: 5
inputs: coextensive with
forward
function: FilterConcept
dependencies: 6
inputs: constituency of the Rajya Sabha
function: And
dependencies: 3
7
function: Count
dependencies: 8