Question: What number of Indian states have a population of 22000 or where Adolf Hitler was born?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "22000"^^xsd:double .  } UNION { ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Adolf Hitler" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
22000
=
function: FilterConcept
dependencies: 1
inputs: state of India
function: Find
inputs: Adolf Hitler
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: state of India
function: Or
dependencies: 2
5
function: Count
dependencies: 6