Question: How many animated feature films have a publication date that is not in 2003 or are followed by the film It (whose publication date is 2017-09-15)?
Choices: 71
72
73
74
75
76
77
78
79
80
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 != 2003 ) .  } UNION { ?e_1 <follows> ?e . ?e_1 <pred:name> "It" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2017-09-15"^^xsd:date .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2003
!=
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: Find
inputs: It
function: FilterDate
dependencies: 3
inputs: publication date
2017-09-15
=
function: Relate
dependencies: 4
inputs: follows
forward
function: FilterConcept
dependencies: 5
inputs: animated feature film
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 75