Question: How many studio albums were released prior to 1994 or are in the Museum of Modern Art collection?
Choices: 7
8
9
10
11
12
13
14
15
16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "studio album" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1994 ) .  } UNION { ?e <collection> ?e_1 . ?e_1 <pred:name> "Museum of Modern Art" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1994
<
function: FilterConcept
dependencies: 1
inputs: studio album
function: Find
inputs: Museum of Modern Art
function: Relate
dependencies: 3
inputs: collection
backward
function: FilterConcept
dependencies: 4
inputs: studio album
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 7