Question: How many states of India are an administrative division of India (that has a citizen named Nana Patekar)?
Choices:
15
16
17
18
19
20
21
22
23
24
Program:
function: Find
inputs: Nana Patekar
function: Relate
dependencies: 0
inputs: country of citizenship
forward
function: Find
inputs: India
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: state of India
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "India" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> "Nana Patekar" .   }
Answer: 23