The lib.cidoc_crm module ...
and tests.test_cidoc_crm and associated unit tests for basic manipulation of a Redis datastore.