Question: How many Grammy Awards were won by  Beastie Boys (the one that is famous for rock and roll) or established in a year other than 1977 ?
Choices:
24
25
26
27
28
29
30
31
32
33
Program:
function: Find
inputs: rock and roll
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Beastie Boys
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: winner
backward
function: FilterConcept
dependencies: 4
inputs: Grammy Award
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1977
!=
function: FilterConcept
dependencies: 7
inputs: Grammy Award
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Grammy Award" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> "Beastie Boys" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "rock and roll" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1977 ) .  } }
Answer: 29