Question: How many heavy metal renditions have the subreddit numetal or are the genre of Led Zeppelin (who is famous for blues 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> "heavy metal" .  { ?e <subreddit> ?pv . ?pv <pred:value> "numetal" .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> "Led Zeppelin" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "blues rock" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: subreddit
numetal
function: FilterConcept
dependencies: 1
inputs: heavy metal
function: Find
inputs: blues rock
function: Relate
dependencies: 3
inputs: famous people
forward
function: Find
inputs: Led Zeppelin
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: genre
forward
function: FilterConcept
dependencies: 7
inputs: heavy metal
function: Or
dependencies: 2
8
function: Count
dependencies: 9