forked from crs4/rocrate-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1_wroc_crate.ttl
More file actions
62 lines (59 loc) · 2.71 KB
/
1_wroc_crate.ttl
File metadata and controls
62 lines (59 loc) · 2.71 KB
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
# Copyright (c) 2024-2026 CRS4
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
@prefix ro: <./> .
@prefix ro-crate: <https://github.com/crs4/rocrate-validator/profiles/ro-crate/> .
@prefix workflow-ro-crate: <https://github.com/crs4/rocrate-validator/profiles/workflow-ro-crate/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix bioschemas: <https://bioschemas.org/> .
@prefix schema: <http://schema.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
workflow-ro-crate:DescriptorProperties a sh:NodeShape ;
sh:name "WROC Metadata File Descriptor properties" ;
sh:description "Properties of the WROC Metadata File Descriptor" ;
sh:targetNode ro:ro-crate-metadata.json ;
sh:property [
a sh:propertyShape ;
sh:name "Metadata File Descriptor conformsTo" ;
sh:description "The Metadata File Descriptor conformsTo SHOULD contain https://w3id.org/ro/crate/1.1 and https://w3id.org/workflowhub/workflow-ro-crate/1.0" ;
sh:path dct:conformsTo ;
sh:hasValue <https://w3id.org/ro/crate/1.1> ,
<https://w3id.org/workflowhub/workflow-ro-crate/1.0> ;
sh:minCount 1 ;
sh:message "The Metadata File Descriptor conformsTo SHOULD contain https://w3id.org/ro/crate/1.1 and https://w3id.org/workflowhub/workflow-ro-crate/1.0" ;
sh:severity sh:Warning;
] .
workflow-ro-crate:FindReadme a sh:NodeShape ;
sh:name "README.md properties" ;
sh:description "README file for the Workflow RO-Crate" ;
sh:targetNode ro:README.md ;
sh:property [
a sh:PropertyShape ;
sh:name "README.md about" ;
sh:description "The README.md SHOULD be about the crate" ;
sh:path schema:about ;
sh:class ro-crate:RootDataEntity ;
sh:minCount 1 ;
sh:message "The README.md SHOULD be about the crate" ;
sh:severity sh:Warning;
] ;
sh:property [
a sh:PropertyShape ;
sh:name "README.md encodingFormat" ;
sh:description "The README.md SHOULD have text/markdown as its encodingFormat" ;
sh:path schema:encodingFormat ;
sh:hasValue "text/markdown" ;
sh:minCount 1 ;
sh:message "The README.md SHOULD have text/markdown as its encodingFormat" ;
sh:severity sh:Warning;
] .