Skip to content

Commit 725ed50

Browse files
committed
removed obsolete code from flattened 11_workflow_execution_phase.ttl
1 parent c06c93f commit 725ed50

1 file changed

Lines changed: 1 addition & 26 deletions

File tree

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

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ five-safes-crate:WorkflowMustHaveDescriptiveName
3333
sh:property [
3434
a sh:PropertyShape ;
3535
sh:name "name" ;
36-
sh:minCount 1 ;
36+
sh:minCount 1 ;
3737
sh:description "The `CreateAction` corresponding to the workflow run MUST have a name string of at least 10 characters." ;
3838
sh:path schema:name ;
3939
sh:datatype xsd:string ;
@@ -66,31 +66,6 @@ five-safes-crate:WorkflowMustHaveActionStatusWithAllowedValues
6666

6767
#=== SHOULD shapes ===#
6868

69-
five-safes-crate:RootDataEntityShouldMentionWorkflow
70-
a sh:NodeShape ;
71-
sh:name "RootDataEntity" ;
72-
sh:description "RootDataEntity SHOULD mention workflow execution object (typed WorkflowRunAction)." ;
73-
sh:targetClass ro-crate:RootDataEntity ;
74-
sh:severity sh:Warning ;
75-
76-
sh:sparql [
77-
a sh:SPARQLConstraint ;
78-
sh:name "mentions" ;
79-
sh:select """
80-
PREFIX schema: <http://schema.org/>
81-
PREFIX rocrate: <https://github.com/crs4/rocrate-validator/profiles/ro-crate/>
82-
SELECT $this
83-
WHERE {
84-
FILTER NOT EXISTS {
85-
$this schema:mentions ?workflowExecution .
86-
?workflowExecution a rocrate:WorkflowRunAction .
87-
}
88-
}
89-
""" ;
90-
sh:message "RootDataEntity SHOULD mention workflow execution object (typed WorkflowRunAction)." ;
91-
] .
92-
93-
9469
five-safes-crate:WorkflowexecutionObjectHasEndTimeIfEnded
9570
a sh:NodeShape ;
9671
sh:name "WorkflowExecution" ;

0 commit comments

Comments
 (0)