Skip to content

VocPub SHACL warning for schema.license #10

@leskneebone

Description

@leskneebone

VocPub 5.1 SHACL validator shows the following warning for "testLicenseWarning.ttl" attached:

For https://linked.data.gov.au/def/data-roles:

Requirement 2.1.13 Any licence pertaining to the reuse of a vocabulary's content SHOULD be given using the schema:license predicate preferentially indicating the IRI of a license if in RDF form or a literal URL (datatype xsd:anyURI) if online but not in RDF form. If the licence is expressed in test, a literal text field may be indicated

a bit of testing indicates that the warning is probably because the Creative Commons license is stated as a literal, not as an IRI. The warning goes away when changing it to an IRI reference. It probably should be stated as an IRI - but that's not the problem here - the requirement allows either IRI, literal or a "text field".(VocPub could probably suggest which text field property - also another matter).

So perhaps ignoring the text field issue for now, propose updating the SHACL to accept literal values with datatype xsd:anyURI for schema.license without warning.

testLicenseWarning.ttl.zip

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions