Question: How many rock music renditions have the famous person Joey Jordison or are influenced by Black Sabbath whose record label is Vertigo Records?
Choices:
4
5
6
7
8
9
10
11
12
13
Program:
function: Find
inputs: Joey Jordison
function: Relate
dependencies: 0
inputs: famous people
backward
function: FilterConcept
dependencies: 1
inputs: rock music
function: Find
inputs: Vertigo Records
function: Relate
dependencies: 3
inputs: record label
backward
function: Find
inputs: Black Sabbath
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: influenced by
backward
function: FilterConcept
dependencies: 7
inputs: rock music
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock music" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Joey Jordison" .  } UNION { ?e <influenced_by> ?e_1 . ?e_1 <pred:name> "Black Sabbath" . ?e_1 <record_label> ?e_2 . ?e_2 <pred:name> "Vertigo Records" .  } }
Answer: 12