brick:Usage_Sensor


URI

https://brickschema.org/schema/Brick#Usage_Sensor

Label

Usage Sensor

Description

Measures the amount of some substance that is consumed or used, over some period of time

Targets (1)

Property Constraints (1)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
brick:lastKnownValue last known value
The last known value of the Point entity
0 1 rec:DoubleValueObservation
sh:IRI

Implementation

@prefix brick: <https://brickschema.org/schema/Brick#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix qudtqk: <http://qudt.org/vocab/quantitykind/> .
@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 skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix tag: <https://brickschema.org/schema/BrickTag#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

brick:Usage_Sensor a owl:Class,
        sh:NodeShape ;
    rdfs:label "Usage Sensor"@en ;
    rdfs:subClassOf brick:Sensor ;
    skos:definition "Measures the amount of some substance that is consumed or used, over some period of time"@en ;
    sh:property [ a sh:PropertyShape ;
            sh:class rec:DoubleValueObservation ;
            sh:maxCount 1 ;
            sh:name "last known value" ;
            sh:nodeKind sh:IRI ;
            sh:path brick:lastKnownValue ] ;
    sh:rule [ a sh:TripleRule ;
            sh:object tag:Point ;
            sh:predicate brick:hasTag ;
            sh:subject sh:this ],
        [ a sh:TripleRule ;
            sh:object tag:Sensor ;
            sh:predicate brick:hasTag ;
            sh:subject sh:this ],
        [ a sh:TripleRule ;
            sh:object tag:Usage ;
            sh:predicate brick:hasTag ;
            sh:subject sh:this ] ;
    brick:hasAssociatedTag tag:Point,
        tag:Sensor,
        tag:Usage ;
    brick:hasQuantity qudtqk:Dimensionless .