Generalized LinkedDataCache slightly in order to allow it to be used by SesameStream