oldaplib 0.3.22__py3-none-any.whl → 0.3.23__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.
@@ -671,11 +671,26 @@ class ResourceClass(Model, Notify):
671
671
  """
672
672
  context = Context(name=self._con.context_name)
673
673
  query = context.sparql_context
674
+ # query += f"""
675
+ # ASK {{
676
+ # GRAPH {self._project.projectShortName}:data {{
677
+ # ?resinstance rdf:type {self._owlclass_iri} .
678
+ # FILTER(?resinstance != {self._owlclass_iri}Shape)
679
+ # }}
680
+ # }}
681
+ # """
674
682
  query += f"""
675
683
  ASK {{
676
- GRAPH {self._project.projectShortName}:data {{
677
- ?resinstance rdf:type {self._owlclass_iri} .
678
- FILTER(?resinstance != {self._owlclass_iri}Shape)
684
+ {{
685
+ GRAPH {self._project.projectShortName}:data {{
686
+ ?resinstance rdf:type {self._owlclass_iri} .
687
+ }}
688
+ }}
689
+ UNION
690
+ {{
691
+ GRAPH {self._project.projectShortName}:onto {{
692
+ ?subclass rdfs:subClassOf+ {self._owlclass_iri} .
693
+ }}
679
694
  }}
680
695
  }}
681
696
  """
oldaplib/src/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.3.22"
1
+ __version__ = "0.3.23"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: oldaplib
3
- Version: 0.3.22
3
+ Version: 0.3.23
4
4
  Summary: Open Media Access Server Library (Linked Open Data middleware/RESTApi)
5
5
  License: GNU Affero General Public License version 3
6
6
  Author: Lukas Rosenthaler
@@ -67,10 +67,10 @@ oldaplib/src/oldaplogging.py,sha256=IDSOylms9OSTInYPC4Y2QrTTEzRL0T5I2QssCevOhTU,
67
67
  oldaplib/src/permissionset.py,sha256=bzzVuZ7O_yVMujziwo32GEJIZYGG3g5gTds4HjLmGtU,31874
68
68
  oldaplib/src/project.py,sha256=DNwViRg19zkE1F0zuWqQFK008uTVehVAu7xNbyessig,34207
69
69
  oldaplib/src/propertyclass.py,sha256=OuzCSCRp8Qfz-PolmoH7FARfTEvWJd42ghLgvPsgT78,97213
70
- oldaplib/src/resourceclass.py,sha256=I6m93JhfCh4XAUFgmb6v0fD798DfU7-ImTKrUJk4g-o,102098
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=4taJJaGNydi5cJmoZOKzj0v5QfTSj0KJZiAHh1J83MQ,22
73
+ oldaplib/src/version.py,sha256=ovPlsd5alU9FtB_D6PMNL3UQU7LKO_8BAOVb9xu2uuk,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.22.dist-info/METADATA,sha256=5hrFKoin1P63-sfNf5-kDGfQc1sSSYBhhosn0INEUIU,3010
162
- oldaplib-0.3.22.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
163
- oldaplib-0.3.22.dist-info/RECORD,,
161
+ oldaplib-0.3.23.dist-info/METADATA,sha256=sviKAfMZrAR-Ev-cYC6M4hXwa5tbayDaOvJpIMRLqiU,3010
162
+ oldaplib-0.3.23.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
163
+ oldaplib-0.3.23.dist-info/RECORD,,