Skip to content

Commit

Permalink
Add RDFS and other namespaces new to UCO 1.0.0
Browse files Browse the repository at this point in the history
RDFS and OWL are receiving aliases for in-common spelling in adopters'
code.  OWL also specifically got further support in some UCO issues.

This patch also adds a `Namespace` for the import of the Collections
Ontology, and the new UCO namespace `configuration`.

References:
* ucoProject/UCO#389
* ucoProject/UCO#406
* ucoProject/UCO#432
* ucoProject/UCO#437

Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Sep 2, 2022
1 parent d491815 commit 5a4dfa0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion case_utils/namespace.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@

import rdflib

NS_SH = rdflib.SH
NS_OWL = rdflib.OWL
NS_RDF = rdflib.RDF
NS_RDFS = rdflib.RDFS
NS_SH = rdflib.SH
NS_XSD = rdflib.XSD

NS_CASE_INVESTIGATION = rdflib.Namespace(
Expand All @@ -31,9 +33,13 @@
NS_CASE_VOCABULARY = rdflib.Namespace(
"https://ontology.caseontology.org/case/vocabulary/"
)
NS_CO = rdflib.Namespace("http://purl.org/co/")
NS_UCO_ACTION = rdflib.Namespace(
"https://ontology.unifiedcyberontology.org/uco/action/"
)
NS_UCO_CONFIGURATION = rdflib.Namespace(
"https://ontology.unifiedcyberontology.org/uco/configuration/"
)
NS_UCO_CORE = rdflib.Namespace("https://ontology.unifiedcyberontology.org/uco/core/")
NS_UCO_IDENTITY = rdflib.Namespace(
"https://ontology.unifiedcyberontology.org/uco/identity/"
Expand Down

0 comments on commit 5a4dfa0

Please sign in to comment.