-
Notifications
You must be signed in to change notification settings - Fork 16
/
dataset-request-message-shape.ttl
40 lines (35 loc) · 1.32 KB
/
dataset-request-message-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
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
@prefix cred: <https://www.w3.org/2018/credentials#> .
@prefix sec: <https://w3id.org/security#> .
@prefix dspace: <https://w3id.org/dspace/2024/1/> .
@prefix dspace_shapes: <https://w3id.org/dspace/shapes/2024/1/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
dspace_shapes:
a owl:Ontology ;
sh:declare [
sh:prefix "rdf" ;
sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#"^^xsd:anyURI ;
] ;
sh:declare [
sh:prefix "dspace" ;
sh:namespace "https://w3id.org/dspace/2024/1/"^^xsd:anyURI ;
] ;
.
dspace_shapes:DatasetRequestMessageShape
a sh:NodeShape ;
sh:targetClass dspace:DatasetRequestMessage ;
sh:property [
a sh:PropertyShape ;
sh:path dspace:dataset ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:severity sh:Violation ;
sh:message "<https://raw.githubusercontent.com/International-Data-Spaces-Association/ids-specification/master/schemas/dataset-request-message-shape.ttl> (DatasetRequestMessage): There must be exactly one dspace:dataset property."@en ;
] ;
.