Question: How many MTV Video Music Awards were created sometime other than 1984 or include Pearl Jam that formed in Seattle as a recipient?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Seattle
function: Relate
dependencies: 0
inputs: location of formation
backward
function: Find
inputs: Pearl Jam
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: award received
forward
function: FilterConcept
dependencies: 4
inputs: MTV Video Music Award
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1984
!=
function: FilterConcept
dependencies: 7
inputs: MTV Video Music Award
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "MTV Video Music Award" .  { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Pearl Jam" . ?e_1 <location_of_formation> ?e_2 . ?e_2 <pred:name> "Seattle" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1984 ) .  } }
Answer: 7