-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofileguard.ttl
More file actions
100 lines (85 loc) · 3.07 KB
/
profileguard.ttl
File metadata and controls
100 lines (85 loc) · 3.07 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# W3C Shapes Constraint Language (SHACL) Vocabulary
# Version from 2017-07-20
@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#> .
# @todo Get namespace from OP?
@prefix pg: <http://data.europa.eu/semic/ns/profileguard#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
pg:
a owl:Ontology ;
rdfs:label "SEMIC ProfileGuard Vocabulary"@en ;
rdfs:comment "This vocabulary defines terms used in PG."@en ;
sh:declare [
sh:prefix "pg" ;
sh:namespace "http://data.europa.eu/semic/ns/profileguard#" ;
] ;
# @todo Should resolve!
sh:suggestedShapesGraph <http://data.europa.eu/semic/ns/profileguard#> .
# Shapes vocabulary -----------------------------------------------------------
pg:Shape
a rdfs:Class ;
rdfs:label "Shape"@en ;
rdfs:comment "A shape is a collection of constraints that may be targeted for certain nodes."@en ;
rdfs:subClassOf sh:Shape ;
rdfs:isDefinedBy pg: .
pg:NodeShape
a rdfs:Class ;
rdfs:label "Node shape"@en ;
rdfs:comment "A node shape is a shape that specifies constraint that need to be met with respect to focus nodes."@en ;
rdfs:subClassOf sh:NodeShape ;
rdfs:isDefinedBy pg: .
pg:PropertyShape
a rdfs:Class ;
rdfs:label "Property shape"@en ;
rdfs:comment "A property shape is a shape that specifies constraints on the values of a focus node for a given property or path."@en ;
rdfs:subClassOf sh:PropertyShape ;
rdfs:isDefinedBy pg: .
pg:properyShapeByTargetAndPathAndPredicate
a rdfs:Class ;
rdfs:subClassOf sh:Shape ;
rdfs:label "Constraint component"@en ;
rdfs:comment "The class of constraint components."@en ;
rdfs:isDefinedBy pg: .
pg:properyShapeByTargetAndPathAndPredicateRequired
a rdfs:Class ;
rdfs:subClassOf sh:Shape ;
rdfs:label "Constraint component"@en ;
rdfs:comment "The class of constraint components."@en ;
rdfs:isDefinedBy pg: .
pg:hasTargetClass
a rdf:Property ;
rdfs:label "hasTargetClass"@en ;
rdfs:comment "The taget class."@en ;
rdfs:domain sh:properyShapeByTargetAndPathAndPredicate ;
rdfs:range rdfs:Class ;
rdfs:isDefinedBy pg: .
pg:hasPath
a rdf:Property ;
rdfs:label "hasPath"@en ;
rdfs:comment "The path."@en ;
rdfs:domain sh:properyShapeByTargetAndPathAndPredicate ;
rdfs:range rdfs:Property ;
rdfs:isDefinedBy pg: .
pg:hasPredicate
a rdf:Property ;
rdfs:label "hasPredicate"@en ;
rdfs:comment "The predicate target."@en ;
rdfs:domain sh:properyShapeByTargetAndPathAndPredicate ;
rdfs:range rdfs:Property ;
rdfs:isDefinedBy pg: .
pg:hasIdentifier
a rdf:Property ;
rdfs:label "hasIdentifier"@en ;
rdfs:comment "A unique ID to find back the right PropertyShape in case of missing property errors."@en ;
rdfs:domain pg:PropertyShape ;
rdfs:range rdfs:Property ;
rdfs:isDefinedBy pg: .
pg:requiredpropertynotfound
a rdf:Property ;
rdfs:label "Required property not found"@en ;
rdfs:comment "Indicated a mandatory property is missing in the derived AP."@en ;
rdfs:domain pg:PropertyShape ;
rdfs:range rdfs:Property ;
rdfs:isDefinedBy pg: .