Question: How many television films have the BBC as their distributor or have a publication date after 2009?
Choices:
11
12
13
14
15
16
17
18
19
20
Answer: 13
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 > 2009 ) .  } }
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
2009
>
function: FilterConcept
dependencies: 4
inputs: television film
function: Or
dependencies: 2
5
function: Count
dependencies: 6