iolanta 2.1.21__tar.gz → 2.1.23__tar.gz
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.
- {iolanta-2.1.21 → iolanta-2.1.23}/PKG-INFO +2 -2
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_default/facets.py +18 -16
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/sparqlspace/processor.py +3 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/pyproject.toml +2 -2
- {iolanta-2.1.21 → iolanta-2.1.23}/README.md +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/base_plugin.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/cli/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/cli/formatters/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/cli/formatters/choose.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/cli/formatters/csv.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/cli/formatters/json.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/cli/formatters/pretty.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/cli/main.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/cli/models.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/cli/pretty_print.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/context.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/conversions.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/data/context.yaml +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/data/graph-triples.yamlld +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/data/iolanta.yaml +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/data/textual-browser.yaml +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/declension/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/declension/data/declension.yamlld +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/declension/facet.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/declension/sparql/declension.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/ensure_is_context.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/entry_points.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/errors.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/cli/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/cli/base.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/cli/default.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/cli/record.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/cli/sparql/link.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/cli/sparql/record.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/errors.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/facet.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/foaf_person_title/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/foaf_person_title/facet.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/foaf_person_title/sparql/names.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/generic/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/generic/bool_literal.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/generic/date_literal.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/generic/default.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/generic/sparql/default.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/html/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/html/base.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/html/code_literal.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/html/default.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/icon.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/locator/sparql/get-query-to-facet.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/locator.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/mermaid_roadmap/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/mermaid_roadmap/facet.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/mermaid_roadmap/inference/blocks.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/mermaid_roadmap/inference/has-task-default-type.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/mermaid_roadmap/inference/task.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/mermaid_roadmap/inference/unblocked.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/mermaid_roadmap/mermaid_roadmap.yamlld +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/mermaid_roadmap/sparql/edges.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/mermaid_roadmap/sparql/nodes.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/mkdocs_material_insiders_markdown/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/mkdocs_material_insiders_markdown/data/mkdocs_material_insiders_markdown.yamlld +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/mkdocs_material_insiders_markdown/facet.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/mkdocs_material_insiders_markdown/templates/datatype.jinja2.md +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/page_title.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/qname.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/query/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/query/ask_result_csv.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/query/ask_result_json.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/query/ask_result_table.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/query/construct_result_csv.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/query/construct_result_json.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/query/construct_result_table.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/query/data/query_result.yamlld +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/query/select_result_csv.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/query/select_result_json.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/query/select_result_table.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_browser/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_browser/app.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_browser/facet.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_browser/history.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_browser/home.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_browser/location.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_browser/models.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_browser/page.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_browser/page_switcher.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_class/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_class/facets.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_class/sparql/instances.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_class/textual-class.yamlld +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_default/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_default/sparql/inverse-properties.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_default/sparql/label.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_default/sparql/nodes-for-property.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_default/sparql/properties.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_default/tcss/default.tcss +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_default/templates/default.md +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_default/textual-inverse-properties.yamlld +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_default/triple_uri_ref.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_default/widgets.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_graph/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_graph/facets.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_graph/sparql/triples.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_graph_triples.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_graphs/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_graphs/data/textual_graphs.yamlld +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_graphs/facets.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_graphs/sparql/graphs.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_link/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_link/facet.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_nanopublication/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_nanopublication/facet.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_nanopublication/models.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_nanopublication/nanopublication_widget.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_nanopublication/term_list_widget.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_nanopublication/term_widget.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_no_facet_found.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_ontology/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_ontology/facets.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_ontology/sparql/terms.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_ontology/sparql/visualization-vocab.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_property_pairs_table.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_provenance/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_provenance/facets.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_provenance/sparql/graphs.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_provenance/sparql/triples.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/title/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/title/facets.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/title/sparql/title.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/title/title.yamlld +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/wikibase_statement_title/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/wikibase_statement_title/facets.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/wikibase_statement_title/sparql/statement-title.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/iolanta.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/kglint/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/kglint/facet.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/kglint/kglint.yamlld +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/kglint/models.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/kglint/sparql/triples.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/labeled_triple_set/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/labeled_triple_set/data/labeled_triple_set.yamlld +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/labeled_triple_set/labeled_triple_set.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/labeled_triple_set/sparql/triples.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/mcp/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/mcp/cli.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/mermaid/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/mermaid/facet.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/mermaid/mermaid.yamlld +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/mermaid/models.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/mermaid/sparql/ask-has-triples.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/mermaid/sparql/graph.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/mermaid/sparql/subgraphs.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/models.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/namespaces.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/node_to_qname.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/parse_quads.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/plugin.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/query_result.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/reformat_blank_nodes.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/resolvers/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/resolvers/base.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/resolvers/dispatch.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/resolvers/pypi.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/resolvers/python_import.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/sparqlspace/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/sparqlspace/cli.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/sparqlspace/inference/wikidata-prop-label.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/sparqlspace/inference/wikidata-statement-label.sparql +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/sparqlspace/redirects.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/sparqlspace/sparqlspace.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/widgets/__init__.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/widgets/description.py +0 -0
- {iolanta-2.1.21 → iolanta-2.1.23}/iolanta/widgets/mixin.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: iolanta
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.23
|
|
4
4
|
Summary: Semantic Web browser
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Anatoly Scherbakov
|
|
@@ -35,7 +35,7 @@ Requires-Dist: rich (>=13.3.1)
|
|
|
35
35
|
Requires-Dist: textual (>=0.83.0)
|
|
36
36
|
Requires-Dist: typer (>=0.9.0)
|
|
37
37
|
Requires-Dist: watchfiles (>=1.0.4)
|
|
38
|
-
Requires-Dist: yaml-ld (>=1.1.
|
|
38
|
+
Requires-Dist: yaml-ld (>=1.1.17)
|
|
39
39
|
Requires-Dist: yarl (>=1.9.4)
|
|
40
40
|
Description-Content-Type: text/markdown
|
|
41
41
|
|
|
@@ -33,10 +33,10 @@ class Description(Static):
|
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
class TextualDefaultFacet(Facet[Widget]):
|
|
36
|
+
class TextualDefaultFacet(Facet[Widget]): # noqa: WPS214
|
|
37
37
|
"""Default rendering engine."""
|
|
38
38
|
|
|
39
|
-
query_file_name =
|
|
39
|
+
query_file_name = "properties.sparql"
|
|
40
40
|
properties_on_the_right = False
|
|
41
41
|
|
|
42
42
|
@functools.cached_property
|
|
@@ -47,10 +47,7 @@ class TextualDefaultFacet(Facet[Widget]): # noqa: WPS214
|
|
|
47
47
|
this=self.this,
|
|
48
48
|
)
|
|
49
49
|
|
|
50
|
-
property_pairs = [
|
|
51
|
-
(row['property'], row['object'])
|
|
52
|
-
for row in property_rows
|
|
53
|
-
]
|
|
50
|
+
property_pairs = [(row["property"], row["object"]) for row in property_rows]
|
|
54
51
|
|
|
55
52
|
iolanta_lang = str(self.iolanta.language)
|
|
56
53
|
property_pairs = [
|
|
@@ -79,7 +76,9 @@ class TextualDefaultFacet(Facet[Widget]): # noqa: WPS214
|
|
|
79
76
|
property_value=property_value,
|
|
80
77
|
subject=self.this,
|
|
81
78
|
property_iri=property_iri,
|
|
82
|
-
)
|
|
79
|
+
)
|
|
80
|
+
if isinstance(property_value, Literal)
|
|
81
|
+
else PropertyValue(
|
|
83
82
|
property_value=property_value,
|
|
84
83
|
subject=self.this,
|
|
85
84
|
property_iri=property_iri,
|
|
@@ -130,26 +129,28 @@ class TextualDefaultFacet(Facet[Widget]): # noqa: WPS214
|
|
|
130
129
|
|
|
131
130
|
match literal_value:
|
|
132
131
|
case str() as string:
|
|
133
|
-
|
|
132
|
+
# Escape ALL square brackets - Rich's escape_markup only escapes
|
|
133
|
+
# lowercase tags, but [[ItemList]] etc. still cause MarkupError
|
|
134
|
+
return string.replace("[", r"\[")
|
|
134
135
|
|
|
135
136
|
case minidom.Document() as xml_document:
|
|
136
137
|
return Syntax(
|
|
137
138
|
xml_document.toxml(),
|
|
138
|
-
|
|
139
|
+
"xml",
|
|
139
140
|
)
|
|
140
141
|
|
|
141
142
|
case something_else:
|
|
142
143
|
type_of_something_else = type(something_else)
|
|
143
144
|
raise ValueError(
|
|
144
|
-
f
|
|
145
|
-
f
|
|
145
|
+
f"What is this? {something_else} " # noqa: WPS326
|
|
146
|
+
f"is a {type_of_something_else}!", # noqa: WPS326
|
|
146
147
|
)
|
|
147
148
|
|
|
148
149
|
@functools.cached_property
|
|
149
150
|
def properties(self) -> Widget | None:
|
|
150
151
|
"""Render properties table."""
|
|
151
152
|
if not self.grouped_properties:
|
|
152
|
-
return Static(
|
|
153
|
+
return Static("No properties found ☹")
|
|
153
154
|
|
|
154
155
|
return PropertiesContainer(*self.rows)
|
|
155
156
|
|
|
@@ -160,7 +161,7 @@ class TextualDefaultFacet(Facet[Widget]): # noqa: WPS214
|
|
|
160
161
|
|
|
161
162
|
if self.description:
|
|
162
163
|
widgets.append(Description(self.description))
|
|
163
|
-
|
|
164
|
+
|
|
164
165
|
widgets.append(self.properties)
|
|
165
166
|
|
|
166
167
|
return VerticalScroll(*widgets)
|
|
@@ -176,11 +177,12 @@ class PageFooter(PageTitle):
|
|
|
176
177
|
}
|
|
177
178
|
"""
|
|
178
179
|
|
|
180
|
+
|
|
179
181
|
class InverseProperties(TextualDefaultFacet):
|
|
180
182
|
"""Inverse properties view."""
|
|
181
183
|
|
|
182
|
-
META = Path(__file__).parent /
|
|
183
|
-
query_file_name =
|
|
184
|
+
META = Path(__file__).parent / "textual-inverse-properties.yamlld"
|
|
185
|
+
query_file_name = "inverse-properties.sparql"
|
|
184
186
|
properties_on_the_right = True
|
|
185
187
|
|
|
186
188
|
def show(self) -> Widget:
|
|
@@ -189,5 +191,5 @@ class InverseProperties(TextualDefaultFacet):
|
|
|
189
191
|
VerticalScroll(
|
|
190
192
|
self.properties,
|
|
191
193
|
),
|
|
192
|
-
PageFooter(self.this, extra=
|
|
194
|
+
PageFooter(self.this, extra="[i]& its inverse RDF properties[/i]"),
|
|
193
195
|
)
|
|
@@ -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
|
[tool.poetry]
|
|
2
2
|
name = "iolanta"
|
|
3
|
-
version = "2.1.
|
|
3
|
+
version = "2.1.23"
|
|
4
4
|
description = "Semantic Web browser"
|
|
5
5
|
authors = ["Anatoly Scherbakov <altaisoft@gmail.com>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -24,7 +24,7 @@ rich = ">=13.3.1"
|
|
|
24
24
|
textual = ">=0.83.0"
|
|
25
25
|
yarl = ">=1.9.4"
|
|
26
26
|
boltons = ">=24.0.0"
|
|
27
|
-
yaml-ld = ">=1.1.
|
|
27
|
+
yaml-ld = ">=1.1.17"
|
|
28
28
|
reasonable = ">=0.2.6"
|
|
29
29
|
oxrdflib = ">=0.4.0"
|
|
30
30
|
loguru = ">=0.7.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/mkdocs_material_insiders_markdown/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_default/sparql/inverse-properties.sparql
RENAMED
|
File without changes
|
|
File without changes
|
{iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_default/sparql/nodes-for-property.sparql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_default/textual-inverse-properties.yamlld
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_nanopublication/nanopublication_widget.py
RENAMED
|
File without changes
|
{iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_nanopublication/term_list_widget.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{iolanta-2.1.21 → iolanta-2.1.23}/iolanta/facets/textual_ontology/sparql/visualization-vocab.sparql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{iolanta-2.1.21 → iolanta-2.1.23}/iolanta/sparqlspace/inference/wikidata-statement-label.sparql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|