Skip to content

Commit 7ee8a1d

Browse files
committed
Renamed to
1 parent 08dd31e commit 7ee8a1d

16 files changed

Lines changed: 45 additions & 45 deletions

rocrate_validator/profiles/five-safes-crate/may/11_workflow_execution_phase.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ five-safes-crate:WorkflowexecutionObjectHasStartTimeIfBegun
3838
3939
SELECT ?this
4040
WHERE {
41-
?this a rocrate:WorkflowRun ;
41+
?this a rocrate:WorkflowRunAction ;
4242
schema:actionStatus ?status .
4343
FILTER(?status IN (
4444
"http://schema.org/CompletedActionStatus",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ five-safes-crate:ResponsibleProject
3030
sh:prefixes ro-crate:sparqlPrefixes ;
3131
sh:select """
3232
SELECT DISTINCT ?this WHERE {
33-
?action a ro-crate:WorkflowRun ;
33+
?action a ro-crate:WorkflowRunAction ;
3434
schema:agent ?agent .
3535
?agent schema:memberOf ?this .
3636
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ ro-crate:FindWorkflowRunAction a sh:NodeShape, validator:HiddenShape;
4343
a sh:TripleRule ;
4444
sh:subject sh:this ;
4545
sh:predicate rdf:type ;
46-
sh:object ro-crate:WorkflowRun ;
46+
sh:object ro-crate:WorkflowRunAction ;
4747
] .

rocrate_validator/profiles/five-safes-crate/must/11_workflow_execution_phase.ttl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
five-safes-crate:WorkflowMustHaveDescriptiveName
2727
a sh:NodeShape ;
2828
sh:name "WorkflowExecution" ;
29-
sh:targetClass ro-crate:WorkflowRun ;
29+
sh:targetClass ro-crate:WorkflowRunAction ;
3030

3131
sh:property [
3232
a sh:PropertyShape ;
@@ -44,7 +44,7 @@ five-safes-crate:WorkflowMustHaveDescriptiveName
4444
five-safes-crate:WorkflowMustHaveActionStatusWithAllowedValues
4545
a sh:NodeShape ;
4646
sh:name "WorkflowExecution" ;
47-
sh:targetClass ro-crate:WorkflowRun ;
47+
sh:targetClass ro-crate:WorkflowRunAction ;
4848
sh:property [
4949
a sh:PropertyShape ;
5050
sh:minCount 1 ;

rocrate_validator/profiles/five-safes-crate/must/7_requested_workflow_run.ttl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
2323

2424

25-
five-safes-crate:RootDataEntityMentionsWorkflowRun
25+
five-safes-crate:RootDataEntityMentionsWorkflowRunAction
2626
a sh:NodeShape ;
2727
sh:name "RootDataEntity" ;
2828
sh:targetClass ro-crate:RootDataEntity ;
@@ -33,29 +33,29 @@ five-safes-crate:RootDataEntityMentionsWorkflowRun
3333
sh:name "mentions" ;
3434
sh:path schema:mentions;
3535
sh:qualifiedValueShape [
36-
sh:class ro-crate:WorkflowRun ;
36+
sh:class ro-crate:WorkflowRunAction ;
3737
] ;
3838
sh:qualifiedMinCount 1 ;
3939
sh:severity sh:Violation ;
4040
sh:message "`RootDataEntity` MUST reference at least one `CreateAction` (corresponding to the workflow run) through `mentions`" ;
4141
] .
4242

4343

44-
five-safes-crate:WorkflowRunExistence
44+
five-safes-crate:WorkflowRunActionExistence
4545
a sh:NodeShape ;
4646
sh:name "RootDataEntity" ;
4747
sh:targetClass ro-crate:RootDataEntity ;
4848
sh:description "" ;
4949

5050
sh:sparql [
5151
a sh:SPARQLConstraint ;
52-
sh:name "WorkflowRun" ;
52+
sh:name "WorkflowRunAction" ;
5353
sh:prefixes ro-crate:sparqlPrefixes ;
5454
sh:select """
5555
SELECT $this
5656
WHERE {
5757
FILTER NOT EXISTS {
58-
?workflowRun a ro-crate:WorkflowRun .
58+
?workflowRunAction a ro-crate:WorkflowRunAction .
5959
}
6060
}
6161
""" ;
@@ -65,8 +65,8 @@ five-safes-crate:WorkflowRunExistence
6565

6666
five-safes-crate:WorkflowRunObject
6767
a sh:NodeShape ;
68-
sh:name "WorkflowRun" ;
69-
sh:targetClass ro-crate:WorkflowRun ;
68+
sh:name "WorkflowRunAction" ;
69+
sh:targetClass ro-crate:WorkflowRunAction ;
7070
sh:description "" ;
7171
sh:severity sh:Violation ; # Apply to all property shapes / constraints below
7272

rocrate_validator/profiles/five-safes-crate/ontology.ttl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# # # Classes
3232
# # #################################################################
3333

34-
# Declare a WorkflowRun class
35-
ro-crate:WorkflowRun rdf:type owl:Class ;
34+
# Declare a WorkflowRunAction class
35+
ro-crate:WorkflowRunAction rdf:type owl:Class ;
3636
rdfs:subClassOf schema:CreateAction ;
37-
rdfs:label "WorkflowRun"@en .
37+
rdfs:label "WorkflowRunAction"@en .

rocrate_validator/profiles/five-safes-crate/should/10_outputs.ttl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@
2222
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
2323

2424

25-
five-safes-crate:WorkflowRunHasResultIfActionCompleted
25+
five-safes-crate:WorkflowRunActionHasResultIfActionCompleted
2626
a sh:NodeShape ;
27-
sh:name "WorkflowRun" ;
27+
sh:name "WorkflowRunAction" ;
2828
sh:description "The `CreateAction` corresponding to the workflow run, with CompletedActionStatus, SHOULD have the `schema:result` property." ;
2929

3030
sh:target [
3131
a sh:SPARQLTarget ;
32-
sh:name "WorkflowRun" ;
32+
sh:name "WorkflowRunAction" ;
3333
sh:description "The `CreateAction` corresponding to the workflow run, with CompletedActionStatus, SHOULD have the `result` property." ;
3434
sh:prefixes ro-crate:sparqlPrefixes ;
3535
sh:select """
3636
SELECT ?this WHERE {
37-
?this a ro-crate:WorkflowRun ;
37+
?this a ro-crate:WorkflowRunAction ;
3838
schema:actionStatus "http://schema.org/CompletedActionStatus" .
3939
}
4040
"""
@@ -51,7 +51,7 @@ five-safes-crate:WorkflowRunHasResultIfActionCompleted
5151
] .
5252

5353

54-
five-safes-crate:WorkflowRunResultOutputsHaveAllowedTypes
54+
five-safes-crate:WorkflowRunActionResultOutputsHaveAllowedTypes
5555
a sh:NodeShape ;
5656
sh:name "Output" ;
5757
sh:description "Result SHOULD have a `@type` among an allowed set of values." ;
@@ -61,8 +61,8 @@ five-safes-crate:WorkflowRunResultOutputsHaveAllowedTypes
6161
sh:select """
6262
SELECT ?this
6363
WHERE {
64-
?workflowRun a ro-crate:WorkflowRun .
65-
?workflowRun schema:result ?this .
64+
?workflowRunAction a ro-crate:WorkflowRunAction .
65+
?workflowRunAction schema:result ?this .
6666
}
6767
""" ;
6868
] ;

rocrate_validator/profiles/five-safes-crate/should/11_workflow_execution_phase.ttl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ five-safes-crate:RootDataEntityShouldMentionWorkflow
3939
4040
FILTER NOT EXISTS {
4141
$this schema:mentions ?workflowExecution .
42-
?workflowExecution a rocrate:WorkflowRun .
42+
?workflowExecution a rocrate:WorkflowRunAction .
4343
}
4444
}
4545
""" ;
@@ -62,7 +62,7 @@ five-safes-crate:WorkflowexecutionObjectHasEndTimeIfEnded
6262
6363
SELECT ?this
6464
WHERE {
65-
?this a rocrate:WorkflowRun ;
65+
?this a rocrate:WorkflowRunAction ;
6666
schema:actionStatus ?status .
6767
FILTER(?status IN (
6868
"http://schema.org/CompletedActionStatus",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ five-safes-crate:AgentIsMemberOf
3030
sh:prefixes ro-crate:sparqlPrefixes ;
3131
sh:select """
3232
SELECT DISTINCT ?this WHERE {
33-
?action a rocrate:WorkflowRun ;
33+
?action a rocrate:WorkflowRunAction ;
3434
schema:agent ?this .
3535
}
3636
"""

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ five-safes-crate:ResponsibleProjectMemberAndSourceOrganizationIntersection
3333
sh:prefixes ro-crate:sparqlPrefixes ;
3434
sh:select """
3535
SELECT DISTINCT ?this WHERE {
36-
?action a ro-crate:WorkflowRun ;
36+
?action a ro-crate:WorkflowRunAction ;
3737
schema:agent ?this .
3838
?this a schema:Person ;
3939
schema:memberOf ?project ;

0 commit comments

Comments
 (0)