rec:ServiceObject


URI

https://w3id.org/rec#ServiceObject

Label

Service object

Superclasses (1)

Shapes (1)

Usage

Instances of rec:ServiceObject can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE

Property Shapes

By the associated SHACL property shapes, instances of rec:ServiceObject can have the following properties:

PROPERTY PROPERTY TYPE DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS GLOBAL RANGE
rec:ServiceObject
rec:acknowledgedBy owl:ObjectProperty acknowledged by
0 1 rec:Agent
sh:IRI
--
rec:acknowledgedTime owl:DatatypeProperty acknowledged time
0 1 xsd:dateTime --
rec:closedBy owl:ObjectProperty closed by
0 1 rec:Agent
sh:IRI
--
rec:closedTime owl:DatatypeProperty closed time
0 1 xsd:dateTime --
rec:createdBy owl:ObjectProperty created by
0 1 rec:Agent
sh:IRI
--
rec:createdTime owl:DatatypeProperty created time
0 1 xsd:dateTime --
rec:producedBy owl:ObjectProperty produced by
0 * brick:Point
sh:IRI
--
rec:relatedTo owl:ObjectProperty related to
1 * sh:IRI --
rec:severity owl:DatatypeProperty severity
1 1 xsd:string
sh:in Severe, Major, Minor
--
rec:status owl:DatatypeProperty status
1 1 xsd:string
sh:in Unacknowledged, Acknowledged, Closed
--

Implementation

@prefix brick: <https://brickschema.org/schema/Brick#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rec: <https://w3id.org/rec#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

rec:ServiceObject a rdfs:Class,
        sh:NodeShape ;
    rdfs:label "Service object"^^xsd:string ;
    rdfs:subClassOf rec:Information ;
    sh:property [ a sh:PropertyShape ;
            sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:name "acknowledged time"^^xsd:string ;
            sh:path rec:acknowledgedTime ],
        [ a sh:PropertyShape ;
            sh:datatype xsd:string ;
            sh:in ( "Severe"^^xsd:string "Major"^^xsd:string "Minor"^^xsd:string ) ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:name "severity"^^xsd:string ;
            sh:path rec:severity ],
        [ a sh:PropertyShape ;
            sh:class rec:Agent ;
            sh:maxCount 1 ;
            sh:name "acknowledged by"^^xsd:string ;
            sh:nodeKind sh:IRI ;
            sh:path rec:acknowledgedBy ],
        [ a sh:PropertyShape ;
            sh:class rec:Agent ;
            sh:maxCount 1 ;
            sh:name "closed by"^^xsd:string ;
            sh:nodeKind sh:IRI ;
            sh:path rec:closedBy ],
        [ a sh:PropertyShape ;
            sh:class rec:Agent ;
            sh:maxCount 1 ;
            sh:name "created by"^^xsd:string ;
            sh:nodeKind sh:IRI ;
            sh:path rec:createdBy ],
        [ a sh:PropertyShape ;
            sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:name "created time"^^xsd:string ;
            sh:path rec:createdTime ],
        [ a sh:PropertyShape ;
            sh:minCount 1 ;
            sh:name "related to"^^xsd:string ;
            sh:nodeKind sh:IRI ;
            sh:path rec:relatedTo ],
        [ a sh:PropertyShape ;
            sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:name "closed time"^^xsd:string ;
            sh:path rec:closedTime ],
        [ a sh:PropertyShape ;
            sh:class brick:Point ;
            sh:name "produced by"^^xsd:string ;
            sh:nodeKind sh:IRI ;
            sh:path rec:producedBy ],
        [ a sh:PropertyShape ;
            sh:datatype xsd:string ;
            sh:in ( "Unacknowledged"^^xsd:string "Acknowledged"^^xsd:string "Closed"^^xsd:string ) ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:name "status"^^xsd:string ;
            sh:path rec:status ] .