Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@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
You can’t perform that action at this time.