Skip to content

prov:Derivation is not a prov:InstantaneousEvent, so should be handled separately #135

@ajnelson-nist

Description

@ajnelson-nist

I noticed this code block:

n_instantaneous_event_type = {
NS_PROV.qualifiedCommunication: NS_PROV.Communication,
NS_PROV.qualifiedDerivation: NS_PROV.Derivation,
NS_PROV.qualifiedGeneration: NS_PROV.Generation,
NS_PROV.qualifiedInvalidation: NS_PROV.Invalidation,
NS_PROV.qualifiedUsage: NS_PROV.Usage,
}[n_predicate]

Double-checking prov:InstantaneousEvent, there are only five subclasses in PROV-O:

  • End
  • Generation
  • Invalidation
  • Start
  • Usage

Derivation should be separated from that highlighted code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions