Question: How many MTV VMA awards were earned by The Smashing Pumpkins or established in a year except for 1989?
Choices:
9
10
11
12
13
14
15
16
17
18
Answer: 12
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> "The Smashing Pumpkins" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1989 ) .  } }
Program:
function: Find
inputs: The Smashing Pumpkins
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: MTV Video Music Award
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1989
!=
function: FilterConcept
dependencies: 4
inputs: MTV Video Music Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6