-
Notifications
You must be signed in to change notification settings - Fork 219
Principle #3 IDs - automated validation #1017
Copy link
Copy link
Open
Labels
attn: Editorial WGIssues pertinent to editorial activities, such as ontology reviews and principlesIssues pertinent to editorial activities, such as ontology reviews and principlesattn: Technical WGIssues pertinent to technical activities, such as maintenance of website, PURLs, and toolsIssues 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.Issues for the editorial WG pertinent to the automating the validation of the Principles.principlesIssues related to Foundry principlesIssues related to Foundry principles
Metadata
Metadata
Assignees
Labels
attn: Editorial WGIssues pertinent to editorial activities, such as ontology reviews and principlesIssues pertinent to editorial activities, such as ontology reviews and principlesattn: Technical WGIssues pertinent to technical activities, such as maintenance of website, PURLs, and toolsIssues 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.Issues for the editorial WG pertinent to the automating the validation of the Principles.principlesIssues related to Foundry principlesIssues related to Foundry principles
FP 3 - URI/Identifier Space
Automated checks:
NAMESPACE_NUMIDformatMechanism:
Any IRI that starts with
http://purl.obolibrary.org/obo/IDSPACEmust end with_NUMID. theIDSPACEcomes from the registry. All things that start withhttp://purl.obolibrary.org/obo/must be a valid registry ID.There may be external classes that we can't predict. But, if the ontology usesoboInOwl:hasOBONamespaceon terms, we can check those entities. The value of that annotation should matchNAMESPACE(ignoring case).If any class annotated withoboInOwl:hasOBONamespacein the core namespace does not followNAMESPACE_NUMIDformat (e.g. 'doid' namespace followsDOID_0000001etc.), 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