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 schema1:GeoCoordinates can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

schema1:GeoCoordinates
schema1:latitude 1 1 xsd:float
schema1:longitude 1 1 xsd:float
schema1:Thing
schema1:alternateName xsd:string
schema1:description 1
schema1:identifier 1
schema1:image 1
schema1:name 1 1 xsd:string
schema1:sameAs
schema1: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 schema1: <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 schema1: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 schema1:latitude ] ] ) ;
    sh:targetClass schema1:GeoCoordinates .