Reading the context of a resource