Question: How many short films were released post-2003 or are in black-and-white?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "short film" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2003 ) .  } UNION { ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2003
>
function: FilterConcept
dependencies: 1
inputs: short film
function: Find
inputs: black-and-white
function: Relate
dependencies: 3
inputs: color
backward
function: FilterConcept
dependencies: 4
inputs: short film
function: Or
dependencies: 2
5
function: Count
dependencies: 6