Skip to content

Commit 21e4978

Browse files
committed
Add RDFS, OWL, and other Namespaces new to UCO 1.0.0
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]>
1 parent d491815 commit 21e4978

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

case_utils/namespace.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@
2121

2222
import rdflib
2323

24-
NS_SH = rdflib.SH
24+
NS_OWL = rdflib.OWL
2525
NS_RDF = rdflib.RDF
26+
NS_RDFS = rdflib.RDFS
27+
NS_SH = rdflib.SH
2628
NS_XSD = rdflib.XSD
2729

2830
NS_CASE_INVESTIGATION = rdflib.Namespace(
@@ -31,9 +33,13 @@
3133
NS_CASE_VOCABULARY = rdflib.Namespace(
3234
"https://ontology.caseontology.org/case/vocabulary/"
3335
)
36+
NS_CO = rdflib.Namespace("http://purl.org/co/")
3437
NS_UCO_ACTION = rdflib.Namespace(
3538
"https://ontology.unifiedcyberontology.org/uco/action/"
3639
)
40+
NS_UCO_CONFIGURATION = rdflib.Namespace(
41+
"https://ontology.unifiedcyberontology.org/uco/configuration/"
42+
)
3743
NS_UCO_CORE = rdflib.Namespace("https://ontology.unifiedcyberontology.org/uco/core/")
3844
NS_UCO_IDENTITY = rdflib.Namespace(
3945
"https://ontology.unifiedcyberontology.org/uco/identity/"

0 commit comments

Comments
 (0)