Question: How many singles were either published after 2012, or have Virgin Records as the record label?
Choices:
4
5
6
7
8
9
10
11
12
13
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2012
>
function: FilterConcept
dependencies: 1
inputs: single
function: Find
inputs: Virgin Records
function: Relate
dependencies: 3
inputs: record label
backward
function: FilterConcept
dependencies: 4
inputs: single
function: Or
dependencies: 2
5
function: Count
dependencies: 6
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 > 2012 ) .  } UNION { ?e <record_label> ?e_1 . ?e_1 <pred:name> "Virgin Records" .  } }
Answer: 4