Question: How many India states are located in the form of government that includes citizen Murali (whose date of death is 2010-09-08)?
Choices:
21
22
23
24
25
26
27
28
29
30
Answer: 23
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "form of government" . ?e_3 <country_of_citizenship> ?e_1 . ?e_3 <pred:name> "Murali" . ?e_3 <date_of_death> ?pv . ?pv <pred:date> "2010-09-08"^^xsd:date .   }
Program:
function: Find
inputs: Murali
function: FilterDate
dependencies: 0
inputs: date of death
2010-09-08
=
function: Relate
dependencies: 1
inputs: country of citizenship
forward
function: FilterConcept
dependencies: 2
inputs: form of government
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: state of India
function: Count
dependencies: 5