Question: What is the number of Grammy Awards whose native label is Grammy Award for Song of the Year or whose inception time is before 1988 ?
Choices: 11
12
13
14
15
16
17
18
19
20
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Grammy Award" .  { ?e <native_label> ?pv . ?pv <pred:value> "Grammy Award for Song of the Year" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1988 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Grammy Award for Song of the Year
function: FilterConcept
dependencies: 1
inputs: Grammy Award
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1988
<
function: FilterConcept
dependencies: 4
inputs: Grammy Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 20