bsh:PrecipitationQuantityShape leaf node


URI

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

Label

PrecipitationQuantityShape

Superclasses (1)

Usage

Instances of bsh:PrecipitationQuantityShape can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE

Property Shapes

By the associated SHACL property shapes, instances of bsh:PrecipitationQuantityShape can have the following properties:

PROPERTY PROPERTY TYPE DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS GLOBAL RANGE
bsh:PrecipitationQuantityShape
brick:hasUnit owl:ObjectProperty The QUDT unit associated with this Brick entity (usually a Brick Point instance or Entity Property) 1 1
sh:in unit:MicroM, unit:YD, unit:M, unit:KiloM, unit:IN, unit:CentiM, unit:DeciM, unit:MilliM, unit:FT
--
brick:value owl:ObjectProperty The basic value of an entity property 1 1
sh:or ( xsd:float | xsd:decimal | xsd:integer | xsd:double )
--

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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix unit: <http://qudt.org/vocab/unit/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

bsh:PrecipitationQuantityShape a owl:Class,
        sh:NodeShape,
        brick:EntityPropertyValue ;
    rdfs:subClassOf bsh:ValueShape ;
    sh:property [ a sh:PropertyShape ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:or bsh:NumericValue ;
            sh:path brick:value ],
        [ a sh:PropertyShape ;
            sh:in ( unit:MicroM unit:YD unit:M unit:KiloM unit:IN unit:CentiM unit:DeciM unit:MilliM unit:FT ) ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path brick:hasUnit ] .