Question: How many musicals had their debut show post-2011 or in any year but 1986?
Choices: 7
8
9
10
11
12
13
14
15
16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "musical" .  { ?e <date_of_first_performance> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1986 ) .  } UNION { ?e <date_of_first_performance> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2011 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of first performance
1986
!=
function: FilterConcept
dependencies: 1
inputs: musical
function: FindAll
function: FilterYear
dependencies: 3
inputs: date of first performance
2011
>
function: FilterConcept
dependencies: 4
inputs: musical
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 9