-
Notifications
You must be signed in to change notification settings - Fork 0
/
shape.ttl
70 lines (60 loc) · 2.6 KB
/
shape.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
@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 dcatap: <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#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
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:or ( dcatap:Catalog_Shape dcatap:Dataset_Shape dcatap:Distribution_Shape dcatap:DataService_Shape dcatap:Agent_Shape dcatap:Kind_Shape dcatap:LicenseDocument_Shape ) .
dcatap: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 ;
sh:class vcard:Kind .
dcatap:LicenseDocument_Shape a sh:NodeShape ;
rdfs:label "LicenseDocument"@en ;
rdfs:comment "Placeholder shape for dcterms:LicenseDocument, currently not present in DCAT-AP v3 shapes" ;
sh:targetClass dcterms:LicenseDocument ;
sh:class dcterms:LicenseDocument .
dcatap:Catalog_Shape sh:class dcat:Catalog .
dcatap:Dataset_Shape sh:class dcat:Dataset .
dcatap:Distribution_Shape sh:class dcat:Distribution .
dcatap:DataService_Shape sh:class dcat:DataService .
dcatap:Agent_Shape sh:class foaf:Agent .