Question: How many Grammy Awards did Swedish American Beck win or whose official website is http://www.grammy.com/?
Choices: 21
22
23
24
25
26
27
28
29
30
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> "Beck" . ?e_1 <ethnic_group> ?e_2 . ?e_2 <pred:name> "Swedish American" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.grammy.com/" .  } }
Program:
function: Find
inputs: Swedish American
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Beck
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: winner
backward
function: FilterConcept
dependencies: 4
inputs: Grammy Award
function: FindAll
function: FilterStr
dependencies: 6
inputs: official website
http://www.grammy.com/
function: FilterConcept
dependencies: 7
inputs: Grammy Award
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 29