Question: What number of literary awards did Greg Bear win, or was founded not in 1922?
Choices:
31
32
33
34
35
36
37
38
39
40
Answer: 32
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary award" .  { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Greg Bear" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1922 ) .  } }
Program:
function: Find
inputs: Greg Bear
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: literary award
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1922
!=
function: FilterConcept
dependencies: 4
inputs: literary award
function: Or
dependencies: 2
5
function: Count
dependencies: 6