Question: How many television films were not published in 1972 or whose title is The Ring?
Choices:
127
128
129
130
131
132
133
134
135
136
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1972
!=
function: FilterConcept
dependencies: 1
inputs: television film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
The Ring
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> ?v . FILTER ( ?v != 1972 ) .  } UNION { ?e <title> ?pv . ?pv <pred:value> "The Ring" .  } }
Answer: 127