Question: How many animated feature films have the release date that is not in the year 2000 and are succeeded by Cars 2 whose release date is 2011-06-24?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2000 ) . ?e <followed_by> ?e_1 . ?e_1 <pred:name> "Cars 2" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> "2011-06-24"^^xsd:date .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2000
!=
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: Find
inputs: Cars 2
function: FilterDate
dependencies: 3
inputs: publication date
2011-06-24
=
function: Relate
dependencies: 4
inputs: followed by
backward
function: FilterConcept
dependencies: 5
inputs: animated feature film
function: And
dependencies: 2
6
function: Count
dependencies: 7