Question: Tell me the number of France departments that have yearly number of weddings not equal to 440.
Choices:
16
17
18
19
20
21
22
23
24
25
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: annual number of weddings
440
!=
function: FilterConcept
dependencies: 1
inputs: departments of France
function: Count
dependencies: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "departments of France" . ?e <annual_number_of_weddings> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "440"^^xsd:double ) .  }
Answer: 16