Question: How many short films were published pre-1944 or penned by Lars von Trier?
Choices:
10
11
12
13
14
15
16
17
18
19
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1944
<
function: FilterConcept
dependencies: 1
inputs: short film
function: Find
inputs: Lars von Trier
function: Relate
dependencies: 3
inputs: after a work by
backward
function: FilterConcept
dependencies: 4
inputs: short 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> "short film" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1944 ) .  } UNION { ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> "Lars von Trier" .  } }
Answer: 12