get_parts_collections
- get_parts_collections() Mapping[str, list[str]][source]
Group resources’ prefixes based on their
part_ofentries.- Returns:
A dictionary with keys that appear as the values of
Resource.part_ofand whose values are lists of prefixes for resources that have the key as a value in itspart_offield.
Warning
Many of the keys in this dictionary are valid Bioregistry prefixes, but this is not necessary. For example,
ctdis one key that appears that explicitly has no prefix, since it corresponds to a resource and not a vocabulary.