Question: How many TV movies were BBC-distributed or were published in a year except 2013?
Choices:
126
127
128
129
130
131
132
133
134
135
Answer: 126
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" .  { ?e <distributor> ?e_1 . ?e_1 <pred:name> "BBC" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2013 ) .  } }
Program:
function: Find
inputs: BBC
function: Relate
dependencies: 0
inputs: distributor
backward
function: FilterConcept
dependencies: 1
inputs: television film
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2013
!=
function: FilterConcept
dependencies: 4
inputs: television film
function: Or
dependencies: 2
5
function: Count
dependencies: 6