iolanta 2.1.20__py3-none-any.whl → 2.1.22__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.
@@ -52,13 +52,14 @@ class TextualDefaultFacet(Facet[Widget]): # noqa: WPS214
52
52
  for row in property_rows
53
53
  ]
54
54
 
55
+ iolanta_lang = str(self.iolanta.language)
55
56
  property_pairs = [
56
57
  (property_iri, object_node)
57
58
  for property_iri, object_node in property_pairs
58
59
  if (
59
60
  not isinstance(object_node, Literal)
60
61
  or not (language := object_node.language) # noqa: W503
61
- or (language == self.iolanta.language) # noqa: W503
62
+ or (language == iolanta_lang)
62
63
  )
63
64
  ]
64
65
 
@@ -607,6 +607,9 @@ class GlobalSPARQLProcessor(Processor): # noqa: WPS338, WPS214
607
607
  except HTTPError as http_error:
608
608
  self.logger.warning(f"{source} | HTTP error: {http_error}")
609
609
  return Loaded()
610
+ except TypeError as type_error:
611
+ self.logger.error(f"{source} | JSON-LD type error: {type_error}")
612
+ return Loaded()
610
613
 
611
614
  try:
612
615
  quads = list(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: iolanta
3
- Version: 2.1.20
3
+ Version: 2.1.22
4
4
  Summary: Semantic Web browser
5
5
  License: MIT
6
6
  Author: Anatoly Scherbakov
@@ -86,7 +86,7 @@ iolanta/facets/textual_class/facets.py,sha256=MiGTapgt30ME2fapwdrD_yQj4mhkdmyMAj
86
86
  iolanta/facets/textual_class/sparql/instances.sparql,sha256=Wx3xThlEgwz8gqH5Fnv789p1CiBRJGLOhRpChtFq1Us,139
87
87
  iolanta/facets/textual_class/textual-class.yamlld,sha256=HBQCC3Kg41rFfPne9Gx1CXsQ3nQPXmwUXh9hr3AQU5A,586
88
88
  iolanta/facets/textual_default/__init__.py,sha256=snxA0FEY9qfAxNv3MlZLrJsXugD4dvs5hLStZWV7soM,158
89
- iolanta/facets/textual_default/facets.py,sha256=D3W9kMxel_BqA8mWoxfWc3IJlHMwdM5ndyZ5SBeYHnA,5721
89
+ iolanta/facets/textual_default/facets.py,sha256=_9tjsEojtG6kSuIbz-2_qc-HUbufs5PheDOEj53_H1A,5745
90
90
  iolanta/facets/textual_default/sparql/inverse-properties.sparql,sha256=2m2q3C6jMQ_8o-0cPgIYrT77l6UnY3oqI37-Ed7p4-c,65
91
91
  iolanta/facets/textual_default/sparql/label.sparql,sha256=IWAkkgMKtIZ7Zpg8LUJ5fDZ9tiI8fiRYZo-zT61Fong,121
92
92
  iolanta/facets/textual_default/sparql/nodes-for-property.sparql,sha256=J9vg0Pz2HXDlPCeZ6IS2C0wODrpYDuNeD6DYT6UdNsU,68
@@ -164,13 +164,13 @@ iolanta/sparqlspace/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
164
164
  iolanta/sparqlspace/cli.py,sha256=pb6q03lzrU8OaZ4A3QAQEmaFYcQ_-sHUrPhRs6GE88w,1590
165
165
  iolanta/sparqlspace/inference/wikidata-prop-label.sparql,sha256=JYLAs28Z3a77cMcv44aZplwwrdqB-yshZn1dDZmRFAU,250
166
166
  iolanta/sparqlspace/inference/wikidata-statement-label.sparql,sha256=_Dp9jKCpCp2pLk0uacNUhUvvQ2Hov-WiMFprtuYTRyY,759
167
- iolanta/sparqlspace/processor.py,sha256=FGFydsboratdAloMxSqUVxM3epySg3Zf1hnJOkvyb-I,25529
167
+ iolanta/sparqlspace/processor.py,sha256=oAVewN98B9GwgAzkrzYfStAR4nyU2esAWPA_F3jGlfk,25675
168
168
  iolanta/sparqlspace/redirects.py,sha256=8k_8ow0vhQKdYZq-iN0XGsYVGYvQWWov0BpQc0BXPQk,2772
169
169
  iolanta/sparqlspace/sparqlspace.py,sha256=Y8_ZPXwuGEXbEes6XQjaQWA2Zv9y8SWxMPDFdqVBGFo,796
170
170
  iolanta/widgets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
171
171
  iolanta/widgets/description.py,sha256=98Qd3FwT9r8sYqKjl9ZEptaVX9jJ2ULWf0uy3j52p5o,800
172
172
  iolanta/widgets/mixin.py,sha256=nDRCOc-gizCf1a5DAcYs4hW8eZEd6pHBPFsfm0ncv7E,251
173
- iolanta-2.1.20.dist-info/METADATA,sha256=NNHUo9jZBtoUWehayFzugGdCamVM1jlh9OYeU9L-Dwk,2349
174
- iolanta-2.1.20.dist-info/WHEEL,sha256=3ny-bZhpXrU6vSQ1UPG34FoxZBp3lVcvK0LkgUz6VLk,88
175
- iolanta-2.1.20.dist-info/entry_points.txt,sha256=ArQ-tRMRs-X_w78E1-4f4oaE7beHskz9knYOPgkE-ms,2604
176
- iolanta-2.1.20.dist-info/RECORD,,
173
+ iolanta-2.1.22.dist-info/METADATA,sha256=d2_lWmVa097LSgmgdT9b6iST6LgJk3Fe5Gi5FUI_N90,2349
174
+ iolanta-2.1.22.dist-info/WHEEL,sha256=3ny-bZhpXrU6vSQ1UPG34FoxZBp3lVcvK0LkgUz6VLk,88
175
+ iolanta-2.1.22.dist-info/entry_points.txt,sha256=ArQ-tRMRs-X_w78E1-4f4oaE7beHskz9knYOPgkE-ms,2604
176
+ iolanta-2.1.22.dist-info/RECORD,,