Question: How many film awards were either created after 1982 or were created on 1972-01-01?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 5
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 <start_time> ?pv . ?pv <pred:date> "1972-01-01"^^xsd:date .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1982
>
function: FilterConcept
dependencies: 1
inputs: film award
function: FindAll
function: FilterDate
dependencies: 3
inputs: start time
1972-01-01
=
function: FilterConcept
dependencies: 4
inputs: film award
function: Or
dependencies: 2
5
function: Count
dependencies: 6