Question: How many Indian states have an Indian census area code (2001) of 06 or are a part of India (whose minimum age of compulsory education is 6 years old)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Indian census area code (2001)
06
function: FilterConcept
dependencies: 1
inputs: state of India
function: Find
inputs: India
function: FilterNum
dependencies: 3
inputs: compulsory education (minimum age)
6 years old
=
function: Relate
dependencies: 4
inputs: part of
backward
function: FilterConcept
dependencies: 5
inputs: state of India
function: Or
dependencies: 2
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" .  { ?e <Indian_census_area_code_(2001)> ?pv . ?pv <pred:value> "06" .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> "India" . ?e_1 <compulsory_education_(minimum_age)> ?pv . ?pv <pred:unit> "years old" . ?pv <pred:value> "6"^^xsd:double .  } }
Answer: 2