Question: How many nonprofit organizations are the education place of Dina Pathak or were received by Northern Dancer?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "nonprofit organization" .  { ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Dina Pathak" .  } UNION { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Northern Dancer" .  } }
Program:
function: Find
inputs: Dina Pathak
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: nonprofit organization
function: Find
inputs: Northern Dancer
function: Relate
dependencies: 3
inputs: award received
forward
function: FilterConcept
dependencies: 4
inputs: nonprofit organization
function: Or
dependencies: 2
5
function: Count
dependencies: 6