Created
May 1, 2020 12:11
-
-
Save fils/77d40a917a7af8020693678be30e87dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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