Question: How many states are in India (the one whose nominal GDP is 84374541630.2062 United States dollar)?
Choices: 22
23
24
25
26
27
28
29
30
31
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:name> "India" . ?e_1 <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "84374541630.2062"^^xsd:double .   }
Program:
function: Find
inputs: India
function: FilterNum
dependencies: 0
inputs: nominal GDP
84374541630.2062 United States dollar
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: state of India
function: Count
dependencies: 3
Answer: 23