Question: What is the number of singles whose release date is prior to 1994 or record label is Capitol Records?
Choices: 6
7
8
9
10
11
12
13
14
15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "single" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1994 ) .  } UNION { ?e <record_label> ?e_1 . ?e_1 <pred:name> "Capitol Records" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1994
<
function: FilterConcept
dependencies: 1
inputs: single
function: Find
inputs: Capitol Records
function: Relate
dependencies: 3
inputs: record label
backward
function: FilterConcept
dependencies: 4
inputs: single
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 15