Question: How many alternative rock pieces include famous artists of Pearl Jam (the one that wins MTV Video Music Award for Best Rock Video) or are the origin of deathcore name?
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> "alternative rock" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Pearl Jam" . ?e_2 <winner> ?e_1 . ?e_2 <pred:name> "MTV Video Music Award for Best Rock Video" .  } UNION { ?e_1 <named_after> ?e . ?e_1 <pred:name> "deathcore" .  } }
Program:
function: Find
inputs: MTV Video Music Award for Best Rock Video
function: Relate
dependencies: 0
inputs: winner
forward
function: Find
inputs: Pearl Jam
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: alternative rock
function: Find
inputs: deathcore
function: Relate
dependencies: 6
inputs: named after
forward
function: FilterConcept
dependencies: 7
inputs: alternative rock
function: Or
dependencies: 5
8
function: Count
dependencies: 9