Question: How many musicals were released before 1991 or were directed by Oakland Raiders' Bruce Campbell?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "musical" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1991 ) .  } UNION { ?e <director> ?e_1 . ?e_1 <pred:name> "Bruce Campbell" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Oakland Raiders" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1991
<
function: FilterConcept
dependencies: 1
inputs: musical
function: Find
inputs: Oakland Raiders
function: Relate
dependencies: 3
inputs: member of sports team
backward
function: Find
inputs: Bruce Campbell
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: director
backward
function: FilterConcept
dependencies: 7
inputs: musical
function: Or
dependencies: 2
8
function: Count
dependencies: 9