caching lineage data in an environment to speed up taxonomy queries