-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
@prefix dcatapfeeds: <https://semiceu.github.io/LDES-DCAT-AP-Feeds/shape.ttl#> . | ||
@prefix sh: <http://www.w3.org/ns/shacl#> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix tree: <https://w3id.org/tree#> . | ||
@prefix as: <https://www.w3.org/ns/activitystreams#> . | ||
@prefix : <http://data.europa.eu/r5r/shacl_shapes#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> . | ||
|
||
dcatapfeeds: owl:imports <https://semiceu.github.io/DCAT-AP/releases/3.0.0/html/shacl/shapes.ttl> . | ||
|
||
dcatapfeeds:ActivityShape a sh:NodeShape ; | ||
sh:xone ( dcatapfeeds:UpsertShape dcatapfeeds:DeleteShape ) . | ||
|
||
dcatapfeeds:UpsertShape a sh:NodeShape ; | ||
sh:closed true ; | ||
sh:ignoredProperties (rdf:type) ; | ||
sh:targetClass as:Create, as:Update ; | ||
sh:property [ | ||
sh:path as:object ; | ||
sh:node dcatapfeeds:EntityShape ; | ||
sh:minCount 1 ; | ||
sh:maxCount 1 ; | ||
] ; | ||
sh:property dcatapfeeds:PublishedPropertyShape . | ||
|
||
dcatapfeeds:DeleteShape a sh:NodeShape ; | ||
sh:closed true ; | ||
sh:ignoredProperties (rdf:type) ; | ||
sh:targetClass as:Delete ; | ||
sh:property [ | ||
sh:path as:object ; | ||
sh:nodeKind sh:IRI ; | ||
sh:minCount 1 ; | ||
sh:maxCount 1 ; | ||
] ; | ||
sh:property dcatapfeeds:PublishedPropertyShape . | ||
|
||
dcatapfeeds:PublishedPropertyShape a sh:PropertyShape ; | ||
sh:path as:published ; | ||
sh:datatype xsd:dateTime ; | ||
sh:minCount 0 ; | ||
sh:maxCount 1 . | ||
|
||
|
||
dcatapfeeds:EntityShape a sh:NodeShape ; | ||
sh:xone ( :Catalog_Shape :Dataset_Shape :Distribution_Shape :DataService_Shape :Agent_Shape :Kind_Shape :LicenseDocument_Shape ) . | ||
|
||
:Kind_Shape a sh:NodeShape ; | ||
rdfs:label "Kind"@en ; | ||
rdfs:comment “Placeholder shape for vcard:Kind, currently not present in DCAT-AP v3 shapes” ; | ||
sh:targetClass vcard:Kind . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters