bsh:PhasesShape leaf node


URI

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

Label

PhasesShape

Superclasses (1)

Targets (1)

Property Constraints (1)

Focus nodes of this shape (bsh:PhasesShape) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
brick:value The basic value of an entity property 1 1
sh:in A, B, C, AB, BC, AC, ABC, A, B, C, AB, BC, AC, ABC

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 xsd: <http://www.w3.org/2001/XMLSchema#> .

bsh:PhasesShape a owl:Class,
        sh:NodeShape,
        brick:EntityPropertyValue ;
    rdfs:subClassOf bsh:ValueShape ;
    sh:property [ a sh:PropertyShape ;
            sh:in ( "A"^^xsd:string "B"^^xsd:string "C"^^xsd:string "AB"^^xsd:string "BC"^^xsd:string "AC"^^xsd:string "ABC"^^xsd:string "A" "B" "C" "AB" "BC" "AC" "ABC" ) ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path brick:value ] .