Question: How many constituencies of the Rajya Sabha is a country that is a democracy and is a country of Jharkhand (the one whose native label is झारखंड)?
Choices:
15
16
17
18
19
20
21
22
23
24
Answer: 19
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "constituency of the Rajya Sabha" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "democracy" . ?e_3 <country> ?e_1 . ?e_3 <pred:name> "Jharkhand" . ?e_3 <native_label> ?pv . ?pv <pred:value> "झारखंड" .   }
Program:
function: Find
inputs: Jharkhand
function: FilterStr
dependencies: 0
inputs: native label
झारखंड
function: Relate
dependencies: 1
inputs: country
forward
function: FilterConcept
dependencies: 2
inputs: democracy
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: constituency of the Rajya Sabha
function: Count
dependencies: 5