oldaplib 0.2.8__py3-none-any.whl → 0.2.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oldaplib/ontologies/oldap.trig +54 -13
- oldaplib/ontologies/shared.trig +10 -10
- oldaplib/src/connection.py +5 -4
- oldaplib/src/datamodel.py +3 -3
- oldaplib/src/enums/owlpropertytype.py +2 -0
- oldaplib/src/enums/propertyclassattr.py +1 -1
- oldaplib/src/propertyclass.py +39 -9
- oldaplib/src/resourceclass.py +3 -3
- oldaplib/src/version.py +1 -1
- oldaplib/test/test_connection.py +1 -1
- oldaplib/test/test_datamodel.py +10 -2
- oldaplib/test/test_propertyclass.py +34 -2
- oldaplib/testdata/connection_test.trig +17 -17
- oldaplib/testdata/datamodel_test.trig +1 -1
- oldaplib/testdata/objectfactory_test.trig +18 -18
- {oldaplib-0.2.8.dist-info → oldaplib-0.2.10.dist-info}/METADATA +1 -1
- {oldaplib-0.2.8.dist-info → oldaplib-0.2.10.dist-info}/RECORD +18 -18
- {oldaplib-0.2.8.dist-info → oldaplib-0.2.10.dist-info}/WHEEL +0 -0
oldaplib/ontologies/oldap.trig
CHANGED
|
@@ -14,7 +14,21 @@
|
|
|
14
14
|
|
|
15
15
|
:shacl {
|
|
16
16
|
|
|
17
|
-
:shapes
|
|
17
|
+
:shapes schema:version "0.1.0"^^xsd:string .
|
|
18
|
+
|
|
19
|
+
#
|
|
20
|
+
# Here we add some SHACL definition in order to indicate that a property is a "statement property"
|
|
21
|
+
# for RDF*star statements about statements.
|
|
22
|
+
#
|
|
23
|
+
:statementProperty a sh:Property ;
|
|
24
|
+
sh:annotationProperty :statementProperty .
|
|
25
|
+
|
|
26
|
+
:statementPropertyShape
|
|
27
|
+
a sh:PropertyShape ;
|
|
28
|
+
sh:path :statementProperty ;
|
|
29
|
+
sh:datatype xsd:boolean ;
|
|
30
|
+
sh:minCount 0 ;
|
|
31
|
+
sh:maxCount 1 .
|
|
18
32
|
|
|
19
33
|
#
|
|
20
34
|
# Define a SHACL property group for all system properties. This info can be used to hide these properties from
|
|
@@ -32,7 +46,7 @@
|
|
|
32
46
|
#
|
|
33
47
|
:AdminPermissionShape a sh:NodeShape, :AdminPermission ;
|
|
34
48
|
sh:targetClass :AdminPermission ;
|
|
35
|
-
|
|
49
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
36
50
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
37
51
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
38
52
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -46,9 +60,13 @@
|
|
|
46
60
|
sh:property rdfs:labelShape ;
|
|
47
61
|
sh:property rdfs:commentShape .
|
|
48
62
|
|
|
63
|
+
:hasAdminPermissionShape a sh:PropertyShape ;
|
|
64
|
+
sh:path :hasAdminPermission ;
|
|
65
|
+
sh:class :AdminPermission .
|
|
66
|
+
|
|
49
67
|
:DataPermissionShape a sh:NodeShape, :DataPermission ;
|
|
50
68
|
sh:targetClass :DataPermission ;
|
|
51
|
-
|
|
69
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
52
70
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
53
71
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
54
72
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -80,7 +98,7 @@
|
|
|
80
98
|
#
|
|
81
99
|
:PermissionSetShape a sh:NodeShape, :PermissionSet ;
|
|
82
100
|
sh:targetClass :PermissionSet ;
|
|
83
|
-
|
|
101
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
84
102
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
85
103
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
86
104
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -114,7 +132,7 @@
|
|
|
114
132
|
sh:property
|
|
115
133
|
[
|
|
116
134
|
sh:path :givesPermission ;
|
|
117
|
-
|
|
135
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
118
136
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
119
137
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
120
138
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -135,7 +153,7 @@
|
|
|
135
153
|
sh:property
|
|
136
154
|
[
|
|
137
155
|
sh:path :definedByProject ;
|
|
138
|
-
|
|
156
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
139
157
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
140
158
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
141
159
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -158,7 +176,7 @@
|
|
|
158
176
|
#
|
|
159
177
|
:ProjectShape a sh:NodeShape, :Project ;
|
|
160
178
|
sh:targetClass :Project ;
|
|
161
|
-
|
|
179
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
162
180
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
163
181
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
164
182
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -195,7 +213,7 @@
|
|
|
195
213
|
sh:property
|
|
196
214
|
[
|
|
197
215
|
sh:path :projectShortName ;
|
|
198
|
-
|
|
216
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
199
217
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
200
218
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
201
219
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -210,7 +228,7 @@
|
|
|
210
228
|
sh:property
|
|
211
229
|
[
|
|
212
230
|
sh:path :namespaceIri ;
|
|
213
|
-
|
|
231
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
214
232
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
215
233
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
216
234
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -225,7 +243,7 @@
|
|
|
225
243
|
sh:property
|
|
226
244
|
[
|
|
227
245
|
sh:path :projectStart ;
|
|
228
|
-
|
|
246
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
229
247
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
230
248
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
231
249
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -240,7 +258,7 @@
|
|
|
240
258
|
sh:property
|
|
241
259
|
[
|
|
242
260
|
sh:path :projectEnd ;
|
|
243
|
-
|
|
261
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
244
262
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
245
263
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
246
264
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -258,7 +276,7 @@
|
|
|
258
276
|
#
|
|
259
277
|
:UserShape a sh:NodeShape, :User ;
|
|
260
278
|
sh:targetClass :User ;
|
|
261
|
-
|
|
279
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
262
280
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
263
281
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
264
282
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -336,6 +354,7 @@
|
|
|
336
354
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
337
355
|
dcterms:modified "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
338
356
|
sh:class :Project ;
|
|
357
|
+
:statementShape :inProjectStatementShape ;
|
|
339
358
|
] ;
|
|
340
359
|
sh:property
|
|
341
360
|
[
|
|
@@ -359,6 +378,13 @@
|
|
|
359
378
|
] ;
|
|
360
379
|
sh:closed true .
|
|
361
380
|
|
|
381
|
+
:inProjectStatementShape a sh:NodeShape ;
|
|
382
|
+
sh:property
|
|
383
|
+
[
|
|
384
|
+
sh:path :hasAdminPermission ;
|
|
385
|
+
sh:class :AdminPermission ;
|
|
386
|
+
] .
|
|
387
|
+
|
|
362
388
|
#
|
|
363
389
|
# Hierarchical lists are implemented using :List's and :ListNodes. We will use some skos vocabulary
|
|
364
390
|
#
|
|
@@ -695,11 +721,26 @@
|
|
|
695
721
|
owl:versionInfo "0.1.0"^^xsd:string ;
|
|
696
722
|
owl:imports <http://www.w3.org/2004/02/skos/core>, <http://purl.org/dc/terms/> .
|
|
697
723
|
|
|
724
|
+
###############################################################################
|
|
725
|
+
# Extension (non-standard) for RDF*star
|
|
726
|
+
###############################################################################
|
|
727
|
+
:statementShape a owl:ObjectProperty ;
|
|
728
|
+
rdfs:label "statement shape for RDF-star annotation"@en ;
|
|
729
|
+
rdfs:comment "Links a sh:PropertyShape to a sh:NodeShape that constrains annotations on <<S P O>>."@en ;
|
|
730
|
+
rdfs:domain sh:PropertyShape ;
|
|
731
|
+
rdfs:range sh:NodeShape .
|
|
732
|
+
|
|
733
|
+
:statementProperty a owl:DatatypeProperty ;
|
|
734
|
+
rdfs:domain sh:PropertyShape ;
|
|
735
|
+
rdfs:range xsd:boolean ;
|
|
736
|
+
rdfs:label "Statement property flag"@en ;
|
|
737
|
+
rdfs:comment "Indicates whether the SHACL property is used as a statement-level (RDF-star) annotation property."@en .
|
|
698
738
|
|
|
699
739
|
###############################################################################
|
|
700
740
|
# Standard Properties that are used everywhere
|
|
701
741
|
###############################################################################
|
|
702
|
-
|
|
742
|
+
:hasAdminPermission a owl:ObjectProperty ;
|
|
743
|
+
rdfs:range :AdminPermission .
|
|
703
744
|
|
|
704
745
|
###############################################################################
|
|
705
746
|
# Properties that are used by skos,
|
oldaplib/ontologies/shared.trig
CHANGED
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
@prefix : <http://oldap.org/shared#> .
|
|
16
16
|
|
|
17
17
|
shared:shacl {
|
|
18
|
-
shared:shapes
|
|
18
|
+
shared:shapes schema:version "0.1.0"^^xsd:string .
|
|
19
19
|
|
|
20
20
|
#
|
|
21
21
|
# Define the SHACL for OLAPDLIB's use of rdfs:label
|
|
22
22
|
#
|
|
23
23
|
rdfs:labelShape a sh:PropertyShape ;
|
|
24
24
|
sh:path rdfs:label ;
|
|
25
|
-
|
|
25
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
26
26
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
27
27
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
28
28
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -38,7 +38,7 @@ shared:shacl {
|
|
|
38
38
|
#
|
|
39
39
|
rdfs:commentShape a sh:PropertyShape ;
|
|
40
40
|
sh:path rdfs:comment ;
|
|
41
|
-
|
|
41
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
42
42
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
43
43
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
44
44
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -55,7 +55,7 @@ shared:shacl {
|
|
|
55
55
|
|
|
56
56
|
dcterms:descriptionShape a sh:PropertyShape ;
|
|
57
57
|
sh:path dcterms:description ;
|
|
58
|
-
|
|
58
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
59
59
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
60
60
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
61
61
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -69,7 +69,7 @@ shared:shacl {
|
|
|
69
69
|
|
|
70
70
|
dcterms:rightsShape a sh:PropertyShape ;
|
|
71
71
|
sh:path dcterms:rights ;
|
|
72
|
-
|
|
72
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
73
73
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
74
74
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
75
75
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -83,7 +83,7 @@ shared:shacl {
|
|
|
83
83
|
|
|
84
84
|
dcterms:abstractShape a sh:PropertyShape ;
|
|
85
85
|
sh:path dcterms:abstract ;
|
|
86
|
-
|
|
86
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
87
87
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
88
88
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
89
89
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -99,7 +99,7 @@ shared:shacl {
|
|
|
99
99
|
|
|
100
100
|
dcterms:accessRightsShape a sh:PropertyShape ;
|
|
101
101
|
sh:path dcterms:accessRights ;
|
|
102
|
-
|
|
102
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
103
103
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
104
104
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
105
105
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -119,7 +119,7 @@ shared:shacl {
|
|
|
119
119
|
#
|
|
120
120
|
dcterms:creatorShape a sh:PropertyShape ;
|
|
121
121
|
sh:path dcterms:creator ;
|
|
122
|
-
|
|
122
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
123
123
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
124
124
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
125
125
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -131,7 +131,7 @@ shared:shacl {
|
|
|
131
131
|
#
|
|
132
132
|
dcterms:createdShape a sh:PropertyShape ;
|
|
133
133
|
sh:path dcterms:created ;
|
|
134
|
-
|
|
134
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
135
135
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
136
136
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
137
137
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -143,7 +143,7 @@ shared:shacl {
|
|
|
143
143
|
#
|
|
144
144
|
dcterms:contributorShape a sh:PropertyShape ;
|
|
145
145
|
sh:path dcterms:contributor ;
|
|
146
|
-
|
|
146
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
147
147
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
148
148
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
149
149
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
oldaplib/src/connection.py
CHANGED
|
@@ -96,7 +96,7 @@ class Connection(IConnection):
|
|
|
96
96
|
_query_url: str
|
|
97
97
|
_update_url: str
|
|
98
98
|
_transaction_url: Optional[str]
|
|
99
|
-
__jwtkey: str
|
|
99
|
+
__jwtkey: str
|
|
100
100
|
_switcher = {
|
|
101
101
|
SparqlResultFormat.XML: lambda a: a.text,
|
|
102
102
|
SparqlResultFormat.JSON: lambda a: a.json(),
|
|
@@ -140,6 +140,7 @@ class Connection(IConnection):
|
|
|
140
140
|
in specific scenarios.
|
|
141
141
|
"""
|
|
142
142
|
super().__init__(context_name=context_name)
|
|
143
|
+
self.__jwtkey = os.getenv("OLDAP_JWT_SECRET", "You have to change this!!! +D&RWG+")
|
|
143
144
|
self._server = server or os.getenv("OLDAP_TS_SERVER", "http://localhost:7200")
|
|
144
145
|
self._repo = repo or os.getenv("OLDAP_TS_REPO", "oldap")
|
|
145
146
|
self._dbuser = dbuser or os.getenv("OLDAP_TS_USER", "")
|
|
@@ -153,7 +154,7 @@ class Connection(IConnection):
|
|
|
153
154
|
context = Context(name=context_name)
|
|
154
155
|
if token is not None:
|
|
155
156
|
try:
|
|
156
|
-
payload = jwt.decode(jwt=token, key=
|
|
157
|
+
payload = jwt.decode(jwt=token, key=self.__jwtkey, algorithms="HS256")
|
|
157
158
|
except InvalidTokenError:
|
|
158
159
|
logger.error("Connection with invalid token")
|
|
159
160
|
raise OldapError("Wrong credentials")
|
|
@@ -206,7 +207,7 @@ class Connection(IConnection):
|
|
|
206
207
|
}
|
|
207
208
|
self._token = jwt.encode(
|
|
208
209
|
payload=payload,
|
|
209
|
-
key=
|
|
210
|
+
key=self.__jwtkey,
|
|
210
211
|
algorithm="HS256")
|
|
211
212
|
#
|
|
212
213
|
# Get projects and add to Context
|
|
@@ -250,7 +251,7 @@ class Connection(IConnection):
|
|
|
250
251
|
@property
|
|
251
252
|
def jwtkey(self) -> str:
|
|
252
253
|
"""Getter for the JWT token"""
|
|
253
|
-
return
|
|
254
|
+
return self.__jwtkey
|
|
254
255
|
|
|
255
256
|
@property
|
|
256
257
|
def server(self) -> str:
|
oldaplib/src/datamodel.py
CHANGED
|
@@ -372,7 +372,7 @@ class DataModel(Model):
|
|
|
372
372
|
SELECT ?version
|
|
373
373
|
FROM {cls.__graph}:shacl
|
|
374
374
|
WHERE {{
|
|
375
|
-
{cls.__graph}:shapes
|
|
375
|
+
{cls.__graph}:shapes schema:version ?version .
|
|
376
376
|
}}
|
|
377
377
|
"""
|
|
378
378
|
jsonobj = con.query(query)
|
|
@@ -490,7 +490,7 @@ class DataModel(Model):
|
|
|
490
490
|
|
|
491
491
|
sparql += f'{blank:{indent * indent_inc}}INSERT DATA {{\n'
|
|
492
492
|
sparql += f'{blank:{(indent + 1) * indent_inc}}GRAPH {self.__graph}:shacl {{\n'
|
|
493
|
-
sparql += f'{blank:{(indent + 2) * indent_inc}}{self.__graph}:shapes
|
|
493
|
+
sparql += f'{blank:{(indent + 2) * indent_inc}}{self.__graph}:shapes schema:version {self.__version.toRdf} .\n'
|
|
494
494
|
sparql += '\n'
|
|
495
495
|
|
|
496
496
|
for propiri, propclass in self.__propclasses.items():
|
|
@@ -644,7 +644,7 @@ class DataModel(Model):
|
|
|
644
644
|
f.write('\n')
|
|
645
645
|
f.write(context.turtle_context)
|
|
646
646
|
f.write(f'\n{blank:{indent * indent_inc}}{self.__graph}:shacl {{\n')
|
|
647
|
-
f.write(f'{blank:{(indent + 2) * indent_inc}}{self.__graph}:shapes
|
|
647
|
+
f.write(f'{blank:{(indent + 2) * indent_inc}}{self.__graph}:shapes schema:version {self.__version.toRdf} .\n')
|
|
648
648
|
f.write('\n')
|
|
649
649
|
for iri, prop in self.__propclasses.items():
|
|
650
650
|
if not prop.internal:
|
|
@@ -8,9 +8,11 @@ from oldaplib.src.helpers.serializer import serializer
|
|
|
8
8
|
class OwlPropertyType(Enum):
|
|
9
9
|
"""
|
|
10
10
|
Enumeration of the two types of RDF properties that OWL distinguishes
|
|
11
|
+
NOTE:
|
|
11
12
|
"""
|
|
12
13
|
OwlDataProperty = 'owl:DatatypeProperty'
|
|
13
14
|
OwlObjectProperty = 'owl:ObjectProperty'
|
|
15
|
+
StatementProperty = 'rdf:Property'
|
|
14
16
|
|
|
15
17
|
@property
|
|
16
18
|
def toRdf(self):
|
|
@@ -36,7 +36,7 @@ class PropClassAttr(AttributeClass):
|
|
|
36
36
|
"""
|
|
37
37
|
# order: (QName, mandatory, immutable, datatype)
|
|
38
38
|
SUBPROPERTY_OF = ('rdfs:subPropertyOf', False, False, Iri)
|
|
39
|
-
TYPE = ('rdf:type', False,
|
|
39
|
+
TYPE = ('rdf:type', False, True, OwlPropertyType)
|
|
40
40
|
CLASS = ('sh:class', False, False, Iri)
|
|
41
41
|
DATATYPE = ('sh:datatype', False, False, XsdDatatypes)
|
|
42
42
|
NAME = ('sh:name', False, False, LangString) # needs notifier
|
oldaplib/src/propertyclass.py
CHANGED
|
@@ -165,6 +165,7 @@ class PropertyClass(Model, Notify):
|
|
|
165
165
|
_projectShortName: Xsd_NCName
|
|
166
166
|
_projectIri: Iri
|
|
167
167
|
_property_class_iri: Iri | None
|
|
168
|
+
_statementProperty: bool
|
|
168
169
|
_internal: Iri | None
|
|
169
170
|
_force_external: bool
|
|
170
171
|
#_attributes: PropClassAttrContainer
|
|
@@ -194,6 +195,7 @@ class PropertyClass(Model, Notify):
|
|
|
194
195
|
property_class_iri: Iri | str | None = None,
|
|
195
196
|
notifier: Callable[[PropClassAttr], None] | None = None,
|
|
196
197
|
notify_data: PropClassAttr | None = None,
|
|
198
|
+
statement_property: bool = False,
|
|
197
199
|
_internal: Iri | None = None, # DO NOT USE!! Only for serialization!
|
|
198
200
|
_force_external: bool | None = None, # DO NOT USE!! Only for serialization!
|
|
199
201
|
_from_triplestore: bool = False,
|
|
@@ -234,6 +236,7 @@ class PropertyClass(Model, Notify):
|
|
|
234
236
|
validate=validate)
|
|
235
237
|
Notify.__init__(self, notifier, notify_data)
|
|
236
238
|
|
|
239
|
+
self._statementProperty = statement_property
|
|
237
240
|
if not isinstance(project, Project):
|
|
238
241
|
if not isinstance(project, (Iri, Xsd_NCName)):
|
|
239
242
|
project = IriOrNCName(project, validate=validate)
|
|
@@ -290,12 +293,15 @@ class PropertyClass(Model, Notify):
|
|
|
290
293
|
raise OldapErrorInconsistency(f'It\'s not possible to use both DATATYPE="{self._attributes[PropClassAttr.DATATYPE]}" and CLASS={self._attributes[PropClassAttr.CLASS]} restrictions.')
|
|
291
294
|
|
|
292
295
|
# setting property type for OWL which distinguished between Data- and Object-properties
|
|
293
|
-
if self.
|
|
294
|
-
self._attributes[PropClassAttr.TYPE] = OwlPropertyType.
|
|
295
|
-
if self._attributes.get(PropClassAttr.DATATYPE) is not None:
|
|
296
|
-
raise OldapError(f'Datatype "{self._attributes.get(PropClassAttr.DATATYPE)}" not possible for OwlObjectProperty')
|
|
296
|
+
if self._statementProperty:
|
|
297
|
+
self._attributes[PropClassAttr.TYPE] = OwlPropertyType.StatementProperty
|
|
297
298
|
else:
|
|
298
|
-
self._attributes
|
|
299
|
+
if self._attributes.get(PropClassAttr.CLASS) is not None:
|
|
300
|
+
self._attributes[PropClassAttr.TYPE] = OwlPropertyType.OwlObjectProperty
|
|
301
|
+
if self._attributes.get(PropClassAttr.DATATYPE) is not None:
|
|
302
|
+
raise OldapError(f'Datatype "{self._attributes.get(PropClassAttr.DATATYPE)}" not possible for OwlObjectProperty')
|
|
303
|
+
else:
|
|
304
|
+
self._attributes[PropClassAttr.TYPE] = OwlPropertyType.OwlDataProperty
|
|
299
305
|
|
|
300
306
|
#
|
|
301
307
|
# set the class properties
|
|
@@ -468,6 +474,7 @@ class PropertyClass(Model, Notify):
|
|
|
468
474
|
notifier=self._notifier,
|
|
469
475
|
data=deepcopy(self._notify_data, memo))
|
|
470
476
|
# Copy internals of Model:
|
|
477
|
+
instance._statementProperty = deepcopy(self._statementProperty, memo)
|
|
471
478
|
instance._attributes = deepcopy(self._attributes, memo)
|
|
472
479
|
instance._changset = deepcopy(self._changeset, memo)
|
|
473
480
|
# Copy remaining PropertyClass attributes
|
|
@@ -528,6 +535,15 @@ class PropertyClass(Model, Notify):
|
|
|
528
535
|
"""
|
|
529
536
|
return self._internal
|
|
530
537
|
|
|
538
|
+
@property
|
|
539
|
+
def statementProperty(self) -> bool:
|
|
540
|
+
"""
|
|
541
|
+
Return the statementProperty
|
|
542
|
+
:return: statementProperty
|
|
543
|
+
:rtype: bool
|
|
544
|
+
"""
|
|
545
|
+
return self._statementProperty
|
|
546
|
+
|
|
531
547
|
def force_external(self) -> None:
|
|
532
548
|
"""
|
|
533
549
|
Ensures that the property is created as a standalone property not tied to any resource.
|
|
@@ -712,11 +728,11 @@ class PropertyClass(Model, Notify):
|
|
|
712
728
|
self._property_class_iri = val
|
|
713
729
|
else:
|
|
714
730
|
raise OldapError(f'Inconsistency in SHACL "sh:path" of "{self._property_class_iri}" ->"{val}"')
|
|
715
|
-
elif key == '
|
|
731
|
+
elif key == 'schema:version':
|
|
716
732
|
if isinstance(val, Xsd_string):
|
|
717
733
|
self.__version = SemanticVersion.fromString(str(val))
|
|
718
734
|
else:
|
|
719
|
-
raise OldapError(f'Inconsistency in SHACL "
|
|
735
|
+
raise OldapError(f'Inconsistency in SHACL "schema:version"')
|
|
720
736
|
elif key == 'dcterms:creator':
|
|
721
737
|
if isinstance(val, Iri):
|
|
722
738
|
self._creator = val
|
|
@@ -737,6 +753,11 @@ class PropertyClass(Model, Notify):
|
|
|
737
753
|
self._modified = val
|
|
738
754
|
else:
|
|
739
755
|
raise OldapError(f'Inconsistency in SHACL "dcterms:modified"')
|
|
756
|
+
elif key == 'oldap:statementProperty':
|
|
757
|
+
if isinstance(val, Xsd_boolean):
|
|
758
|
+
self._statementProperty = val
|
|
759
|
+
else:
|
|
760
|
+
raise OldapError(f'Inconsistency in SHACL "oldap:statementProperty (type={type(val)}"')
|
|
740
761
|
elif key == 'sh:node':
|
|
741
762
|
if str(val).endswith("Shape"):
|
|
742
763
|
refprop = Iri(str(val)[:-5], validate=False)
|
|
@@ -806,6 +827,8 @@ class PropertyClass(Model, Notify):
|
|
|
806
827
|
self._attributes[PropClassAttr.TYPE] = OwlPropertyType.OwlDataProperty
|
|
807
828
|
elif obj == 'owl:ObjectProperty':
|
|
808
829
|
self._attributes[PropClassAttr.TYPE] = OwlPropertyType.OwlObjectProperty
|
|
830
|
+
elif obj == 'rdf:Property':
|
|
831
|
+
self._attributes[PropClassAttr.TYPE] = OwlPropertyType.StatementProperty
|
|
809
832
|
case 'owl:subPropertyOf':
|
|
810
833
|
self._attributes[PropClassAttr.SUBPROPERTY_OF] = obj
|
|
811
834
|
case 'rdfs:range':
|
|
@@ -832,6 +855,12 @@ class PropertyClass(Model, Notify):
|
|
|
832
855
|
#
|
|
833
856
|
# Consistency checks
|
|
834
857
|
#
|
|
858
|
+
if self._statementProperty:
|
|
859
|
+
if self._attributes.get(PropClassAttr.TYPE) != OwlPropertyType.StatementProperty:
|
|
860
|
+
raise OldapErrorInconsistency(f'Property "{self._property_class_iri}" is a statementProperty, but not an StatementProperty.')
|
|
861
|
+
else:
|
|
862
|
+
if self._attributes.get(PropClassAttr.TYPE) == OwlPropertyType.StatementProperty:
|
|
863
|
+
raise OldapErrorInconsistency(f'Property "{self._property_class_iri}" is not a statementProperty, but an StatementProperty.')
|
|
835
864
|
if self._attributes[PropClassAttr.TYPE] == OwlPropertyType.OwlDataProperty:
|
|
836
865
|
if not datatype:
|
|
837
866
|
raise OldapError(f'OwlDataProperty "{self._property_class_iri}" has no rdfs:range datatype defined!')
|
|
@@ -946,11 +975,13 @@ class PropertyClass(Model, Notify):
|
|
|
946
975
|
sparql += f'\n{blank:{(indent + 1) * indent_inc}} {bnode} sh:path {self._property_class_iri.toRdf}'
|
|
947
976
|
else:
|
|
948
977
|
sparql += f'\n{blank:{(indent + 1) * indent_inc}}sh:path {self._property_class_iri.toRdf}'
|
|
949
|
-
sparql += f' ;\n{blank:{(indent + 1) * indent_inc}}
|
|
978
|
+
sparql += f' ;\n{blank:{(indent + 1) * indent_inc}}schema:version {self.__version.toRdf}'
|
|
950
979
|
sparql += f' ;\n{blank:{(indent + 1) * indent_inc}}dcterms:creator {self._con.userIri.toRdf}'
|
|
951
980
|
sparql += f' ;\n{blank:{(indent + 1) * indent_inc}}dcterms:created {timestamp.toRdf}'
|
|
952
981
|
sparql += f' ;\n{blank:{(indent + 1) * indent_inc}}dcterms:contributor {self._con.userIri.toRdf}'
|
|
953
982
|
sparql += f' ;\n{blank:{(indent + 1) * indent_inc}}dcterms:modified {timestamp.toRdf}'
|
|
983
|
+
if self._statementProperty:
|
|
984
|
+
sparql += f' ;\n{blank:{(indent + 1) * indent_inc}}oldap:statementProperty true'
|
|
954
985
|
for prop, value in self._attributes.items():
|
|
955
986
|
if prop == PropClassAttr.TYPE:
|
|
956
987
|
continue
|
|
@@ -1114,7 +1145,6 @@ class PropertyClass(Model, Notify):
|
|
|
1114
1145
|
try:
|
|
1115
1146
|
self._con.transaction_update(sparql)
|
|
1116
1147
|
except OldapError as err:
|
|
1117
|
-
print(sparql)
|
|
1118
1148
|
self._con.transaction_abort()
|
|
1119
1149
|
raise
|
|
1120
1150
|
try:
|
oldaplib/src/resourceclass.py
CHANGED
|
@@ -719,7 +719,7 @@ class ResourceClass(Model, Notify):
|
|
|
719
719
|
for key, val in attributes.items():
|
|
720
720
|
if key == 'sh:targetClass':
|
|
721
721
|
continue
|
|
722
|
-
if key == '
|
|
722
|
+
if key == 'schema:version':
|
|
723
723
|
self.__version = SemanticVersion.fromString(val[0])
|
|
724
724
|
elif key == 'dcterms:creator':
|
|
725
725
|
self._creator = val[0]
|
|
@@ -1095,7 +1095,7 @@ class ResourceClass(Model, Notify):
|
|
|
1095
1095
|
sparql = ''
|
|
1096
1096
|
sparql += f'{blank:{(indent + 1)*indent_inc}}{self._owlclass_iri}Shape a sh:NodeShape, {self._owlclass_iri.toRdf}'
|
|
1097
1097
|
sparql += f' ;\n{blank:{(indent + 2) * indent_inc}}sh:targetClass {self._owlclass_iri.toRdf}'
|
|
1098
|
-
sparql += f' ;\n{blank:{(indent + 2) * indent_inc}}
|
|
1098
|
+
sparql += f' ;\n{blank:{(indent + 2) * indent_inc}}schema:version {self.__version.toRdf}'
|
|
1099
1099
|
self._created = timestamp
|
|
1100
1100
|
sparql += f' ;\n{blank:{(indent + 2) * indent_inc}}dcterms:created {timestamp.toRdf}'
|
|
1101
1101
|
sparql += f' ;\n{blank:{(indent + 2) * indent_inc}}dcterms:creator {self._creator.toRdf}'
|
|
@@ -1158,7 +1158,7 @@ class ResourceClass(Model, Notify):
|
|
|
1158
1158
|
sparql += hp.prop.create_owl_part1(timestamp, indent + 2) + '\n'
|
|
1159
1159
|
|
|
1160
1160
|
sparql += f'{blank:{(indent + 2) * indent_inc}}{self._owlclass_iri} rdf:type owl:Class ;\n'
|
|
1161
|
-
sparql += f'{blank:{(indent + 3) * indent_inc}}
|
|
1161
|
+
sparql += f'{blank:{(indent + 3) * indent_inc}}schema:version {self.__version.toRdf} ;\n'
|
|
1162
1162
|
sparql += f'{blank:{(indent + 3) * indent_inc}}dcterms:created {timestamp.toRdf} ;\n'
|
|
1163
1163
|
sparql += f'{blank:{(indent + 3) * indent_inc}}dcterms:creator {self._creator.toRdf} ;\n'
|
|
1164
1164
|
sparql += f'{blank:{(indent + 3) * indent_inc}}dcterms:modified {timestamp.toRdf} ;\n'
|
oldaplib/src/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.2.
|
|
1
|
+
__version__ = "0.2.10"
|
oldaplib/test/test_connection.py
CHANGED
|
@@ -177,7 +177,7 @@ class TestBasicConnection(unittest.TestCase):
|
|
|
177
177
|
Iri("sh:property"): Xsd_QName("test:testShape"),
|
|
178
178
|
Iri("sh:closed"): Xsd_boolean(True),
|
|
179
179
|
Iri("sh:targetClass"): Xsd_QName("test:testMyRes"),
|
|
180
|
-
Iri("
|
|
180
|
+
Iri("schema:version"): '1.0.0',
|
|
181
181
|
Iri("dcterms:creator"): Iri("https://orcid.org/0000-0003-1681-4036"),
|
|
182
182
|
Iri("dcterms:created"): Xsd_dateTime(datetime(2023, 11, 4, 12, 0, tzinfo=timezone.utc)),
|
|
183
183
|
Iri("dcterms:contributor"): Iri("https://orcid.org/0000-0003-1681-4036"),
|
oldaplib/test/test_datamodel.py
CHANGED
|
@@ -48,6 +48,7 @@ class TestDataModel(unittest.TestCase):
|
|
|
48
48
|
_project: Project
|
|
49
49
|
_dmproject: Project
|
|
50
50
|
_sysproject: Project
|
|
51
|
+
_sharedproject: Project
|
|
51
52
|
|
|
52
53
|
@classmethod
|
|
53
54
|
def setUp(cls):
|
|
@@ -114,6 +115,7 @@ class TestDataModel(unittest.TestCase):
|
|
|
114
115
|
cls._dmprojectH = Project.read(cls._connection, "dmtestH", ignore_cache=True)
|
|
115
116
|
cls._dmprojectI = Project.read(cls._connection, "dmtestI", ignore_cache=True)
|
|
116
117
|
cls._sysproject = Project.read(cls._connection, "oldap", ignore_cache=True)
|
|
118
|
+
cls._sharedproject = Project.read(cls._connection, "shared", ignore_cache=True)
|
|
117
119
|
|
|
118
120
|
|
|
119
121
|
def tearDown(self):
|
|
@@ -380,7 +382,9 @@ class TestDataModel(unittest.TestCase):
|
|
|
380
382
|
Iri("dcterms:accessRights"),
|
|
381
383
|
Iri("schema:givenName"),
|
|
382
384
|
Iri("schema:familyName"),
|
|
383
|
-
Iri("schema:email")
|
|
385
|
+
Iri("schema:email"),
|
|
386
|
+
Iri("oldap:hasAdminPermission"),
|
|
387
|
+
Iri("oldap:statementProperty")
|
|
384
388
|
})
|
|
385
389
|
self.assertEqual(set(model.get_resclasses()), {
|
|
386
390
|
Iri("oldap:Project"),
|
|
@@ -391,9 +395,13 @@ class TestDataModel(unittest.TestCase):
|
|
|
391
395
|
Iri("oldap:DataPermission"),
|
|
392
396
|
Iri("oldap:PermissionSet"),
|
|
393
397
|
Iri("oldap:Thing"),
|
|
394
|
-
Iri("oldap:OldapChronolgyStatement")
|
|
398
|
+
Iri("oldap:OldapChronolgyStatement"),
|
|
399
|
+
Iri("oldap:inProjectStatement")
|
|
395
400
|
})
|
|
396
401
|
|
|
402
|
+
def test_datamodel_read_shared(self):
|
|
403
|
+
model = DataModel.read(self._connection, self._sharedproject, ignore_cache=True)
|
|
404
|
+
|
|
397
405
|
def test_datamodel_cache(self):
|
|
398
406
|
start = time()
|
|
399
407
|
model = DataModel.read(self._connection, self._sysproject, ignore_cache=True)
|
|
@@ -91,6 +91,20 @@ class TestPropertyClass(unittest.TestCase):
|
|
|
91
91
|
self.assertEqual(p.get(PropClassAttr.NAME), LangString(["Test property@en", "Testprädikat@de"]))
|
|
92
92
|
self.assertEqual(p.get(PropClassAttr.DESCRIPTION), LangString("A property for testing...@en", "Property für Tests@de"))
|
|
93
93
|
|
|
94
|
+
def test_star_propertyclass_constructor(self):
|
|
95
|
+
p = PropertyClass(con=self._connection,
|
|
96
|
+
project=self._project,
|
|
97
|
+
property_class_iri=Iri('test:testpropstar'),
|
|
98
|
+
statement_property=True,
|
|
99
|
+
datatype=XsdDatatypes.string,
|
|
100
|
+
name=LangString(["Test property@en", "Testprädikat@de"]),
|
|
101
|
+
description={"A property for testing...@en", "Property für Tests@de"})
|
|
102
|
+
self.assertEqual(p.property_class_iri, Iri('test:testpropstar'))
|
|
103
|
+
self.assertTrue(p.statementProperty)
|
|
104
|
+
self.assertEqual(p.get(PropClassAttr.DATATYPE), XsdDatatypes.string)
|
|
105
|
+
self.assertEqual(p.get(PropClassAttr.NAME), LangString(["Test property@en", "Testprädikat@de"]))
|
|
106
|
+
self.assertEqual(p.get(PropClassAttr.DESCRIPTION), LangString("A property for testing...@en", "Property für Tests@de"))
|
|
107
|
+
|
|
94
108
|
def test_propertyclass_inset_datatypes(self):
|
|
95
109
|
p = PropertyClass(con=self._connection,
|
|
96
110
|
project=self._project,
|
|
@@ -266,7 +280,7 @@ class TestPropertyClass(unittest.TestCase):
|
|
|
266
280
|
RdfSet({Xsd_string("very good"), Xsd_string("good"), Xsd_string("fair"), Xsd_string("insufficient")}))
|
|
267
281
|
|
|
268
282
|
# @unittest.skip('Work in progress')
|
|
269
|
-
def
|
|
283
|
+
def test_propertyclass_create_A(self):
|
|
270
284
|
p1 = PropertyClass(
|
|
271
285
|
con=self._connection,
|
|
272
286
|
project=self._project,
|
|
@@ -288,6 +302,7 @@ class TestPropertyClass(unittest.TestCase):
|
|
|
288
302
|
self.assertEqual(p1[PropClassAttr.IN],
|
|
289
303
|
RdfSet(Iri("http://www.test.org/comment1"), Iri("http://www.test.org/comment2")))
|
|
290
304
|
|
|
305
|
+
def test_propertyclass_create_B(self):
|
|
291
306
|
p2 = PropertyClass(
|
|
292
307
|
con=self._connection,
|
|
293
308
|
project=self._project,
|
|
@@ -309,6 +324,7 @@ class TestPropertyClass(unittest.TestCase):
|
|
|
309
324
|
self.assertEqual(p2[PropClassAttr.LANGUAGE_IN],
|
|
310
325
|
LanguageIn(Language.EN, Language.DE, Language.FR, Language.IT))
|
|
311
326
|
|
|
327
|
+
def test_propertyclass_create_C(self):
|
|
312
328
|
p3 = PropertyClass(
|
|
313
329
|
con=self._connection,
|
|
314
330
|
project=self._project,
|
|
@@ -323,7 +339,7 @@ class TestPropertyClass(unittest.TestCase):
|
|
|
323
339
|
ignore_cache=True)
|
|
324
340
|
self.assertEqual(p3.pattern, r"^[\w\.-]+@[a-zA-Z\d-]+(\.[a-zA-Z\d-]+)*\.[a-zA-Z]{2,}$")
|
|
325
341
|
|
|
326
|
-
|
|
342
|
+
def test_propertyclass_create_D(self):
|
|
327
343
|
pX = PropertyClass(
|
|
328
344
|
con=self._connection,
|
|
329
345
|
#graph=Xsd_NCName('test'),
|
|
@@ -335,6 +351,22 @@ class TestPropertyClass(unittest.TestCase):
|
|
|
335
351
|
pX.create()
|
|
336
352
|
self.assertEqual(str(ex.exception), 'Property "test:testWrite" already exists.')
|
|
337
353
|
|
|
354
|
+
def test_propertyclass_create_E(self):
|
|
355
|
+
p = PropertyClass(
|
|
356
|
+
con=self._connection,
|
|
357
|
+
project=self._project,
|
|
358
|
+
property_class_iri=Iri('test:testWriteStar'),
|
|
359
|
+
statement_property=True,
|
|
360
|
+
datatype=XsdDatatypes.string,
|
|
361
|
+
)
|
|
362
|
+
p.create()
|
|
363
|
+
p = PropertyClass.read(con=self._connection,
|
|
364
|
+
project=self._project,
|
|
365
|
+
property_class_iri=Iri('test:testWriteStar'),
|
|
366
|
+
ignore_cache=True)
|
|
367
|
+
self.assertTrue(p.statementProperty)
|
|
368
|
+
self.assertEqual(p.get(PropClassAttr.DATATYPE), XsdDatatypes.string)
|
|
369
|
+
|
|
338
370
|
def test_propertyclass_create_nopermission(self):
|
|
339
371
|
p1 = PropertyClass(
|
|
340
372
|
con=self._unpriv,
|
|
@@ -127,7 +127,7 @@ oldap:admin {
|
|
|
127
127
|
|
|
128
128
|
:shacl {
|
|
129
129
|
|
|
130
|
-
:shapes
|
|
130
|
+
:shapes schema:version "0.1.0"^^xsd:string .
|
|
131
131
|
|
|
132
132
|
:commentShape a sh:PropertyShape ;
|
|
133
133
|
sh:path :comment ;
|
|
@@ -137,7 +137,7 @@ oldap:admin {
|
|
|
137
137
|
sh:uniqueLang true ;
|
|
138
138
|
sh:languageIn ("de"^^xsd:string "fr"^^xsd:string "en"^^xsd:string) ;
|
|
139
139
|
sh:order "2"^^xsd:decimal ;
|
|
140
|
-
|
|
140
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
141
141
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
142
142
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
143
143
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -149,7 +149,7 @@ oldap:admin {
|
|
|
149
149
|
sh:description "Property shape for testing purposes";
|
|
150
150
|
sh:datatype xsd:string ;
|
|
151
151
|
sh:order "3"^^xsd:decimal ;
|
|
152
|
-
|
|
152
|
+
schema:version "1.0.0" ;
|
|
153
153
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
154
154
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
155
155
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -161,7 +161,7 @@ oldap:admin {
|
|
|
161
161
|
sh:datatype xsd:string ;
|
|
162
162
|
sh:in ( "very good"^^xsd:string "good"^^xsd:string "fair"^^xsd:string "insufficient"^^xsd:string ) ;
|
|
163
163
|
sh:order "4"^^xsd:decimal ;
|
|
164
|
-
|
|
164
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
165
165
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
166
166
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
167
167
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -169,7 +169,7 @@ oldap:admin {
|
|
|
169
169
|
|
|
170
170
|
:testMyResShape a sh:NodeShape, :testMyRes ;
|
|
171
171
|
sh:targetClass :testMyRes ;
|
|
172
|
-
|
|
172
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
173
173
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
174
174
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
175
175
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -190,7 +190,7 @@ oldap:admin {
|
|
|
190
190
|
sh:property
|
|
191
191
|
[
|
|
192
192
|
sh:path :hasText ;
|
|
193
|
-
|
|
193
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
194
194
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
195
195
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
196
196
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -206,7 +206,7 @@ oldap:admin {
|
|
|
206
206
|
sh:property
|
|
207
207
|
[
|
|
208
208
|
sh:path :hasEnum ;
|
|
209
|
-
|
|
209
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
210
210
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
211
211
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
212
212
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -218,7 +218,7 @@ oldap:admin {
|
|
|
218
218
|
|
|
219
219
|
:testMyResMinimalShape a sh:NodeShape, :testMyResMinimal ;
|
|
220
220
|
sh:targetClass :testMyResMinimal ;
|
|
221
|
-
|
|
221
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
222
222
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
223
223
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
224
224
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -230,7 +230,7 @@ oldap:admin {
|
|
|
230
230
|
sh:property
|
|
231
231
|
[
|
|
232
232
|
sh:path :hasMinimal ;
|
|
233
|
-
|
|
233
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
234
234
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
235
235
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
236
236
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -241,7 +241,7 @@ oldap:admin {
|
|
|
241
241
|
|
|
242
242
|
:testMyResMinimalAShape a sh:NodeShape, :testMyResMinimalA ;
|
|
243
243
|
sh:targetClass :testMyResMinimalA ;
|
|
244
|
-
|
|
244
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
245
245
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
246
246
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
247
247
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -253,7 +253,7 @@ oldap:admin {
|
|
|
253
253
|
sh:property
|
|
254
254
|
[
|
|
255
255
|
sh:path :hasMinimalA ;
|
|
256
|
-
|
|
256
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
257
257
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
258
258
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
259
259
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -264,7 +264,7 @@ oldap:admin {
|
|
|
264
264
|
|
|
265
265
|
:testMyResMinimalBShape a sh:NodeShape, :testMyResMinimalB ;
|
|
266
266
|
sh:targetClass :testMyResMinimalB ;
|
|
267
|
-
|
|
267
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
268
268
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
269
269
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
270
270
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -276,7 +276,7 @@ oldap:admin {
|
|
|
276
276
|
sh:property
|
|
277
277
|
[
|
|
278
278
|
sh:path :hasMinimalB ;
|
|
279
|
-
|
|
279
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
280
280
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
281
281
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
282
282
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -287,7 +287,7 @@ oldap:admin {
|
|
|
287
287
|
|
|
288
288
|
:testMyResMinimalCShape a sh:NodeShape, :testMyResMinimalC ;
|
|
289
289
|
sh:targetClass :testMyResMinimalC ;
|
|
290
|
-
|
|
290
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
291
291
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
292
292
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
293
293
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -299,7 +299,7 @@ oldap:admin {
|
|
|
299
299
|
sh:property
|
|
300
300
|
[
|
|
301
301
|
sh:path :hasMinimalC ;
|
|
302
|
-
|
|
302
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
303
303
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
304
304
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
305
305
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -310,7 +310,7 @@ oldap:admin {
|
|
|
310
310
|
|
|
311
311
|
:testMyResInheritShape a sh:NodeShape, :testMyResInherit ;
|
|
312
312
|
sh:targetClass :testMyResInherit ;
|
|
313
|
-
|
|
313
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
314
314
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
315
315
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
316
316
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -323,7 +323,7 @@ oldap:admin {
|
|
|
323
323
|
sh:property
|
|
324
324
|
[
|
|
325
325
|
sh:path :hasMore ;
|
|
326
|
-
|
|
326
|
+
schema:version "1.0.0"^^xsd:string ;
|
|
327
327
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
328
328
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
329
329
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
:shacl {
|
|
15
15
|
|
|
16
|
-
:shapes
|
|
16
|
+
:shapes schema:version "1.0.0" ;
|
|
17
17
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
18
18
|
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
19
19
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -27,7 +27,7 @@ oldap:admin {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
test:shacl {
|
|
30
|
-
test:shapes
|
|
30
|
+
test:shapes schema:version "0.1.0"^^xsd:string .
|
|
31
31
|
|
|
32
32
|
test:PersonShape a sh:NodeShape, test:Person ;
|
|
33
33
|
sh:targetClass test:Person ;
|
|
@@ -56,7 +56,7 @@ test:shacl {
|
|
|
56
56
|
|
|
57
57
|
test:PageShape a sh:NodeShape, test:Page ;
|
|
58
58
|
sh:targetClass test:Page ;
|
|
59
|
-
|
|
59
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
60
60
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
61
61
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
62
62
|
dcterms:modified "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
@@ -73,7 +73,7 @@ test:shacl {
|
|
|
73
73
|
[
|
|
74
74
|
# PropertyClass.property_node_shacl()
|
|
75
75
|
sh:path test:pageDesignation ;
|
|
76
|
-
|
|
76
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
77
77
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
78
78
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
79
79
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -87,7 +87,7 @@ test:shacl {
|
|
|
87
87
|
[
|
|
88
88
|
# PropertyClass.property_node_shacl()
|
|
89
89
|
sh:path test:pageNum ;
|
|
90
|
-
|
|
90
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
91
91
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
92
92
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
93
93
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -103,7 +103,7 @@ test:shacl {
|
|
|
103
103
|
[
|
|
104
104
|
# PropertyClass.property_node_shacl()
|
|
105
105
|
sh:path test:pageDescription ;
|
|
106
|
-
|
|
106
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
107
107
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
108
108
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
109
109
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -117,7 +117,7 @@ test:shacl {
|
|
|
117
117
|
[
|
|
118
118
|
# PropertyClass.property_node_shacl()
|
|
119
119
|
sh:path test:pageContent ;
|
|
120
|
-
|
|
120
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
121
121
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
122
122
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
123
123
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -130,7 +130,7 @@ test:shacl {
|
|
|
130
130
|
[
|
|
131
131
|
# PropertyClass.property_node_shacl()
|
|
132
132
|
sh:path test:pageInBook ;
|
|
133
|
-
|
|
133
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
134
134
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
135
135
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
136
136
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -143,7 +143,7 @@ test:shacl {
|
|
|
143
143
|
|
|
144
144
|
test:BookShape a sh:NodeShape, test:Book ;
|
|
145
145
|
sh:targetClass test:Book ;
|
|
146
|
-
|
|
146
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
147
147
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
148
148
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
149
149
|
dcterms:modified "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
@@ -159,7 +159,7 @@ test:shacl {
|
|
|
159
159
|
[
|
|
160
160
|
# PropertyClass.property_node_shacl()
|
|
161
161
|
sh:path test:title ;
|
|
162
|
-
|
|
162
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
163
163
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
164
164
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
165
165
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -173,7 +173,7 @@ test:shacl {
|
|
|
173
173
|
[
|
|
174
174
|
# PropertyClass.property_node_shacl()
|
|
175
175
|
sh:path test:author ;
|
|
176
|
-
|
|
176
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
177
177
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
178
178
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
179
179
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -185,7 +185,7 @@ test:shacl {
|
|
|
185
185
|
[
|
|
186
186
|
# PropertyClass.property_node_shacl()
|
|
187
187
|
sh:path test:pubDate ;
|
|
188
|
-
|
|
188
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
189
189
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
190
190
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
191
191
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -198,7 +198,7 @@ test:shacl {
|
|
|
198
198
|
|
|
199
199
|
test:SetterTesterShape a sh:NodeShape, test:SetterTester ;
|
|
200
200
|
sh:targetClass test:SetterTester ;
|
|
201
|
-
|
|
201
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
202
202
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
203
203
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
204
204
|
dcterms:modified "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
@@ -214,7 +214,7 @@ test:shacl {
|
|
|
214
214
|
[
|
|
215
215
|
# PropertyClass.property_node_shacl()
|
|
216
216
|
sh:path test:stringSetter ;
|
|
217
|
-
|
|
217
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
218
218
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
219
219
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
220
220
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -276,7 +276,7 @@ test:shacl {
|
|
|
276
276
|
#
|
|
277
277
|
test:AllTypesShape a sh:NodeShape, test:AllTypes ;
|
|
278
278
|
sh:targetClass test:AllTypes ;
|
|
279
|
-
|
|
279
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
280
280
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
281
281
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
282
282
|
dcterms:modified "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
@@ -836,7 +836,7 @@ test:onto {
|
|
|
836
836
|
dcterms:modified "2024-05-16T18:38:25.551434"^^xsd:dateTime .
|
|
837
837
|
|
|
838
838
|
test:Page rdf:type owl:Class ;
|
|
839
|
-
|
|
839
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
840
840
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
841
841
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
842
842
|
dcterms:modified "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
@@ -897,7 +897,7 @@ test:onto {
|
|
|
897
897
|
dcterms:modified "2024-05-16T18:38:25.551434"^^xsd:dateTime .
|
|
898
898
|
|
|
899
899
|
test:Book rdf:type owl:Class ;
|
|
900
|
-
|
|
900
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
901
901
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
902
902
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
903
903
|
dcterms:modified "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
@@ -965,7 +965,7 @@ test:onto {
|
|
|
965
965
|
dcterms:modified "2024-05-16T18:38:25.551434"^^xsd:dateTime .
|
|
966
966
|
|
|
967
967
|
test:SetterTester rdf:type owl:Class ;
|
|
968
|
-
|
|
968
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
969
969
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
970
970
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
971
971
|
dcterms:modified "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
@@ -1329,7 +1329,7 @@ test:onto {
|
|
|
1329
1329
|
dcterms:modified "2024-05-16T18:38:25.551434"^^xsd:dateTime .
|
|
1330
1330
|
|
|
1331
1331
|
test:AllTypes rdf:type owl:Class ;
|
|
1332
|
-
|
|
1332
|
+
schema:version "0.1.0"^^xsd:string ;
|
|
1333
1333
|
dcterms:created "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
1334
1334
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
1335
1335
|
dcterms:modified "2024-05-16T18:38:25.551434"^^xsd:dateTime ;
|
|
@@ -2,13 +2,13 @@ oldaplib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
2
2
|
oldaplib/apps/load_list.py,sha256=Dr0oLPUMoJkAD55_flAt6y8hjx_ci7uuOQzYBUOr8Sc,1840
|
|
3
3
|
oldaplib/ontologies/admin-testing.trig,sha256=Uvz7QiY0IQH_7zHDrSFnWXwmf4iU5JKlJ_1Lo1bDk08,5322
|
|
4
4
|
oldaplib/ontologies/admin.trig,sha256=_LOI4kXXy4PQFQTzdcuWno_vPlr0Mx9aK5T3gswwpjY,9080
|
|
5
|
-
oldaplib/ontologies/oldap.trig,sha256=
|
|
5
|
+
oldaplib/ontologies/oldap.trig,sha256=qESnoGwWSEXusVLw7sODy8AmN_zShQWxIcTnOcfGTFk,66540
|
|
6
6
|
oldaplib/ontologies/oldap.ttl,sha256=w4q5SX6UIeuYXI2nxNSxzsjZKfR5-mDoLaJXyODBUps,29430
|
|
7
|
-
oldaplib/ontologies/shared.trig,sha256=
|
|
7
|
+
oldaplib/ontologies/shared.trig,sha256=TGoB68DSjSoCIF9dnBsrX69QqPtf62H3gZmSAfbpgBo,17193
|
|
8
8
|
oldaplib/src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
oldaplib/src/cachesingleton.py,sha256=RzQz5-rSAuqgF0TbkdHPwdOjoGxpHFqO8Fpips4AK54,3550
|
|
10
|
-
oldaplib/src/connection.py,sha256=
|
|
11
|
-
oldaplib/src/datamodel.py,sha256=
|
|
10
|
+
oldaplib/src/connection.py,sha256=LJMJO65QhSbheIEBnOCphRyAD1STwkO8zfNcYPcKwP8,29016
|
|
11
|
+
oldaplib/src/datamodel.py,sha256=2dv-Jc1yXTj8aOmnG-eJdJXaBbwrDoJcJj5iCrali18,30297
|
|
12
12
|
oldaplib/src/dtypes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
13
|
oldaplib/src/dtypes/bnode.py,sha256=aPdm6FpqqFXCAtZJtOniLwIUFRcxK4XmwpCcg3PEnGc,1554
|
|
14
14
|
oldaplib/src/dtypes/languagein.py,sha256=6h3VrTH8IcTN6mvnWuGvzDoKX_Jh6h9w3wWrLuAWfVc,8593
|
|
@@ -24,10 +24,10 @@ oldaplib/src/enums/haspropertyattr.py,sha256=ETc8absLD9WsdI-EPHUwueF8xvLQm93-GC3
|
|
|
24
24
|
oldaplib/src/enums/language.py,sha256=OfQsFpIBj8lGBbZEqVCR_1F-bimPM48vqBl4EKBgggY,4623
|
|
25
25
|
oldaplib/src/enums/oldaplistattr.py,sha256=xuOU3oP35-PFFmlI-jlN28yqdk5lp_OzScKCC1O4IDI,620
|
|
26
26
|
oldaplib/src/enums/oldaplistnodeattr.py,sha256=qokSxE-0FLyWNipjjY3gZJC2bBEt1qS1Z2SFg-gb0kc,722
|
|
27
|
-
oldaplib/src/enums/owlpropertytype.py,sha256=
|
|
27
|
+
oldaplib/src/enums/owlpropertytype.py,sha256=KQfBoLdxSkQ31bni5FWL8j871kLRxQbnLu_F656daLw,428
|
|
28
28
|
oldaplib/src/enums/permissionsetattr.py,sha256=og4jPvbY86ABr_I9qIvhvg4iIiQCFMcv9-_0D2gfzz8,839
|
|
29
29
|
oldaplib/src/enums/projectattr.py,sha256=jDMcdUcmc8WTYUyVTmEdu-qpWu2ZbPxFaGmK3dPmDq8,1005
|
|
30
|
-
oldaplib/src/enums/propertyclassattr.py,sha256
|
|
30
|
+
oldaplib/src/enums/propertyclassattr.py,sha256=lYTdXM3Knw2F4CzshhcHzPbKQhAIRbK0Nlk4hfJJe2o,3675
|
|
31
31
|
oldaplib/src/enums/resourceclassattr.py,sha256=g8tc5JDr4wLCteBNnhHMVE4cRZOhlSQqs-qFnRB3_N0,709
|
|
32
32
|
oldaplib/src/enums/sparql_result_format.py,sha256=MLBHKY25o96mswSWioR-rS__zP6kPzYGNIWLZCr9784,636
|
|
33
33
|
oldaplib/src/enums/userattr.py,sha256=ZRBGGLP5NMvyAER893TzRjfkhZk4jOtS9RsSkYsQM-c,1628
|
|
@@ -62,11 +62,11 @@ oldaplib/src/oldaplistnode.py,sha256=Q9kMH6bBKR8oBXcCY8hIyh0Z__S35xSm3rxNazwiU-Q
|
|
|
62
62
|
oldaplib/src/oldaplogging.py,sha256=IDSOylms9OSTInYPC4Y2QrTTEzRL0T5I2QssCevOhTU,1242
|
|
63
63
|
oldaplib/src/permissionset.py,sha256=rkbg1MJrTnS1XOhpgEWCmA1wdCYwY0Fs6HAsb4BBE-Y,31629
|
|
64
64
|
oldaplib/src/project.py,sha256=RLp1WTQGaHAPqh01D-bp5k0q9io5EmJWQCPqPoEpvzs,31858
|
|
65
|
-
oldaplib/src/propertyclass.py,sha256=
|
|
66
|
-
oldaplib/src/resourceclass.py,sha256=
|
|
65
|
+
oldaplib/src/propertyclass.py,sha256=KXP278zPu8L36T--FDylJjjPGeSjDUqZ6AVv-AK6cQg,85021
|
|
66
|
+
oldaplib/src/resourceclass.py,sha256=7WPGL2FQAJeKuucrlk-rvmnziNj1T1_jiDmXeINS-Co,98969
|
|
67
67
|
oldaplib/src/user.py,sha256=Z4GXPRkaHXx3glUpPXQdFqYMxQPOuqayDwkTAE5RGjU,48820
|
|
68
68
|
oldaplib/src/userdataclass.py,sha256=FbZkcRt0pKbOeqsZ7HbpwoKE-XPWH2AqpHG1GcsrBPo,12364
|
|
69
|
-
oldaplib/src/version.py,sha256=
|
|
69
|
+
oldaplib/src/version.py,sha256=cZ2q4n15DqGNWePLsZ_V_ocxmtKGHD1Az9UyB0zTsm0,22
|
|
70
70
|
oldaplib/src/xsd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
71
71
|
oldaplib/src/xsd/floatingpoint.py,sha256=rDReKqh0mXyc4F5wslgTUxbeGf3-PGERyughj5_62YI,8852
|
|
72
72
|
oldaplib/src/xsd/iri.py,sha256=tXOuDASdQ6k9KKp2wTO8H4K8yb-_o8jFPanua7wCHog,8269
|
|
@@ -113,9 +113,9 @@ oldaplib/src/xsd/xsd_unsignedlong.py,sha256=5fGH8_SAV1x6b0YGiIR44ZlJXjUiCUW6XHhC
|
|
|
113
113
|
oldaplib/src/xsd/xsd_unsignedshort.py,sha256=M1E8SDR33rPJ0jUpRkzcDCcJYg17YfVbaItTuJeEibc,1013
|
|
114
114
|
oldaplib/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
115
115
|
oldaplib/test/test_cache.py,sha256=6TGukPUruuj5BsZaPGZdIx9L7v39qB9jIKZkg_GkbW4,702
|
|
116
|
-
oldaplib/test/test_connection.py,sha256=
|
|
116
|
+
oldaplib/test/test_connection.py,sha256=y_t0v9jbo1BFsDlAjei2ckG0iVnLNc4ShlIRxe8GMvg,13386
|
|
117
117
|
oldaplib/test/test_context.py,sha256=cJJWzSiWpKq9UFhbScru_PdOAqaCWKB3f_lRzxcCm10,4939
|
|
118
|
-
oldaplib/test/test_datamodel.py,sha256=
|
|
118
|
+
oldaplib/test/test_datamodel.py,sha256=nAJJbFGRuWNvrw3ExDpRHU7_qBKlVtjMYgHqSobjA_4,54759
|
|
119
119
|
oldaplib/test/test_dtypes.py,sha256=UVdlHNdJrJ5iujMWlwk9tOhRzouJYA8x0E-eLDXPmUo,8583
|
|
120
120
|
oldaplib/test/test_hasproperty.py,sha256=ykhHZHSJA0DYLIUNrlrVqbuLWLNGuTfaW1aMCCGJ4Vg,11219
|
|
121
121
|
oldaplib/test/test_in_project.py,sha256=DYT-guwRQ9crnfEt7cQZxoEMxThin7QeymNce3jaZx4,7779
|
|
@@ -129,22 +129,22 @@ oldaplib/test/test_oldaplist_helpers.py,sha256=vJkA_Txhdk4oIwo2YK566yOte2Z6MQksh
|
|
|
129
129
|
oldaplib/test/test_oldaplistnode.py,sha256=9B_h3lo2wsB6cy8yJlEJAAAB3xhAacjc40lIf5ixyIg,149218
|
|
130
130
|
oldaplib/test/test_permissionset.py,sha256=P2SWvzvNund8u4vTgd-azwBXGHGtYLkfJVwpzctx_Ow,23282
|
|
131
131
|
oldaplib/test/test_project.py,sha256=lfiV84IH2J6ty05IqmVtD-OSTU30NEZ1pI7HJXUrCnc,23558
|
|
132
|
-
oldaplib/test/test_propertyclass.py,sha256=
|
|
132
|
+
oldaplib/test/test_propertyclass.py,sha256=7-nmpZU5zDRC92GIxD3duc5glEDkHsVP-PTIneyeWsQ,44009
|
|
133
133
|
oldaplib/test/test_resourceclass.py,sha256=5ZoLwmnxJNaGCzuS_sHJfr-keg2jEioa9JiSSb7Benw,86684
|
|
134
134
|
oldaplib/test/test_semantic_version.py,sha256=OSJYHWDpKBqk-HsxJ2nFpSr14a4OEZTFCogzEni8mcE,3392
|
|
135
135
|
oldaplib/test/test_user.py,sha256=nIL7-APRf2cCxN6U74QR0I4Np-25RPdrelA-IKmL-oc,72079
|
|
136
136
|
oldaplib/test/test_xsd_datatypes.py,sha256=K4bJv4G12EG3VeOzMYU_4oQrKuiUpRmRDEZTrHPKmSE,67943
|
|
137
137
|
oldaplib/testdata/Gender.yaml,sha256=54ohJWToiuO2rMOUJ85JOsZf2TSrIuPLarHriXa6Lww,235
|
|
138
138
|
oldaplib/testdata/collections_type.yaml,sha256=03MNQVUoLlq7A1OOtSvACeRs32VfP5eS8av-mPLGoEI,2737
|
|
139
|
-
oldaplib/testdata/connection_test.trig,sha256=
|
|
140
|
-
oldaplib/testdata/datamodel_test.trig,sha256=
|
|
139
|
+
oldaplib/testdata/connection_test.trig,sha256=IRsBs12eSSTYly-su700gIxR3zbGSZpO93aWgpnphaY,22926
|
|
140
|
+
oldaplib/testdata/datamodel_test.trig,sha256=mI14q7M_Awwf4T7HwBO6epu3ExL-7G-OOXVTMZlAqPE,1377
|
|
141
141
|
oldaplib/testdata/event_type.yaml,sha256=wpXiheSEKh4xOoUZvAxWytJQ-sNK6oUYdVpOmyW9wPc,3083
|
|
142
142
|
oldaplib/testdata/hlist_schema.yaml,sha256=fgHiB-ZxOkE6OvkZKk9SL2kNn8Akj6dS6ySDFSpknTA,186
|
|
143
143
|
oldaplib/testdata/institution_or_building_type.yaml,sha256=SA2rsQwoAdyn6eSIJU1ilmdIQf-f1XNApwBow-JlJTo,2439
|
|
144
144
|
oldaplib/testdata/language.yaml,sha256=YaQA77d7QyOydqNylR5RSb-0A6h9pLM4mgadJSrYC3A,451
|
|
145
145
|
oldaplib/testdata/location_type.yaml,sha256=amlhYNDc9qLv_if6urtAtBTnEXrVrb6_aulE180GYkc,1323
|
|
146
146
|
oldaplib/testdata/means_of_transportation.yaml,sha256=WOqtSHlw8gCK54d5hmibCWyL_H1DRtBBpUdFNwIUBJo,788
|
|
147
|
-
oldaplib/testdata/objectfactory_test.trig,sha256=
|
|
147
|
+
oldaplib/testdata/objectfactory_test.trig,sha256=ZfADflYLNaQEDihM40HJ0LI6WkV-UYVv2Dg2HNjALkU,75333
|
|
148
148
|
oldaplib/testdata/playground_list.yaml,sha256=EypG4WQoq9emI10Hj-DrKjplgxr1MrQBPc0ppV_rHQQ,1620
|
|
149
149
|
oldaplib/testdata/role.yaml,sha256=CLI9f2HD_ulYw67DqWntaMLWH0CGWz1cfNkvxcnK6XQ,691
|
|
150
150
|
oldaplib/testdata/source_type-1.yaml,sha256=Khow4rD8oZgBAbUex4T-nKBTrx0bAseMhTShS7-MgGw,921
|
|
@@ -152,6 +152,6 @@ oldaplib/testdata/source_type.yaml,sha256=dSihKikw3O-IlGf6anj5KWMoBYLaweLVF1Zojm
|
|
|
152
152
|
oldaplib/testdata/test_move_left_of_toL.yaml,sha256=2m1OSQrQFlsCQxeJrjzBAO74LMprNDo_HuyrYGsOeXI,787
|
|
153
153
|
oldaplib/testdata/testlist.yaml,sha256=AT11nXEG81Sfyb-tr1gQV0H_dZBrOCcFuHf7YtL8P2g,1994
|
|
154
154
|
oldaplib/testit.http,sha256=qW7mnr6aNLXFG6lQdLgyhXILOPN6qc5iFVZclLyVvkY,303
|
|
155
|
-
oldaplib-0.2.
|
|
156
|
-
oldaplib-0.2.
|
|
157
|
-
oldaplib-0.2.
|
|
155
|
+
oldaplib-0.2.10.dist-info/METADATA,sha256=zA5BZeNAsnNcdyOn-nzXvdIjTC9FkF4gx81R9OuVQz8,2804
|
|
156
|
+
oldaplib-0.2.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
157
|
+
oldaplib-0.2.10.dist-info/RECORD,,
|
|
File without changes
|