Question: What is the number of electronic music renditions whose famous person is Bill Nelson (whose occupation is record producer) or whose origination date is not in 1988?
Choices:
16
17
18
19
20
21
22
23
24
25
Program:
function: Find
inputs: record producer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Bill Nelson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: electronic music
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1988
!=
function: FilterConcept
dependencies: 7
inputs: electronic music
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> "electronic music" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Bill Nelson" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "record producer" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1988 ) .  } }
Answer: 25