Question: How many musicals did not have their date of first performance in 1957 or have the title Jesus Christ Superstar?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 9
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 != 1957 ) .  } UNION { ?e <title> ?pv . ?pv <pred:value> "Jesus Christ Superstar" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of first performance
1957
!=
function: FilterConcept
dependencies: 1
inputs: musical
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Jesus Christ Superstar
function: FilterConcept
dependencies: 4
inputs: musical
function: Or
dependencies: 2
5
function: Count
dependencies: 6