Question: How many punk rock bands fall within the genre of Goldfinger (the one that has the record label Jive Records) or were created in a year other than 1986 ?
Choices:
13
14
15
16
17
18
19
20
21
22
Program:
function: Find
inputs: Jive Records
function: Relate
dependencies: 0
inputs: record label
backward
function: Find
inputs: Goldfinger
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: punk rock
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1986
!=
function: FilterConcept
dependencies: 7
inputs: punk rock
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> "punk rock" .  { ?e_1 <genre> ?e . ?e_1 <pred:name> "Goldfinger" . ?e_1 <record_label> ?e_2 . ?e_2 <pred:name> "Jive Records" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1986 ) .  } }
Answer: 17