Skip to content

Principle #3 IDs - automated validation #1017

@beckyjackson

Description

@beckyjackson

FP 3 - URI/Identifier Space

Automated checks:

  1. Core terms must follow NAMESPACE_NUMID format

Mechanism:

Any IRI that starts with http://purl.obolibrary.org/obo/IDSPACE must end with _NUMID. the IDSPACE comes from the registry. All things that start with http://purl.obolibrary.org/obo/ must be a valid registry ID.

There may be external classes that we can't predict. But, if the ontology uses oboInOwl:hasOBONamespace on terms, we can check those entities. The value of that annotation should match NAMESPACE (ignoring case).

If any class annotated with oboInOwl:hasOBONamespace in the core namespace does not follow NAMESPACE_NUMID format (e.g. 'doid' namespace follows DOID_0000001 etc.), throw a warning.

I know some ontologies may use text in the identifier of properties, so maybe that can be an info message? It is currently an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    attn: Editorial WGIssues pertinent to editorial activities, such as ontology reviews and principlesattn: Technical WGIssues pertinent to technical activities, such as maintenance of website, PURLs, and toolsautomated validation of principlesIssues for the editorial WG pertinent to the automating the validation of the Principles.principlesIssues related to Foundry principles

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions