rec:Point leaf node


URI

https://w3id.org/rec#Point

Label

Point

Superclasses (2)

Targets (1)

Property Constraints (1)

Focus nodes of this shape (rec:Point) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
rec:coordinates coordinates
A GeoJSON Point coordinate listing. Coordinate may be expressed in two or three dimensions. Ex: [30.0, 10.0, 0.0].
0 1 https://geojson.org/Point

Implementation

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

rec:Point a rdfs:Class,
        sh:NodeShape ;
    rdfs:label "Point"^^xsd:string ;
    rdfs:subClassOf rec:Geometry ;
    sh:property [ a sh:PropertyShape ;
            sh:datatype <https://geojson.org/Point> ;
            sh:description "A GeoJSON Point coordinate listing. Coordinate may be expressed in two or three dimensions. Ex: [30.0, 10.0, 0.0]."^^xsd:string ;
            sh:maxCount 1 ;
            sh:name "coordinates"^^xsd:string ;
            sh:path rec:coordinates ] .