Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 541: Add Event #542

Merged
merged 4 commits into from
Nov 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 ;
ajnelson-nist marked this conversation as resolved.
Show resolved Hide resolved
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 ;
ajnelson-nist marked this conversation as resolved.
Show resolved Hide resolved
.

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
Loading