Skip to content

Commit

Permalink
Merge pull request #542 from ucoProject/Feature-Issue-541
Browse files Browse the repository at this point in the history
Issue 541: Add Event
  • Loading branch information
ajnelson-nist authored Nov 13, 2023
2 parents 361862f + 9cf555a commit 9727fe3
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions ontology/uco/core/core.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,44 @@ core:EnclosingCompilation
sh:targetClass core:EnclosingCompilation ;
.

core:Event
a
owl:Class ,
sh:NodeShape
;
rdfs:subClassOf core:UcoObject ;
rdfs:label "Event"@en ;
rdfs:comment "An Event is a noteworthy occurrence (something that happens or might happen)."@en ;
sh:property
[
sh:class core:UcoObject ;
sh:nodeKind sh:IRI ;
sh:path core:eventContext ;
] ,
[
sh:class types:Dictionary ;
sh:nodeKind sh:IRI ;
sh:path core:eventAttribute ;
] ,
[
sh:datatype xsd:dateTime ;
sh:nodeKind sh:Literal ;
sh:path core:endTime ;
] ,
[
sh:datatype xsd:dateTime ;
sh:nodeKind sh:Literal ;
sh:path core:startTime ;
] ,
[
sh:datatype xsd:string ;
sh:nodeKind sh:Literal ;
sh:path core:eventType ;
]
;
sh:targetClass core:Event ;
.

core:ExternalReference
a
owl:Class ,
Expand Down Expand Up @@ -518,6 +556,27 @@ core:endTime
rdfs:range xsd:dateTime ;
.

core: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:range types:Dictionary ;
.

core: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:range core:UcoObject ;
.

core:eventType
a owl:DatatypeProperty ;
rdfs:label "Event Type"@en ;
rdfs:comment "An event type specifies a classification type for the event."@en ;
rdfs:range xsd:string ;
.

core:externalIdentifier
a owl:DatatypeProperty ;
rdfs:label "externalIdentifier"@en ;
Expand Down Expand Up @@ -677,6 +736,11 @@ core:value
rdfs:range xsd:string ;
.

types:Dictionary
a owl:Class ;
rdfs:isDefinedBy <https://ontology.unifiedcyberontology.org/uco/types> ;
.

[]
a owl:AllDisjointClasses ;
owl:members (
Expand Down

0 comments on commit 9727fe3

Please sign in to comment.