Question: How many songs were either published with Rise of the Guardians or are associated with the Reprise Records label?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Rise of the Guardians
function: Relate
dependencies: 0
inputs: published in
backward
function: FilterConcept
dependencies: 1
inputs: song
function: Find
inputs: Reprise Records
function: Relate
dependencies: 3
inputs: record label
backward
function: FilterConcept
dependencies: 4
inputs: song
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> "song" .  { ?e <published_in> ?e_1 . ?e_1 <pred:name> "Rise of the Guardians" .  } UNION { ?e <record_label> ?e_1 . ?e_1 <pred:name> "Reprise Records" .  } }
Answer: 4