fuzzy-dl-owl2 1.0.3__py3-none-any.whl → 1.0.4__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.
@@ -191,9 +191,11 @@ class FuzzyOwl2(object):
191
191
 
192
192
  def process_ontology_annotations(self) -> None:
193
193
  for ontology in self.ontologies:
194
- annotations: set[OWLAnnotation] = (
194
+ annotations: typing.Optional[set[OWLAnnotation]] = (
195
195
  ontology.getter.get_owl_ontology_annotations()
196
196
  )
197
+ if annotations is None:
198
+ continue
197
199
  for annotation in annotations:
198
200
  if annotation.annotation_property != self.fuzzy_label:
199
201
  continue
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: fuzzy-dl-owl2
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: A python porting of the Fuzzy Description Language (see https://www.umbertostraccia.it/cs/software/fuzzyDL/fuzzyDL.html) and the Fuzzy OWL 2 framework (see https://www.umbertostraccia.it/cs/software/FuzzyOWL/index.html).
5
5
  License: CC-BY-SA-4.0
6
6
  Author: Giuseppe Filippone
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.13
14
14
  Requires-Dist: gurobipy (>=12.0.0,<13.0.0)
15
15
  Requires-Dist: networkx (>=3.3,<4.0)
16
16
  Requires-Dist: owlready2 (>=0.47,<0.48)
17
- Requires-Dist: pyowl2 (>=1.0.0,<2.0.0)
17
+ Requires-Dist: pyowl2 (>=1.0.1,<2.0.0)
18
18
  Requires-Dist: pyparsing (>=3.2.3,<4.0.0)
19
19
  Requires-Dist: rdflib (>=7.1.4,<8.0.0)
20
20
  Requires-Dist: sortedcontainers (>=2.4.0,<3.0.0)
@@ -123,7 +123,7 @@ fuzzy_dl_owl2/fuzzydl/util/constants.py,sha256=_BM9maPkVPzz-GjWjVHjPEtNOA72c5R4q
123
123
  fuzzy_dl_owl2/fuzzydl/util/util.py,sha256=5COC79TAJz8fNrRzXLbNpAT9rLd_0KrRI1OU-hob3oU,1903
124
124
  fuzzy_dl_owl2/fuzzydl/util/utils.py,sha256=TPVLEL9NJXgReuxEIOTEOVYqojSymg_-kyrLETXnYdo,2344
125
125
  fuzzy_dl_owl2/fuzzyowl2/__init__.py,sha256=C44P0-Sn35FQdVMqYLzeDWa5qPmokbcs8GPiD_zQaSg,153
126
- fuzzy_dl_owl2/fuzzyowl2/fuzzyowl2.py,sha256=YYYayCmOPA5mfjMCAFZSiNe1pyn8arr5CIALiTMTGu8,71324
126
+ fuzzy_dl_owl2/fuzzyowl2/fuzzyowl2.py,sha256=EAC_DXYa694h3pUZ9T_4Y_f60DjzPUs4VqIGbpLY5vo,71402
127
127
  fuzzy_dl_owl2/fuzzyowl2/fuzzyowl2_to_fuzzydl.py,sha256=yWMhk3mpAmGfLSg6buEo8pC2G-Jczy1pgiy3riaZsZY,37033
128
128
  fuzzy_dl_owl2/fuzzyowl2/owl_types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
129
129
  fuzzy_dl_owl2/fuzzyowl2/owl_types/choquet_concept.py,sha256=ymnyNfvkvWA3y2UMXyPviD0U98vJ6jrX6zddj09SUoI,671
@@ -156,7 +156,7 @@ fuzzy_dl_owl2/fuzzyowl2/parser/__init__.py,sha256=fKaME_uuWyG5UB7VKD-nMV-j95lC1j
156
156
  fuzzy_dl_owl2/fuzzyowl2/parser/owl2_parser.py,sha256=5eGyRbYUQNH5ZTKCjsOYOsw9Ode4lUl8eUNK4jQGZSs,19683
157
157
  fuzzy_dl_owl2/fuzzyowl2/util/__init__.py,sha256=81quoggCuIypZjZs3bbf1Ty70KHdva5RGEJxi0oC57E,25
158
158
  fuzzy_dl_owl2/fuzzyowl2/util/constants.py,sha256=05eQLYTB4CxxUZ_T-sNG9FsH8hkrBMAh2y24oiQN8xY,3904
159
- fuzzy_dl_owl2-1.0.3.dist-info/LICENSE,sha256=er4Z7Ju3OzYUG5mbhh0krYVegIuv4PgehMzihVb2wpc,20131
160
- fuzzy_dl_owl2-1.0.3.dist-info/METADATA,sha256=a39NDTTTe5Fq035nuUf-yCLjoB-dTTyLMeTSHzlR_Io,13057
161
- fuzzy_dl_owl2-1.0.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
162
- fuzzy_dl_owl2-1.0.3.dist-info/RECORD,,
159
+ fuzzy_dl_owl2-1.0.4.dist-info/LICENSE,sha256=er4Z7Ju3OzYUG5mbhh0krYVegIuv4PgehMzihVb2wpc,20131
160
+ fuzzy_dl_owl2-1.0.4.dist-info/METADATA,sha256=elZXmZ96SR3HkFCRcP_CEoojPQ_1UWauCWBuyiLMTvY,13057
161
+ fuzzy_dl_owl2-1.0.4.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
162
+ fuzzy_dl_owl2-1.0.4.dist-info/RECORD,,