Question: How many soundtrack albums have been released before 2007 or that uses the language English?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "soundtrack album" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2007 ) .  } UNION { ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2007
<
function: FilterConcept
dependencies: 1
inputs: soundtrack album
function: Find
inputs: English
function: Relate
dependencies: 3
inputs: language of work or name
backward
function: FilterConcept
dependencies: 4
inputs: soundtrack album
function: Or
dependencies: 2
5
function: Count
dependencies: 6