Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@fils
Created May 1, 2020 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fils/77d40a917a7af8020693678be30e87dd to your computer and use it in GitHub Desktop.
Save fils/77d40a917a7af8020693678be30e87dd to your computer and use it in GitHub Desktop.
@prefix dash: <http://datashapes.org/dash#> .
@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#> .
schema:TropicalShape
a sh:NodeShape ;
sh:targetClass <http://schema.org/GeoCoordinates> ;
sh:property [
sh:path schema:latitude ;
sh:or ( [ sh:datatype xsd:string ] [ sh:datatype xsd:integer ] ) ;
sh:minInclusive -23.5 ;
sh:maxInclusive 23.5 ;
] ;
sh:property [
sh:path schema:longitude ;
sh:or ( [ sh:datatype xsd:string ] [ sh:datatype xsd:integer ] ) ;
sh:minInclusive 0 ;
sh:maxInclusive 180 ;
] .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment