Skip to content

Incorrect Prefix Mapping in context.json #318

@tekrajchhetri

Description

@tekrajchhetri

I noticed that the current context file (context.json) is generating an incorrect mapping for the Activity class. Specifically, it maps Activity to dandi:Activity, while it should instead reference the prov:Activity from the PROV ontology.

Image

Interestingly, the prov prefix is already defined in the context, but it is not being utilized.

Expected Behavior:

The context should reference:

"Activity": "prov:Activity"

Why This Matters:
Using the incorrect prefix implies that Activity is a custom DANDI-defined term rather than a standard term from the PROV ontology. This breaks semantic alignment with existing ontologies/schemas and hinders interoperability, which is critical for downstream applications and FAIR compliance.

Suggested Fix: Use the correct prefix.

Note: Since I am familiar with PROV ontology so I observe the issue but there might be issues with other classes/properties. It is advisable that we do check all classes/properties to ensure that they're using the correct prefix.

@yarikoptic @candleindark @kabilar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions