Question: What amount of literary awards have an inception time of 1987 or have David Brin as the recipient?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary award" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> "David Brin" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> 1987 .  } }
Program:
function: Find
inputs: David Brin
function: Relate
dependencies: 0
inputs: winner
backward
function: FilterConcept
dependencies: 1
inputs: literary award
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1987
=
function: FilterConcept
dependencies: 4
inputs: literary award
function: Or
dependencies: 2
5
function: Count
dependencies: 6