Skip to content

Commit 68a6a3b

Browse files
authored
Merge pull request #125 from eScienceLab/124-merge-remaining-ttl-files-and-remove-residual-ttl-files
Finalised merging of files
2 parents 73a92db + ea4685c commit 68a6a3b

4 files changed

Lines changed: 36 additions & 102 deletions

File tree

rocrate_validator/profiles/five-safes-crate/must/0_workflow_run_inference.ttl renamed to rocrate_validator/profiles/five-safes-crate/0_workflow_run_inference.ttl

File renamed without changes.

rocrate_validator/profiles/five-safes-crate/1_responsible_project.ttl

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,39 @@ five-safes-crate:ResponsibleProjectMemberAndSourceOrganizationIntersection
101101
""" ;
102102
sh:message """At least one of the organisations that are members of the responsible project SHOULD be included in the Requesting Agent's affiliations, if such properties exist.""" ;
103103
] .
104+
105+
106+
#=== MAY shapes ===#
107+
108+
five-safes-crate:ResponsibleProject
109+
a sh:NodeShape ;
110+
sh:name "Responsible Project" ;
111+
sh:target [
112+
a sh:SPARQLTarget ;
113+
sh:prefixes ro-crate:sparqlPrefixes ;
114+
sh:select """
115+
SELECT DISTINCT ?this WHERE {
116+
?action a ro-crate:WorkflowRunAction ;
117+
schema:agent ?agent .
118+
?agent schema:memberOf ?this .
119+
}
120+
"""
121+
] ;
122+
123+
sh:property [
124+
a sh:PropertyShape ;
125+
sh:name "funding" ;
126+
sh:path schema:funding;
127+
sh:minCount 1 ;
128+
sh:severity sh:Info ;
129+
sh:message """The Responsible Project does not have the property `funding`.""" ;
130+
] ;
131+
132+
sh:property [
133+
a sh:PropertyShape ;
134+
sh:name "member" ;
135+
sh:path schema:member;
136+
sh:minCount 1 ;
137+
sh:severity sh:Info ;
138+
sh:message """The Responsible Project does not have the property `member`.""" ;
139+
] .

rocrate_validator/profiles/five-safes-crate/may/1_responsible_project.ttl

Lines changed: 0 additions & 56 deletions
This file was deleted.

rocrate_validator/profiles/five-safes-crate/should/1_requesting_agent.ttl

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)