Question: How many MTV Video Music Awards were received by the Beastie Boys whose genre is rapcore?
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> "MTV Video Music Award" . ?e_1 <award_received> ?e . ?e_1 <pred:name> "Beastie Boys" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "rapcore" .   }
Program:
function: Find
inputs: rapcore
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Beastie Boys
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: award received
forward
function: FilterConcept
dependencies: 4
inputs: MTV Video Music Award
function: Count
dependencies: 5