Question: How many constituencies of the Rajya Sabha are in India (which is the release region of Knight and Day)?
Choices:
11
12
13
14
15
16
17
18
19
20
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:name> "India" . ?e_2 <film_release_region> ?e_1 . ?e_2 <pred:name> "Knight and Day" .   }
Program:
function: Find
inputs: Knight and Day
function: Relate
dependencies: 0
inputs: film release region
forward
function: Find
inputs: India
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: constituency of the Rajya Sabha
function: Count
dependencies: 5