Question: How many soundtrack albums were composed by rock musician Phil Collins or published prior to 1995?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: rock music
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Phil Collins
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: composer
backward
function: FilterConcept
dependencies: 4
inputs: soundtrack album
function: FindAll
function: FilterYear
dependencies: 6
inputs: publication date
1995
<
function: FilterConcept
dependencies: 7
inputs: soundtrack album
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "soundtrack album" .  { ?e <composer> ?e_1 . ?e_1 <pred:name> "Phil Collins" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "rock music" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1995 ) .  } }
Answer: 5