rescs:dash/geocoordinates/GeoCoordinatesShape leaf node


URI

http://rescs.org/dash/geocoordinates/GeoCoordinatesShape

Label

Geo coordinates

Description

The geographic coordinates of a place or event.

Target Classes (1)

Shape Properties

Instances of schema:GeoCoordinates can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

schema:GeoCoordinates
schema:latitude 1 1 xsd:float
schema:longitude 1 1 xsd:float
schema:Thing
schema:alternateName xsd:string
schema:description 1
schema:identifier 1
schema:image 1
schema:name 1 1 xsd:string
schema:sameAs
schema:url

Implementation

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <http://schema.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://rescs.org/dash/geocoordinates/GeoCoordinatesShape> a sh:NodeShape ;
    rdfs:label "Geo coordinates"^^xsd:string ;
    rdfs:comment "The geographic coordinates of a place or event."^^xsd:string ;
    sh:and ( [ sh:node <http://rescs.org/dash/structuredvalue/StructuredValueShape> ] [ sh:property [ sh:datatype xsd:float ;
                        sh:description "The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System))." ;
                        sh:maxCount 1 ;
                        sh:minCount 1 ;
                        sh:name "longitude" ;
                        sh:path schema:longitude ],
                    [ sh:datatype xsd:float ;
                        sh:description "The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System))." ;
                        sh:maxCount 1 ;
                        sh:minCount 1 ;
                        sh:name "latitude" ;
                        sh:path schema:latitude ] ] ) ;
    sh:targetClass schema:GeoCoordinates .