Question: How many states in India have a population of less than 53000000 and were created before 1987?
Choices:
12
13
14
15
16
17
18
19
20
21
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: male population
53000000
<
function: FilterConcept
dependencies: 1
inputs: state of India
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1987
<
function: FilterConcept
dependencies: 4
inputs: state of India
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" . ?e <male_population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "53000000"^^xsd:double ) . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1987 ) .  }
Answer: 15