Question: What is the number of MTV Video Music Awards that were received by Alanis Morissette or were a nomination for Common?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 6
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> "Alanis Morissette" .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Common" .  } }
Program:
function: Find
inputs: Alanis Morissette
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: MTV Video Music Award
function: Find
inputs: Common
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: MTV Video Music Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6