Question: What number of animated movies were published after 2002 or in the genre of action film?
Choices: 44
45
46
47
48
49
50
51
52
53
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 > 2002 ) .  } UNION { ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2002
>
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: Find
inputs: action film
function: Relate
dependencies: 3
inputs: genre
backward
function: FilterConcept
dependencies: 4
inputs: animated feature film
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 47