brick:Ethernet_Port leaf node


URI

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

Label

Ethernet Port

Targets (1)

Property Constraints (2)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
rec:poeType PoE Type
0 1 xsd:string
sh:in Type1, Type2, Type3, Type4
rec:portSpeed Port Speed
The data rate of the port in Mib/s, i.e. mebibit (2^20 bit) per second.
0 1 xsd:float

Implementation

@prefix brick: <https://brickschema.org/schema/Brick#> .
@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 rec: <https://w3id.org/rec#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix tag: <https://brickschema.org/schema/BrickTag#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

brick:Ethernet_Port a owl:Class,
        sh:NodeShape ;
    rdfs:label "Ethernet Port"@en ;
    rdfs:subClassOf brick:Data_Network_Equipment ;
    sh:property [ a sh:PropertyShape ;
            sh:datatype xsd:float ;
            sh:description "The data rate of the port in Mib/s, i.e. mebibit (2^20 bit) per second."^^xsd:string ;
            sh:maxCount 1 ;
            sh:name "Port Speed"^^xsd:string ;
            sh:path rec:portSpeed ],
        [ a sh:PropertyShape ;
            sh:datatype xsd:string ;
            sh:in ( "Type1"^^xsd:string "Type2"^^xsd:string "Type3"^^xsd:string "Type4"^^xsd:string ) ;
            sh:maxCount 1 ;
            sh:name "PoE Type"^^xsd:string ;
            sh:path rec:poeType ] ;
    sh:rule [ a sh:TripleRule ;
            sh:object tag:Equipment ;
            sh:predicate brick:hasTag ;
            sh:subject sh:this ],
        [ a sh:TripleRule ;
            sh:object tag:Ethernet ;
            sh:predicate brick:hasTag ;
            sh:subject sh:this ],
        [ a sh:TripleRule ;
            sh:object tag:Port ;
            sh:predicate brick:hasTag ;
            sh:subject sh:this ] ;
    brick:hasAssociatedTag tag:Equipment,
        tag:Ethernet,
        tag:Port .