-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathReferenceShape.ttl
39 lines (34 loc) · 967 Bytes
/
ReferenceShape.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
@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 sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rami: <https://w3id.org/i40/rami#> .
<#ReferenceShape>
a sh:NodeShape ;
sh:targetClass rami:Reference ;
sh:property [
sh:path rdf:type ;
<<<<<<< HEAD
sh:minCount 1 ;
] ;
=======
sh:minCount 1 ; # redundant
] ;
sh:constraint [
sh:nodeKind rami:URI ;
sh:message "Each reference must be an URI."@en ;
] ;
>>>>>>> details_of_the_AAS_1.1
sh:property [
sh:path rami:key ;
sh:class rami:Key ;
sh:minCount 0 ;
sh:severity sh:violation ;
sh:message "a valid key property is necessary"@en ;
<<<<<<< HEAD
] ;
=======
] .
>>>>>>> details_of_the_AAS_1.1