Question: How many Grammy Awards were awarded to Pink Floyd or Isaac Stern ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Grammy Award" .  { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Pink Floyd" .  } UNION { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Isaac Stern" .  } }
Program:
function: Find
inputs: Pink Floyd
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: Grammy Award
function: Find
inputs: Isaac Stern
function: Relate
dependencies: 3
inputs: award received
forward
function: FilterConcept
dependencies: 4
inputs: Grammy Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3