Question: How many TV movies were released in 2004 or debuted post-1994?
Choices:
9
10
11
12
13
14
15
16
17
18
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2004
=
function: FilterConcept
dependencies: 1
inputs: television film
function: FindAll
function: FilterYear
dependencies: 3
inputs: start time
1994
>
function: FilterConcept
dependencies: 4
inputs: television film
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" .  { ?e <publication_date> ?pv . ?pv <pred:year> 2004 .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1994 ) .  } }
Answer: 12