You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sh:name "Organizations (members of Responsible Project)" ;
28
+
sh:description """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.""" ;
29
+
sh:target [
30
+
a sh:SPARQLTarget ;
31
+
sh:prefixes ro-crate:sparqlPrefixes ;
32
+
sh:select """
33
+
SELECT DISTINCT ?this WHERE {
34
+
?action a schema:CreateAction ;
35
+
schema:agent ?this .
36
+
?this a schema:Person ;
37
+
schema:memberOf ?project ;
38
+
schema:affiliation ?someAffiliation .
39
+
?project schema:member ?org2 .
40
+
}
41
+
"""
42
+
] ;
43
+
sh:sparql [
44
+
a sh:SPARQLConstraint ;
45
+
sh:name "Intersection with agent affiliations" ;
46
+
sh:description """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.""" ;
47
+
48
+
sh:prefixes ro-crate:sparqlPrefixes ;
49
+
sh:select """
50
+
SELECT $this WHERE {
51
+
FILTER NOT EXISTS {
52
+
$this schema:affiliation ?org .
53
+
$this schema:memberOf ?project .
54
+
?project schema:member ?org .
55
+
}
56
+
}
57
+
""" ;
58
+
sh:severity sh:Warning ;
59
+
sh:message """At least one of the organisations that are members of the responsible project SHOULD be included in the Requesting Agent's affiliations.""" ;
0 commit comments