Question: How many reggae entities are represented by the subreddit RootsReggae or share No Doubt's genre?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "reggae" .  { ?e_1 <genre> ?e . ?e_1 <pred:name> "No Doubt" .  } UNION { ?e <subreddit> ?pv . ?pv <pred:value> "RootsReggae" .  } }
Program:
function: Find
inputs: No Doubt
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: reggae
function: FindAll
function: FilterStr
dependencies: 3
inputs: subreddit
RootsReggae
function: FilterConcept
dependencies: 4
inputs: reggae
function: Or
dependencies: 2
5
function: Count
dependencies: 6