From a88556778e225d8d107e0ac42dbff39f83915e45 Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Thu, 25 Jan 2024 17:50:21 -0500 Subject: [PATCH] Migrate Event concepts from drafting namespace to UCO Core 1.3.0 No effects were observed on Make-managed files. References: * https://github.com/ucoProject/UCO/issues/541 Signed-off-by: Alex Nelson --- examples/illustrations/event/drafting.ttl | 72 ----------------------- examples/illustrations/event/event.json | 9 ++- 2 files changed, 4 insertions(+), 77 deletions(-) delete mode 100644 examples/illustrations/event/drafting.ttl diff --git a/examples/illustrations/event/drafting.ttl b/examples/illustrations/event/drafting.ttl deleted file mode 100644 index 0979d215..00000000 --- a/examples/illustrations/event/drafting.ttl +++ /dev/null @@ -1,72 +0,0 @@ -@prefix drafting: . -@prefix owl: . -@prefix rdf: . -@prefix rdfs: . -@prefix sh: . -@prefix uco-core: . -@prefix uco-types: . -@prefix xsd: . - -drafting:Event - a - owl:Class , - sh:NodeShape - ; - rdfs:subClassOf uco-core:UcoObject ; - rdfs:label "Event"@en ; - rdfs:comment "An Event is a noteworthy occurrence (something that happens or might happen)."@en ; - rdfs:seeAlso ; - sh:property - [ - sh:class uco-core:UcoObject ; - sh:nodeKind sh:IRI ; - sh:path drafting:eventContext ; - ] , - [ - sh:class uco-types:Dictionary ; - sh:nodeKind sh:IRI ; - sh:path drafting:eventAttribute ; - ] , - [ - sh:datatype xsd:dateTime ; - sh:nodeKind sh:Literal ; - sh:path uco-core:endTime ; - ] , - [ - sh:datatype xsd:string ; - sh:nodeKind sh:Literal ; - sh:path drafting:eventType ; - ] , - [ - sh:datatype xsd:dateTime ; - sh:nodeKind sh:Literal ; - sh:path uco-core:startTime ; - ] - ; - sh:targetClass drafting:Event ; - . - -drafting:eventAttribute - a owl:ObjectProperty ; - rdfs:label "Event Attribute"@en ; - rdfs:comment "An event attribute specifies an ad-hoc attribute/value for an event."@en ; - rdfs:seeAlso ; - rdfs:range uco-types:Dictionary ; - . - -drafting:eventContext - a owl:ObjectProperty ; - rdfs:label "Event Context"@en ; - rdfs:comment "An event context describes the association of actions and objects relating to an event."@en ; - rdfs:seeAlso ; - rdfs:range uco-core:UcoObject ; - . - -drafting:eventType - a owl:DatatypeProperty ; - rdfs:label "Event Type"@en ; - rdfs:comment "An event type specifies a classification type for the event."@en ; - rdfs:seeAlso ; - rdfs:range xsd:string ; - . - diff --git a/examples/illustrations/event/event.json b/examples/illustrations/event/event.json index a0567076..5b856b0c 100644 --- a/examples/illustrations/event/event.json +++ b/examples/illustrations/event/event.json @@ -1,6 +1,5 @@ { "@context": { - "drafting": "http://example.org/ontology/drafting/", "kb": "http://example.org/kb/", "uco-action": "https://ontology.unifiedcyberontology.org/uco/action/", "uco-core": "https://ontology.unifiedcyberontology.org/uco/core/", @@ -13,9 +12,9 @@ "@graph": [ { "@id": "kb:event-d4a5a009-7b4d-445d-8d06-9dc85f263b3e", - "@type": "drafting:Event", + "@type": "uco-core:Event", "uco-core:name": "user logged in", - "drafting:eventType": "Authentication", + "uco-core:eventType": "Authentication", "uco-core:startTime": { "@type": "xsd:dateTime", "@value": "2023-07-15T17:59:43.25Z" @@ -24,7 +23,7 @@ "@type": "xsd:dateTime", "@value": "2023-07-15T17:59:45.33Z" }, - "drafting:eventContext": [ + "uco-core:eventContext": [ { "@id": "kb:action-7377c5e6-6b28-4bc7-ad21-6763c070bfcc" }, @@ -32,7 +31,7 @@ "@id": "kb:action-a86738e7-c890-4615-b3ab-deaccd3bafbb" } ], - "drafting:eventAttribute": { + "uco-core:eventAttribute": { "@id": "kb:dictionary-b222a5f4-e7eb-442a-8aab-c22c89734b9e" } },