Question: How many animated series with other than 35 seasons are the basis of The SpongeBob SquarePants Movie, released in the Philippines?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "35"^^xsd:double ) . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "The SpongeBob SquarePants Movie" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> "Philippines" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of seasons
35
!=
function: FilterConcept
dependencies: 1
inputs: animated series
function: Find
inputs: Philippines
function: Relate
dependencies: 3
inputs: film release region
backward
function: Find
inputs: The SpongeBob SquarePants Movie
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: derivative work
backward
function: FilterConcept
dependencies: 7
inputs: animated series
function: And
dependencies: 2
8
function: Count
dependencies: 9