Question: How many departments of France have an annual number of weddings not equal to 740?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "departments of France" . ?e <country> ?e_1 . ?e_1 <pred:name> "France" .  ?e <annual_number_of_weddings> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "740"^^xsd:double ) .  }
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: departments of France
function: FindAll
function: FilterNum
dependencies: 3
inputs: annual number of weddings
740
!=
function: FilterConcept
dependencies: 4
inputs: departments of France
function: And
dependencies: 2
5
function: Count
dependencies: 6