brick:Generation_Sensor


URI

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

Label

Generation Sensor

Description

A sensor measuring how much something has been generated.

Targets (1)

Property Constraints (1)

Focus nodes of this shape (brick:Generation_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:Generation_Sensor a owl:Class,
        sh:NodeShape ;
    rdfs:label "Generation Sensor"@en ;
    rdfs:subClassOf brick:Sensor ;
    skos:definition "A sensor measuring how much something has been generated."@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:Generation ;
            sh:predicate brick:hasTag ;
            sh:subject sh:this ],
        [ 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 ] ;
    brick:hasAssociatedTag tag:Generation,
        tag:Point,
        tag:Sensor ;
    brick:hasQuantity qudtqk:Dimensionless .