-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshape.ttl
70 lines (68 loc) · 1.72 KB
/
shape.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
@prefix tree: <https://w3id.org/tree#>.
@prefix ldes: <https://w3id.org/ldes#>.
@prefix dc: <http://purl.org/dc/terms/>.
@prefix sh: <http://www.w3.org/ns/shacl#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix skos: <http://www.w3.org/2004/02/skos/core#>.
@prefix gsp: <http://www.opengis.net/ont/geosparql#>.
@prefix dcat: <http://www.w3.org/ns/dcat#>.
@prefix mr: <http://marineregions.org/ns/ontology#>.
@prefix schema: <https://schema.org/>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
<> a sh:NodeShape;
sh:nodeKind sh:IRI;
sh:property [
sh:datatype xsd:dateTime;
sh:minCount 0;
sh:path dc:modified;
], [
sh:minCount 1;
sh:nodeKind sh:IRI;
sh:path dc:isVersionOf;
], [ sh:path skos:note ], [ sh:path skos:historyNote ], [
sh:datatype gsp:wktLiteral;
sh:maxCount 1;
sh:minCount 0;
sh:path dcat:centroid;
], [
sh:datatype gsp:wktLiteral;
sh:maxCount 1;
sh:minCount 0;
sh:path dcat:bbox;
], [
sh:minCount 0;
sh:nodekind sh:IRI;
sh:path mr:hasGeometry;
], [
sh:minCount 0;
sh:node [
a sh:NodeShape;
sh:nodeKind sh:IRI;
sh:property [
sh:class schema:PropertyValue;
sh:maxCount 1;
sh:minCount 0;
sh:path schema:identifier;
], [
sh:maxCount 1;
sh:minCount 0;
sh:nodeKind sh:IRI;
sh:path schema:url;
];
];
sh:path skos:exactMatch;
], [
sh:datatype rdf:langString;
sh:minCount 0;
sh:path skos:prefLabel;
], [
sh:datatype rdf:langString;
sh:minCount 0;
sh:path skos:altLabel;
], [
sh:class mr:MRGeoObject;
sh:minCount 0;
sh:nodeKind sh:IRI;
sh:path mr:isRelatedTo;
];
sh:targetClass mr:MRGeoObject.