Question: What is the number of MTV video music awards that were gotten by the Smashing Pumpkins or that were incepted prior to 1989
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 10
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