Question: How many theatrical genres started before 1985 or that ended after 1968?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "theatrical genre" .  { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1985 ) .  } UNION { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1968 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
1985
<
function: FilterConcept
dependencies: 1
inputs: theatrical genre
function: FindAll
function: FilterYear
dependencies: 3
inputs: end time
1968
>
function: FilterConcept
dependencies: 4
inputs: theatrical genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2