Lets just say if someone who is working at pharmaceutical company found a formula for ending cancer but this person was just connecting dots from previous hundreds scientists who worked on this particular formula,so the question who is getting the credit and right to patent this formula:
a) The person who found the formula
b) The whole team who worked previously and get to that point
c) The company who invested money in the research
d) Everyone