Question: What is the number of singles that have the Sire Records label or the release date prior to the year 2012?
Choices:
22
23
24
25
26
27
28
29
30
31
Answer: 26
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "single" .  { ?e <record_label> ?e_1 . ?e_1 <pred:name> "Sire Records" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2012 ) .  } }
Program:
function: Find
inputs: Sire Records
function: Relate
dependencies: 0
inputs: record label
backward
function: FilterConcept
dependencies: 1
inputs: single
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2012
<
function: FilterConcept
dependencies: 4
inputs: single
function: Or
dependencies: 2
5
function: Count
dependencies: 6