Question: How many bands that either performed in Roots (the one that has Sepultura as a performer) or are in the subreddit of Genesis?
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> "band" .  { ?e_1 <performer> ?e . ?e_1 <pred:name> "Roots" . ?e_1 <performer> ?e_2 . ?e_2 <pred:name> "Sepultura" .  } UNION { ?e <subreddit> ?pv . ?pv <pred:value> "Genesis" .  } }
Program:
function: Find
inputs: Sepultura
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Roots
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: performer
forward
function: FilterConcept
dependencies: 4
inputs: band
function: FindAll
function: FilterStr
dependencies: 6
inputs: subreddit
Genesis
function: FilterConcept
dependencies: 7
inputs: band
function: Or
dependencies: 5
8
function: Count
dependencies: 9