Question: What is the number of MTV Video Music Awards having No Doubt as a nominee or a beginning date that is not in 1999?
Choices:
9
10
11
12
13
14
15
16
17
18
Answer: 14
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "MTV Video Music Award" .  { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "No Doubt" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1999 ) .  } }
Program:
function: Find
inputs: No Doubt
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: MTV Video Music Award
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1999
!=
function: FilterConcept
dependencies: 4
inputs: MTV Video Music Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6