Question: How many nonprofit organizations received by Northern Dancer have a PermID of 5000373215?
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> "nonprofit organization" .  { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Northern Dancer" .  } UNION { ?e <PermID> ?pv . ?pv <pred:value> "5000373215" .  } }
Program:
function: Find
inputs: Northern Dancer
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: nonprofit organization
function: FindAll
function: FilterStr
dependencies: 3
inputs: PermID
5000373215
function: FilterConcept
dependencies: 4
inputs: nonprofit organization
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2