Question: How many Grammy Awards were established later than 1990 or at a year other than 1959?
Choices: 18
19
20
21
22
23
24
25
26
27
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Grammy Award" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1959 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1990 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1959
!=
function: FilterConcept
dependencies: 1
inputs: Grammy Award
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1990
>
function: FilterConcept
dependencies: 4
inputs: Grammy Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 24