@@ -66,28 +66,32 @@ five-safes-crate:CreateActionHasAgent
6666
6767# === SHOULD shapes ===#
6868
69- # Person who is the agent of a CreateAction SHOULD have an affiliation
69+ # Person who is the agent of a WorkflowRunAction SHOULD have an affiliation
7070five-safes-crate:PersonAgentHasAffiliation
71- a sh:NodeShape ;
72- sh:name " Agent of CreateAction " ;
73- sh:description " The agent of a CreateAction entity" ;
74- sh:target [
75- a sh:SPARQLTarget ;
76- sh:prefixes ro-crate:sparqlPrefixes ;
77- sh:select """
78- SELECT DISTINCT ?this WHERE {
79- ?action a schema:CreateAction ;
80- schema:agent ?this .
81- }
82- """
83- ] ;
71+ a sh:NodeShape ;
72+ sh:name " Agent of WorkflowRunAction " ;
73+ sh:description " The agent of a WorkflowRunAction entity" ;
74+ sh:target [
75+ a sh:SPARQLTarget ;
76+ sh:prefixes ro-crate:sparqlPrefixes ;
77+ sh:select """
78+ SELECT DISTINCT ?this WHERE {
79+ ?action a ro-crate:WorkflowRunAction ;
80+ schema:agent ?this .
81+ }
82+ """
83+ ] ;
8484
85- # The agent of a CreateAction entity SHOULD have an affiliation
86- sh:property [
87- a sh:PropertyShape ;
88- sh:name " Presence of affiliations" ;
89- sh:path schema:affiliation ;
90- sh:minCount 1 ;
91- sh:severity sh:Warning ;
92- sh:message " The agent of a CreateAction entity SHOULD have an affiliation" ;
93- ] .
85+ # The agent of the `CreateAction` corresponding to the workflowrunAction SHOULD have an affiliation
86+ sh:property [
87+ a sh:PropertyShape ;
88+ sh:name " Presence of affiliations" ;
89+ sh:path schema:affiliation ;
90+ sh:minCount 1 ;
91+ sh:severity sh:Warning ;
92+ sh:message " The agent of the `CreateAction` corresponding to the workflow run SHOULD have an affiliation" ;
93+ ] .
94+
95+
96+ # === MAY shapes ===#
97+ # (none)
0 commit comments