Question: What is the number of conservatories whose students number is not equal to 66000 or that is named after Nikolai Rimsky-Korsakov ?
Choices: 3
4
5
6
7
8
9
10
11
12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "conservatory" .  { ?e <students_count> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "66000"^^xsd:double ) .  } UNION { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Nikolai Rimsky-Korsakov" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: students count
66000
!=
function: FilterConcept
dependencies: 1
inputs: conservatory
function: Find
inputs: Nikolai Rimsky-Korsakov
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: conservatory
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 5