Same as above, determine which kind of source it is based on looking up the resource URI.