Question: How many short films were done in black and white or published after 1911 ?
Choices:
14
15
16
17
18
19
20
21
22
23
Answer: 19
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "short film" .  { ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1911 ) .  } }
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: FilterConcept
dependencies: 1
inputs: short film
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
1911
>
function: FilterConcept
dependencies: 4
inputs: short film
function: Or
dependencies: 2
5
function: Count
dependencies: 6