bsh:OneLastKnownValuePerEntity leaf node


URI

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

Label

OneLastKnownValuePerEntity

Targets (1)

Property Constraints (1)

Focus nodes of this shape (brick:lastKnownValue) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
brick:lastKnownValue The last known value of the Point entity
sh:message Only one last known value per entity is allowed
0 1

Implementation

@prefix brick: <https://brickschema.org/schema/Brick#> .
@prefix bsh: <https://brickschema.org/schema/BrickShape#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

bsh:OneLastKnownValuePerEntity a sh:NodeShape ;
    sh:property [ sh:maxCount 1 ;
            sh:message "Only one last known value per entity is allowed" ;
            sh:path brick:lastKnownValue ] ;
    sh:targetSubjectsOf brick:lastKnownValue .