Getting Started
get_part_of()
Get the parent resource.
prefix – The prefix to look up
The prefixes of the parent resource for this prefix, if one is annotated. This is the inverse of get_has_parts().
get_has_parts()
>>> assert 'chembl' in get_part_of('chembl.compound')