bsh:CoordinateShape leaf node


URI

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

Label

CoordinateShape

Superclasses (1)

Shapes (1)

Usage

Instances of bsh:CoordinateShape can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE

Property Shapes

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

PROPERTY PROPERTY TYPE DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS GLOBAL RANGE
bsh:CoordinateShape
brick:latitude owl:DatatypeProperty 1 *
sh:or ( xsd:float | xsd:decimal | xsd:integer | xsd:double )
--
brick:longitude owl:DatatypeProperty 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 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:CoordinateShape a owl:Class,
        sh:NodeShape,
        brick:EntityPropertyValue ;
    rdfs:subClassOf bsh:ValueShape ;
    sh:property [ a sh:PropertyShape ;
            sh:minCount 1 ;
            sh:or bsh:NumericValue ;
            sh:path brick:latitude ],
        [ a sh:PropertyShape ;
            sh:minCount 1 ;
            sh:or bsh:NumericValue ;
            sh:path brick:longitude ] .