action:Action


URI

https://ontology.unifiedcyberontology.org/uco/action/Action

Label

Action

Description

An action is something that may be done or performed.

Superclasses (2)

Target Classes (1)

Implementation

@prefix action: <https://ontology.unifiedcyberontology.org/uco/action/> .
@prefix core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix location: <https://ontology.unifiedcyberontology.org/uco/location/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix vocabulary: <https://ontology.unifiedcyberontology.org/uco/vocabulary/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

action:Action a owl:Class,
        sh:NodeShape ;
    rdfs:label "Action"@en ;
    rdfs:comment "An action is something that may be done or performed."@en ;
    rdfs:isDefinedBy <https://ontology.unifiedcyberontology.org/uco/types> ;
    rdfs:subClassOf core:UcoObject ;
    owl:disjointWith core:Event ;
    sh:property [ sh:class action:Action ;
            sh:nodeKind sh:IRI ;
            sh:path action:subaction ],
        [ sh:class core:UcoObject ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path action:environment ],
        [ sh:class core:UcoObject ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path action:performer ],
        [ sh:class core:UcoObject ;
            sh:nodeKind sh:IRI ;
            sh:path action:error ],
        [ sh:class core:UcoObject ;
            sh:nodeKind sh:IRI ;
            sh:path action:instrument ],
        [ sh:class core:UcoObject ;
            sh:nodeKind sh:IRI ;
            sh:path action:object ],
        [ sh:class core:UcoObject ;
            sh:nodeKind sh:IRI ;
            sh:path action:participant ],
        [ sh:class core:UcoObject ;
            sh:nodeKind sh:IRI ;
            sh:path action:result ],
        [ sh:class location:Location ;
            sh:nodeKind sh:IRI ;
            sh:path action:location ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path action:endTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path action:startTime ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path action:actionCount ],
        [ sh:datatype vocabulary:ActionStatusTypeVocab ;
            sh:message "Value is outside the default vocabulary ActionStatusTypeVocab." ;
            sh:path action:actionStatus ;
            sh:severity sh:Info ],
        [ sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:or ( [ sh:datatype vocabulary:ActionStatusTypeVocab ] [ sh:datatype xsd:string ] ) ;
            sh:path action:actionStatus ],
        [ sh:message "Value is not member of the vocabulary ActionStatusTypeVocab." ;
            sh:or ( [ sh:datatype vocabulary:ActionStatusTypeVocab ;
                        sh:in ( "Complete/Finish"^^vocabulary:ActionStatusTypeVocab "Error"^^vocabulary:ActionStatusTypeVocab "Fail"^^vocabulary:ActionStatusTypeVocab "Ongoing"^^vocabulary:ActionStatusTypeVocab "Pending"^^vocabulary:ActionStatusTypeVocab "Success"^^vocabulary:ActionStatusTypeVocab "Unknown"^^vocabulary:ActionStatusTypeVocab ) ] [ sh:datatype xsd:string ] ) ;
            sh:path action:actionStatus ] ;
    sh:targetClass action:Action .