Program is a type of Software. Chef is a type of Software. you are likely to find Chef in/at/on Kitchen. 
Photograph is created by Photographer. you are likely to find Photograph in/at/on Newspaper. 
Program --IsA--> Software <--IsA-- Chef --AtLocation--> Kitchen 
Photographer <--CreatedBy-- Photograph --AtLocation--> Newspaper 