oc_ocdm.prov.prov_entity module

class oc_ocdm.prov.prov_entity.ProvEntity(prov_subject, g, p_set, res=None, resp_agent=None, source=None, res_type=None, count=None, label=None, short_name='')[source]

Bases: oc_ocdm.abstract_entity.AbstractEntity

Snapshot of entity metadata (short: se): a particular snapshot recording the metadata associated with an individual entity (either a bibliographic entity or an identifier) at a particular date and time, including the agent, such as a person, organisation or automated process that created or modified the entity metadata.

Constructor of the AbstractEntity class.

Parameters
  • prov_subject (GraphEntity) –

  • g (Graph) –

  • p_set (ProvSet) –

  • res (URIRef) –

  • resp_agent (str) –

  • source (str) –

  • res_type (URIRef) –

  • count (str) –

  • label (str) –

  • short_name (str) –

Return type

None

PROV: ClassVar[Namespace] = 'http://www.w3.org/ns/prov#'
short_name_to_type_iri: ClassVar[Dict[str, URIRef]] = {'se': rdflib.Namespace.Entity}