Question: How many Indian states report their female population to be over 6,600,000 or make up an administrative division of India with Himesh Reshammiya as the citizen ?
Choices: 23
24
25
26
27
28
29
30
31
32
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" .  { ?e <female_population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "6600000"^^xsd:double ) .  } UNION { ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "India" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> "Himesh Reshammiya" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: female population
6600000
>
function: FilterConcept
dependencies: 1
inputs: state of India
function: Find
inputs: Himesh Reshammiya
function: Relate
dependencies: 3
inputs: country of citizenship
forward
function: Find
inputs: India
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 7
inputs: state of India
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 23