bsh:LastKnownIntegerShape leaf node


URI

https://brickschema.org/schema/BrickShape#LastKnownIntegerShape

Label

LastKnownIntegerShape

Targets (1)

Property Constraints (2)

Focus nodes of this shape (bsh:LastKnownIntegerShape) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
brick:timestamp timestamp
1 1 xsd:dateTime
brick:value value
The basic value of an entity property
1 1 xsd:integer

Implementation

@prefix brick: <https://brickschema.org/schema/Brick#> .
@prefix bsh: <https://brickschema.org/schema/BrickShape#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

bsh:LastKnownIntegerShape a owl:Class,
        sh:NodeShape ;
    rdfs:subClassOf bsh:LastKnownValueShape ;
    sh:property [ a sh:PropertyShape ;
            sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:name "timestamp" ;
            sh:path brick:timestamp ],
        [ a sh:PropertyShape ;
            sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:name "value" ;
            sh:path brick:value ] .