Question: How many states have a population that is not 16000000 or are the source of material of ragga?
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" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "16000000"^^xsd:double ) .  } UNION { ?e_1 <source_of_material> ?e . ?e_1 <pred:name> "ragga" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
16000000
!=
function: FilterConcept
dependencies: 1
inputs: state
function: Find
inputs: ragga
function: Relate
dependencies: 3
inputs: source of material
forward
function: FilterConcept
dependencies: 4
inputs: state
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 29