-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathshapes.shapes.ttl
82 lines (78 loc) · 2.15 KB
/
shapes.shapes.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
70
71
72
73
74
75
76
77
78
79
80
81
# baseURI: http://example.org/unnamed
# imports: http://datashapes.org/dash
# imports: http://purl.org/dc/terms/
# imports: http://www.w3.org/2004/02/skos/core
# prefix: unnamed
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX unnamed: <http://example.org/unnamed#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
unnamed:Collection
a
rdfs:Class ,
sh:NodeShape ;
rdfs:label "Collection" ;
rdfs:subClassOf rdfs:Resource ;
sh:property
[
a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "description" ;
sh:path dcterms:description
] ,
[
a sh:PropertyShape ;
sh:minCount 1 ;
sh:name "member" ;
sh:nodeKind sh:IRI ;
sh:path skos:member
] ,
[
a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "pref label" ;
sh:path skos:prefLabel
] ;
sh:targetClass skos:Collection ;
.
unnamed:Concept
a
rdfs:Class ,
sh:NodeShape ;
rdfs:label "Concept" ;
rdfs:subClassOf rdfs:Resource ;
sh:property
[
a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "definition" ;
sh:path skos:definition ;
sh:severity sh:Warning
] ,
[
a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "pref label" ;
sh:path skos:prefLabel
] ;
sh:targetClass skos:Concept ;
.
<http://example.org/unnamed>
a owl:Ontology ;
owl:imports
<http://datashapes.org/dash> ,
dcterms: ,
<http://www.w3.org/2004/02/skos/core> ;
owl:versionInfo "Created with TopBraid Composer" ;
.