Skip to content

Commit

Permalink
fix: Keyword property prefix (#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeboer authored Jan 22, 2024
1 parent fbb89d0 commit 92915d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion shacl/register.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ dcat:DatasetShape
sh:message "Dataset kan een laatste wijzigingsdatum hebben"@nl, "Dataset should have a last modified date"@en ;
],
[
sh:path dc:keyword ;
sh:path dcat:keyword ;
sh:minCount 1 ;
sh:severity sh:Info ;
sh:message "Dataset kan trefwoorden hebben"@nl, "Dataset should have keywords"@en ;
Expand Down
2 changes: 1 addition & 1 deletion src/rate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const penalties = new Map([
[[dct('creator')], 10],
[[dct('created'), dct('issued')], 10],
[[dct('modified')], 5],
[[dct('keyword'), dct('spatial'), dct('temporal')], 5],
[[dcat('keyword'), dct('spatial'), dct('temporal')], 5],
[[dct('language')], 5],
]);

Expand Down
2 changes: 1 addition & 1 deletion test/datasets/dataset-dcat-valid.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@id": "http://data.bibliotheken.nl/id/dataset/rise-alba",
"dct:title": "Alba amicorum van de Koninklijke Bibliotheek",
"dct:description": "Just some dataset",
"dct:keyword": [
"dcat:keyword": [
"alba amicorum"
],
"dct:license": "http://creativecommons.org/publicdomain/zero/1.0/",
Expand Down

0 comments on commit 92915d8

Please sign in to comment.