Question: How many film awards were created before 1982 or are involved with the film discipline?
Choices:
8
9
10
11
12
13
14
15
16
17
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film award" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1982 ) .  } UNION { ?e <award_disciplines_or_subjects> ?e_1 . ?e_1 <pred:name> "film" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1982
<
function: FilterConcept
dependencies: 1
inputs: film award
function: Find
inputs: film
function: Relate
dependencies: 3
inputs: award disciplines or subjects
backward
function: FilterConcept
dependencies: 4
inputs: film award
function: Or
dependencies: 2
5
function: Count
dependencies: 6