Question: How many in punk rock are in the genre of Siouxsie and the Banshees or are influenced by punk rock?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
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> "Siouxsie and the Banshees" .  } UNION { ?e <influenced_by> ?e_1 . ?e_1 <pred:name> "punk rock" .  } }
Program:
function: Find
inputs: Siouxsie and the Banshees
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: punk rock
function: Find
inputs: punk rock
function: Relate
dependencies: 3
inputs: influenced by
backward
function: FilterConcept
dependencies: 4
inputs: punk rock
function: Or
dependencies: 2
5
function: Count
dependencies: 6