Question: How many albums are recorded on the Def Jam Recordings label or are in English?
Choices:
24
25
26
27
28
29
30
31
32
33
Program:
function: Find
inputs: Def Jam Recordings
function: Relate
dependencies: 0
inputs: record label
backward
function: FilterConcept
dependencies: 1
inputs: album
function: Find
inputs: English
function: Relate
dependencies: 3
inputs: language of work or name
backward
function: FilterConcept
dependencies: 4
inputs: album
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> "album" .  { ?e <record_label> ?e_1 . ?e_1 <pred:name> "Def Jam Recordings" .  } UNION { ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .  } }
Answer: 24