Skip to content

Commit

Permalink
Merge pull request #59 from opendata-swiss/check_seeAlso_usage
Browse files Browse the repository at this point in the history
Check if publisher do not use seeAlso property anymore
  • Loading branch information
kovalch committed Apr 11, 2024
2 parents 2e6cf07 + cada048 commit 2359c5a
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions ogdch.shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -171,22 +171,13 @@
See https://handbook.opendata.swiss/de/content/glossar/bibliothek/dcat-ap-ch.html#dct-issued-dcat
"""@en ;
] ;
sh:property [
sh:path dcat:qualifiedRelation ; # optional property
sh:nodeKind sh:IRI ;
sh:property [
sh:path rdfs:seeAlso ; # deprecated property
sh:severity sh:Warning ;
sh:message """The qualified relation replaces the seeAlso property.
Please use dcat:qualifiedRelation instead rdfs:seeAlso.
sh:message """The seeAlso property is deprecated.
Please use dcat:qualifiedRelation instead of rdfs:seeAlso.
See https://handbook.opendata.swiss/de/content/glossar/bibliothek/dcat-ap-ch.html#dcat-qualifiedrelation-dcat
"""@en ;
sh:property [
sh:path dcat:Relationship ;
sh:nodeKind sh:BlankNode ;
sh:property [
sh:path dct:relation ;
sh:nodeKind sh:IRI ;
] ;
] ;
] ;
sh:property [
sh:path dcat:theme ; # conditional property
Expand Down

0 comments on commit 2359c5a

Please sign in to comment.