-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Testing reveals some unexpected behaviour for SHACL VocPub 5.1.x validator. "vocPubInvalid_idDefinedBy.ttl" is attached for testing.
Steps
- Data to validate > Upload > "vocPubInvalid_idDefinedBy.ttl"
- SHACL Shapes > Use Validators > VocPub > Add > 5.1.x validator > close
- SHACL Shapes > Validate
Validation results throw 9 results: 4 violations, 5 warnings, 0 informations (screenshot attached)
Issues:
a. For http://linked.data.gov.au/def/data-access-rights/closed-access-rights, a violation is thrown and is about skos:inScheme. Requirement 2.2.3 states that a skos:Collection "SHOULD indicate that it is within the vocabulary by use of the skos:inScheme predicate" - not "MUST". A warning may be more appropriate here.
b. For http://linked.data.gov.au/def/data-access-rights/open-access-rights, a violation is thrown and is about rdfs:isDefinedBy. Requirement 2.2.3 states that a skos:Collection should indicate with rdfs:isDefinedBy predicate "If it is defined for the first time in the vocabulary". This requirement is conditional. A warning or perhaps an Information may be more appropriate here.