@@ -42,12 +42,13 @@ databus:Version a owl:Class ;
4242 sh:property [
4343 sh:path [ sh:inversePath rdf:type ] ;
4444 sh:nodekind sh:IRI ;
45- sh:pattern "/[a-zA-Z0-9\\-_]{4,}/[a-zA-Z0-9\\-_\\.]{1,}/[a-zA-Z0-9\\-_\\.]{1,}/[a-zA-Z0-9\\-_\\.]{1, }$" ;
46- sh:message "IRI for databus:Version must match /USER/GROUP/ARTIFACT/VERSION , |USER|>3 "@en ;
45+ sh:pattern "^[\\w+.-]+:\\/\\/[\\w+.:-]+\\/[\\w+.-]{4,}(?:\\/[\\w+.-]{3,}){3,3 }$" ;
46+ sh:message "IRI for databus:Version must be a 4-segment URI and match ^[\\w+.-]+:\\/\\/[\\w+.:-]+\\/[\\w+.-]{4,}(?:\\/[\\w+.-]{3,}){3,3}$ "@en ;
4747 ] .
4848```
4949``` javascript
50- " Version" : " databus:Version"
50+ " Version" : " databus:Version" ,
51+ " Dataset" : " dcat:Dataset"
5152```
5253
5354## 1. General Metadata
@@ -296,7 +297,13 @@ prov:wasDerivedFrom a owl:ObjectProperty ;
296297
297298```
298299``` turtle
299-
300+ <#was-derived-from>
301+ a sh:PropertyShape ;
302+ sh:targetClass databus:Version ;
303+ sh:severity sh:Violation ;
304+ sh:message "Value of prov:wasDerivedFrom from must be a valid IRI."@en ;
305+ sh:path prov:wasDerivedFrom ;
306+ sh:nodeKind sh:IRI .
300307```
301308``` javascript
302309" wasDerivedFrom" : {
@@ -398,7 +405,7 @@ databus:group rdf:type owl:ObjectProperty ;
398405 a sh:NodeShape;
399406 sh:targetClass databus:Version ;
400407 sh:sparql [
401- sh:message "Dataset URI must contain the group URI of the associated group." ;
408+ sh:message "Version URI must contain the group URI of the associated group." ;
402409 sh:prefixes databus: ;
403410 sh:select """
404411 SELECT $this ?group
0 commit comments