Question: How many TV programs are movie documentaries or debuted in a year other than 1956?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television program" .  { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1956 ) .  } UNION { ?e <genre> ?e_1 . ?e_1 <pred:name> "documentary film" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
1956
!=
function: FilterConcept
dependencies: 1
inputs: television program
function: Find
inputs: documentary film
function: Relate
dependencies: 3
inputs: genre
backward
function: FilterConcept
dependencies: 4
inputs: television program
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 6