brick:Sensor_Equipment


URI

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

Label

Sensor Equipment

Description

A piece of equipment for sensing some physical properties

Targets (1)

Property Constraints (2)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
rec:batteryPercentage Battery Percentage
0 * xsd:double
rec:wifiSignalStrength Wi-Fi Signal Strength
0 * xsd:double

Implementation

@prefix brick: <https://brickschema.org/schema/Brick#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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:Sensor_Equipment a owl:Class,
        sh:NodeShape ;
    rdfs:label "Sensor Equipment"@en ;
    rdfs:subClassOf brick:ICT_Equipment ;
    skos:definition "A piece of equipment for sensing some physical properties"@en ;
    sh:property [ a sh:PropertyShape ;
            sh:datatype xsd:double ;
            sh:name "Battery Percentage"^^xsd:string ;
            sh:path rec:batteryPercentage ],
        [ a sh:PropertyShape ;
            sh:datatype xsd:double ;
            sh:name "Wi-Fi Signal Strength"^^xsd:string ;
            sh:path rec:wifiSignalStrength ] ;
    sh:rule [ a sh:TripleRule ;
            sh:object tag:Equipment ;
            sh:predicate brick:hasTag ;
            sh:subject sh:this ],
        [ a sh:TripleRule ;
            sh:object tag:ICT ;
            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:Equipment,
        tag:ICT,
        tag:Sensor .