oldaplib 0.3.23__py3-none-any.whl → 0.3.24__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/shared.trig +53 -4
- oldaplib/src/objectfactory.py +3 -3
- oldaplib/src/version.py +1 -1
- {oldaplib-0.3.23.dist-info → oldaplib-0.3.24.dist-info}/METADATA +1 -1
- {oldaplib-0.3.23.dist-info → oldaplib-0.3.24.dist-info}/RECORD +6 -6
- {oldaplib-0.3.23.dist-info → oldaplib-0.3.24.dist-info}/WHEEL +0 -0
oldaplib/ontologies/shared.trig
CHANGED
|
@@ -123,7 +123,7 @@ shared:shacl {
|
|
|
123
123
|
sh:property [
|
|
124
124
|
sh:path rdf:type ;
|
|
125
125
|
] ;
|
|
126
|
-
sh:property [
|
|
126
|
+
sh:property [
|
|
127
127
|
sh:path shared:originalName ;
|
|
128
128
|
schema:version "0.1.0"^^xsd:string ;
|
|
129
129
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -138,7 +138,7 @@ shared:shacl {
|
|
|
138
138
|
sh:maxCount "1"^^xsd:integer ;
|
|
139
139
|
sh:order "1.0"^^xsd:decimal ;
|
|
140
140
|
] ;
|
|
141
|
-
sh:property [
|
|
141
|
+
sh:property [
|
|
142
142
|
sh:path shared:originalMimeType ;
|
|
143
143
|
schema:version "0.1.0"^^xsd:string ;
|
|
144
144
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -153,7 +153,7 @@ shared:shacl {
|
|
|
153
153
|
sh:maxCount "1"^^xsd:integer ;
|
|
154
154
|
sh:order "2.0"^^xsd:decimal ;
|
|
155
155
|
] ;
|
|
156
|
-
sh:property [
|
|
156
|
+
sh:property [
|
|
157
157
|
sh:path shared:serverUrl ;
|
|
158
158
|
schema:version "0.1.0"^^xsd:string ;
|
|
159
159
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -168,7 +168,7 @@ shared:shacl {
|
|
|
168
168
|
sh:maxCount "1"^^xsd:integer ;
|
|
169
169
|
sh:order "3.0"^^xsd:decimal ;
|
|
170
170
|
] ;
|
|
171
|
-
sh:property [
|
|
171
|
+
sh:property [
|
|
172
172
|
sh:path shared:imageId ;
|
|
173
173
|
schema:version "0.1.0"^^xsd:string ;
|
|
174
174
|
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
@@ -182,6 +182,27 @@ shared:shacl {
|
|
|
182
182
|
sh:minCount "1"^^xsd:integer ;
|
|
183
183
|
sh:maxCount "1"^^xsd:integer ;
|
|
184
184
|
sh:order "3.0"^^xsd:decimal ;
|
|
185
|
+
] ;
|
|
186
|
+
sh:property [
|
|
187
|
+
sh:path shared:protocol ;
|
|
188
|
+
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
189
|
+
dcterms:created "2025-11-21T00:15:09.037880+01:00"^^xsd:dateTime ;
|
|
190
|
+
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
191
|
+
dcterms:modified "2025-11-21T00:15:09.037880+01:00"^^xsd:dateTime ;
|
|
192
|
+
oldap:statementProperty "false"^^xsd:boolean ;
|
|
193
|
+
oldap:externalOntology "false"^^xsd:boolean ;
|
|
194
|
+
sh:datatype xsd:string ;
|
|
195
|
+
sh:in ( 'iiif' 'http' 'custom') ;
|
|
196
|
+
] ;
|
|
197
|
+
sh:property [
|
|
198
|
+
sh:path shared:path ;
|
|
199
|
+
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
200
|
+
dcterms:created "2025-11-21T00:15:09.037880+01:00"^^xsd:dateTime ;
|
|
201
|
+
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
202
|
+
dcterms:modified "2025-11-21T00:15:09.037880+01:00"^^xsd:dateTime ;
|
|
203
|
+
oldap:statementProperty "false"^^xsd:boolean ;
|
|
204
|
+
oldap:externalOntology "false"^^xsd:boolean ;
|
|
205
|
+
sh:datatype xsd:string ;
|
|
185
206
|
] .
|
|
186
207
|
}
|
|
187
208
|
|
|
@@ -349,6 +370,22 @@ shared:onto {
|
|
|
349
370
|
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
350
371
|
dcterms:modified "2025-11-21T00:15:09.037880+01:00"^^xsd:dateTime .
|
|
351
372
|
|
|
373
|
+
shared:protocol rdf:type owl:DatatypeProperty ;
|
|
374
|
+
rdfs:domain shared:MediaObject ;
|
|
375
|
+
rdfs:range xsd:string ;
|
|
376
|
+
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
377
|
+
dcterms:created "2025-11-21T00:15:09.037880+01:00"^^xsd:dateTime ;
|
|
378
|
+
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
379
|
+
dcterms:modified "2025-11-21T00:15:09.037880+01:00"^^xsd:dateTime .
|
|
380
|
+
|
|
381
|
+
shared:path rdf:type owl:DatatypeProperty ;
|
|
382
|
+
rdfs:domain shared:MediaObject ;
|
|
383
|
+
rdfs:range xsd:string ;
|
|
384
|
+
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
385
|
+
dcterms:created "2025-11-21T00:15:09.037880+01:00"^^xsd:dateTime ;
|
|
386
|
+
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
387
|
+
dcterms:modified "2025-11-21T00:15:09.037880+01:00"^^xsd:dateTime .
|
|
388
|
+
|
|
352
389
|
shared:MediaObject rdf:type owl:Class ;
|
|
353
390
|
schema:version "0.1.0"^^xsd:string ;
|
|
354
391
|
dcterms:created "2025-11-21T00:15:09.037880+01:00"^^xsd:dateTime ;
|
|
@@ -381,6 +418,18 @@ shared:onto {
|
|
|
381
418
|
owl:onProperty shared:imageId ;
|
|
382
419
|
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
|
|
383
420
|
owl:onDataRange xsd:string ;
|
|
421
|
+
],
|
|
422
|
+
[
|
|
423
|
+
rdf:type owl:Restriction ;
|
|
424
|
+
owl:onProperty shared:protocol ;
|
|
425
|
+
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
|
|
426
|
+
owl:onDataRange xsd:string ;
|
|
427
|
+
],
|
|
428
|
+
[
|
|
429
|
+
rdf:type owl:Restriction ;
|
|
430
|
+
owl:onProperty shared:path ;
|
|
431
|
+
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
|
|
432
|
+
owl:onDataRange xsd:string ;
|
|
384
433
|
] .
|
|
385
434
|
|
|
386
435
|
}
|
oldaplib/src/objectfactory.py
CHANGED
|
@@ -229,9 +229,9 @@ class ResourceInstance:
|
|
|
229
229
|
if property.get(PropClassAttr.UNIQUE_LANG):
|
|
230
230
|
return # TODO: LangString does not yet allow multiple entries of the same language...
|
|
231
231
|
if property.get(PropClassAttr.IN):
|
|
232
|
-
for val in values:
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
#for val in values:
|
|
233
|
+
if not values in property[PropClassAttr.IN]:
|
|
234
|
+
raise OldapErrorValue(f'Property {property} with IN={property[PropClassAttr.IN]} has invalid value "{val}"')
|
|
235
235
|
if property.get(PropClassAttr.MIN_LENGTH):
|
|
236
236
|
for val in values:
|
|
237
237
|
l = 0
|
oldaplib/src/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.3.
|
|
1
|
+
__version__ = "0.3.24"
|
|
@@ -5,7 +5,7 @@ oldaplib/ontologies/admin.trig,sha256=ByxFYdI9rh-RhLnSpkdZHMMWgXCSTi2YMJc1QgBHFh
|
|
|
5
5
|
oldaplib/ontologies/example.trig,sha256=MdRrFBZZ1L6aUDiT6aX4cnXiy-RoZHczF3Exn7aBSmU,1518
|
|
6
6
|
oldaplib/ontologies/oldap.trig,sha256=i2XanqKlhWSIdD17fLu5g0Luq2GORQCcyIfLn9Kummk,60241
|
|
7
7
|
oldaplib/ontologies/oldap.ttl,sha256=qdA0uiSjzVhkc1d5IN2y5ioK1QMzwl-TTnn3M_D1Kh8,29446
|
|
8
|
-
oldaplib/ontologies/shared.trig,sha256=
|
|
8
|
+
oldaplib/ontologies/shared.trig,sha256=rrXGUT9HycOwDr2SKaN33KF3bkr4JtvUdxvfSTocs1Q,21605
|
|
9
9
|
oldaplib/ontologies/standard/.gitsave,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
oldaplib/src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
oldaplib/src/cachesingleton.py,sha256=WGhuFER-mTnOJmwaN17fXPAg7zn7GJBm-XadShNUBBk,3687
|
|
@@ -59,7 +59,7 @@ oldaplib/src/helpers/tools.py,sha256=sNbiOLucTGNFzZmiWwPLFOb80VTXQH0Zd9uCGubhzAk
|
|
|
59
59
|
oldaplib/src/iconnection.py,sha256=XlOc2Kh4tK_UOHydLQwlWjUFLUze-Aq_vEZpf9KS1-s,3677
|
|
60
60
|
oldaplib/src/in_project.py,sha256=2KuhHPj8DNveFRBeImrRfxlCOYhBK-mcxXYUp6s--j8,10672
|
|
61
61
|
oldaplib/src/model.py,sha256=VACR3T6zJYFaE5J1PFFdP0OSwhbu4sahoLMWg6_L_rE,19267
|
|
62
|
-
oldaplib/src/objectfactory.py,sha256=
|
|
62
|
+
oldaplib/src/objectfactory.py,sha256=YN5GqWD4WOD0Gd1K5f-cVluka46MuFHi3-_1f9uYI5Y,64302
|
|
63
63
|
oldaplib/src/oldaplist.py,sha256=sGAvEEJukRCjM70G0NFaR-L9YPleQTOtdWGExj3oYL8,42933
|
|
64
64
|
oldaplib/src/oldaplist_helpers.py,sha256=1Gur0nS1PCKb9iUtCKPUFDOYjw6vvAwYpe-G3DdxlEc,14213
|
|
65
65
|
oldaplib/src/oldaplistnode.py,sha256=NnC2juEGTtEkDO6OlB9PjSw_zTF-wSsRUgEk-6VV9DA,87344
|
|
@@ -70,7 +70,7 @@ oldaplib/src/propertyclass.py,sha256=OuzCSCRp8Qfz-PolmoH7FARfTEvWJd42ghLgvPsgT78
|
|
|
70
70
|
oldaplib/src/resourceclass.py,sha256=uzPhwTBdWmB228R1FUddB4XaZcOfBAPAPYn-ZPZkeF0,102551
|
|
71
71
|
oldaplib/src/user.py,sha256=Z4GXPRkaHXx3glUpPXQdFqYMxQPOuqayDwkTAE5RGjU,48820
|
|
72
72
|
oldaplib/src/userdataclass.py,sha256=FbZkcRt0pKbOeqsZ7HbpwoKE-XPWH2AqpHG1GcsrBPo,12364
|
|
73
|
-
oldaplib/src/version.py,sha256=
|
|
73
|
+
oldaplib/src/version.py,sha256=1G7BOgQ-rE-g6H87Yl9LN077_pZ80Fv28EhfaF3IHQ0,22
|
|
74
74
|
oldaplib/src/xsd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
75
75
|
oldaplib/src/xsd/floatingpoint.py,sha256=rDReKqh0mXyc4F5wslgTUxbeGf3-PGERyughj5_62YI,8852
|
|
76
76
|
oldaplib/src/xsd/iri.py,sha256=w1Dr0z-REi7yPe3GPGnyzGrLVMvLY03kEeK-AmZ9sxw,8383
|
|
@@ -158,6 +158,6 @@ oldaplib/testdata/source_type.yaml,sha256=dSihKikw3O-IlGf6anj5KWMoBYLaweLVF1Zojm
|
|
|
158
158
|
oldaplib/testdata/test_move_left_of_toL.yaml,sha256=2m1OSQrQFlsCQxeJrjzBAO74LMprNDo_HuyrYGsOeXI,787
|
|
159
159
|
oldaplib/testdata/testlist.yaml,sha256=AT11nXEG81Sfyb-tr1gQV0H_dZBrOCcFuHf7YtL8P2g,1994
|
|
160
160
|
oldaplib/testit.http,sha256=qW7mnr6aNLXFG6lQdLgyhXILOPN6qc5iFVZclLyVvkY,303
|
|
161
|
-
oldaplib-0.3.
|
|
162
|
-
oldaplib-0.3.
|
|
163
|
-
oldaplib-0.3.
|
|
161
|
+
oldaplib-0.3.24.dist-info/METADATA,sha256=VAkTUWPAvqiY0q_RffzIKPdE3JsShrMZh5Nlh5wbdlk,3010
|
|
162
|
+
oldaplib-0.3.24.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
163
|
+
oldaplib-0.3.24.dist-info/RECORD,,
|
|
File without changes
|