Question: How many albums include a performance by Will Arnett or were published prior to 2008?
Choices: 15
16
17
18
19
20
21
22
23
24
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "album" .  { ?e <performer> ?e_1 . ?e_1 <pred:name> "Will Arnett" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2008 ) .  } }
Program:
function: Find
inputs: Will Arnett
function: Relate
dependencies: 0
inputs: performer
backward
function: FilterConcept
dependencies: 1
inputs: album
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2008
<
function: FilterConcept
dependencies: 4
inputs: album
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 20