Question: What is the number of literary awards whose origination date is before 1969 or native name is John W. Campbell Award for Best New Writer?
Choices: 16
17
18
19
20
21
22
23
24
25
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary award" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1969 ) .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> "John W. Campbell Award for Best New Writer" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1969
<
function: FilterConcept
dependencies: 1
inputs: literary award
function: FindAll
function: FilterStr
dependencies: 3
inputs: native label
John W. Campbell Award for Best New Writer
function: FilterConcept
dependencies: 4
inputs: literary award
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 17