Skip to content

Commit 86282f3

Browse files
committed
feat: Initial profile.ttl for Five Safes spec
Addresses #8
1 parent 8aa0cce commit 86282f3

File tree

1 file changed

+78
-0
lines changed
  • rocrate_validator/profiles/five-safes-ro-crate

1 file changed

+78
-0
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# Copyright (c) 2025 eScience Lab, The University of Manchester
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
@prefix dct: <http://purl.org/dc/terms/> .
16+
@prefix prof: <http://www.w3.org/ns/dx/prof/> .
17+
@prefix role: <http://www.w3.org/ns/dx/prof/role/> .
18+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
19+
20+
<https://w3id.org/5s-crate/0.4>
21+
a prof:Profile ;
22+
23+
# the Profile's label
24+
rdfs:label "Five Safes RO-Crate 0.4" ;
25+
26+
# regular metadata, a basic description of the Profile
27+
rdfs:comment """Five Safes RO-Crate Metadata Specification 0.4"""@en ;
28+
29+
# URI of the publisher of the Metadata Specification
30+
dct:publisher <https://trefx.uk> ;
31+
32+
# This profile is an extension of Workflow Run Crate for use in Trusted Research Environments (TRE)
33+
prof:isProfileOf <https://w3id.org/ro/wfrun/workflow/0.5> ;
34+
35+
# This profile is a transitive profile of Process Run Crate, Workflow RO-Crate and the RO-Crate Metadata Specification
36+
prof:isTransitiveProfileOf <https://w3id.org/ro/crate/1.1> ,
37+
<https://w3id.org/ro/wfrun/process/0.5> ,
38+
<https://w3id.org/workflowhub/workflow-ro-crate/1.0>;
39+
40+
# this profile has a JSON-LD context resource
41+
prof:hasResource [
42+
a prof:ResourceDescriptor ;
43+
44+
# it's in JSON-LD format
45+
dct:format <https://w3id.org/mediatype/application/ld+json> ;
46+
47+
# it conforms to JSON-LD, here refered to by its namespace URI as a Profile
48+
dct:conformsTo <https://www.w3.org/TR/json-ld11/> ;
49+
50+
# this profile resource plays the role of "Vocabulary"
51+
# described in this ontology's accompanying Roles vocabulary
52+
prof:hasRole role:Vocabulary ;
53+
54+
# this profile resource's actual file
55+
prof:hasArtifact <https://w3id.org/ro/terms/workflow-run/context> ;
56+
] ;
57+
58+
# this profile has a human-readable documentation resource
59+
prof:hasResource [
60+
a prof:ResourceDescriptor ;
61+
62+
# it's in HTML format
63+
dct:format <https://w3id.org/mediatype/text/html> ;
64+
65+
# it conforms to HTML, here refered to by its namespace URI as a Profile
66+
dct:conformsTo <https://www.w3.org/TR/html/> ;
67+
68+
# this profile resource plays the role of "Specification"
69+
# described in this ontology's accompanying Roles vocabulary
70+
prof:hasRole role:Specification ;
71+
72+
# this profile resource's actual file
73+
prof:hasArtifact <https://www.researchobject.org/ro-crate/specification/1.2-DRAFT/index.html> ;
74+
] ;
75+
76+
# a short code to refer to the Profile with when a URI can't be used
77+
prof:hasToken "five-safes-ro-crate" ;
78+
.

0 commit comments

Comments
 (0)