Question: How many Grammy Awards are awarded in musical or human category?
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> "Grammy Award" .  { ?e <award_disciplines_or_subjects> ?e_1 . ?e_1 <pred:name> "music" .  } UNION { ?e <is_a_list_of> ?e_1 . ?e_1 <pred:name> "human" .  } }
Program:
function: Find
inputs: music
function: Relate
dependencies: 0
inputs: award disciplines or subjects
backward
function: FilterConcept
dependencies: 1
inputs: Grammy Award
function: Find
inputs: human
function: Relate
dependencies: 3
inputs: is a list of
backward
function: FilterConcept
dependencies: 4
inputs: Grammy Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6