Question: How many awards for literature include Gene Wolfe as a nominee or have a founding year prior to 1981?
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> "literary award" .  { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Gene Wolfe" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1981 ) .  } }
Program:
function: Find
inputs: Gene Wolfe
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: literary award
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1981
<
function: FilterConcept
dependencies: 4
inputs: literary award
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 26