maplib 0.17.11__tar.gz → 0.17.12__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.
- {maplib-0.17.11 → maplib-0.17.12}/Cargo.lock +1 -3
- {maplib-0.17.11 → maplib-0.17.12}/PKG-INFO +1 -1
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/expressions/functions.rs +59 -63
- {maplib-0.17.11 → maplib-0.17.12}/lib/report_mapping/src/lib.rs +1 -1
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/Cargo.toml +1 -3
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/src/lib.rs +0 -1
- {maplib-0.17.11 → maplib-0.17.12}/Cargo.toml +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/LICENSE +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/README.md +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/cimxml/Cargo.toml +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/cimxml/src/export.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/cimxml/src/lib.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/datalog/Cargo.toml +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/datalog/src/ast.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/datalog/src/inference.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/datalog/src/lib.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/datalog/src/parser.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/file_io/Cargo.toml +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/file_io/src/lib.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/fts/Cargo.toml +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/fts/src/lib.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/maplib/Cargo.toml +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/maplib/src/errors.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/maplib/src/lib.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/maplib/src/mapping/constant_terms.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/maplib/src/mapping/default.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/maplib/src/mapping/errors.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/maplib/src/mapping/expansion/validation.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/maplib/src/mapping/expansion.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/maplib/src/mapping.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/pydf_io/Cargo.toml +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/pydf_io/LICENSE +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/pydf_io/README.md +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/pydf_io/licensing/POLARS_LICENSE +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/pydf_io/src/lib.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/pydf_io/src/to_python.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/pydf_io/src/to_rust.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/Cargo.toml +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/LICENSE +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/README.md +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/aggregates.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/cats.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/constants.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/errors.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/exists_helper.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/expressions/comparisons.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/expressions/operations.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/expressions.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/find_query_variables.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/graph_patterns/cats.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/graph_patterns/group.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/graph_patterns/join.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/graph_patterns/order.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/graph_patterns/union.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/graph_patterns/values.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/graph_patterns.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/lib.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/pushdowns.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/query_processing/src/type_constraints.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/report_mapping/Cargo.toml +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/Cargo.toml +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/LICENSE +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/README.md +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/base_rdf_type.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/cats/decode.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/cats/encode.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/cats/globalize.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/cats/image.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/cats/re_encode.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/cats/split.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/cats.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/errors.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/formatting.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/lib.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/literals.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/multitype.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/polars_to_rdf.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/python.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/query_context.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/rdf_state.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/rdf_to_polars.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/rdf_type.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/solution_mapping.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/representation/src/subtypes.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/shacl/Cargo.toml +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/shacl/src/errors.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/shacl/src/lib.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/shacl/src/storage.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/spargebra/Cargo.toml +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/spargebra/LICENSE +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/spargebra/README.md +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/spargebra/src/algebra.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/spargebra/src/lib.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/spargebra/src/parser.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/spargebra/src/query.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/spargebra/src/query_context.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/spargebra/src/remove_sugar.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/spargebra/src/term.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/spargebra/src/treehouse.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/spargebra/src/update.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/Cargo.toml +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/src/ast.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/src/compatible.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/src/constants.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/src/dataset/errors.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/src/dataset.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/src/document.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/src/lib.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/src/parsing/errors.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/src/parsing/nom_parsing.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/src/parsing/parser_test.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/src/parsing/parsing_ast.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/src/parsing.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/src/python.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/src/resolver.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/templates/src/subtypes_ext.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/Cargo.toml +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/cats.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/dblf.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/errors.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/io_funcs.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/lib.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/native_parquet_write.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/query_solutions.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/rdfs_inferencing.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/delete.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/errors.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/insert.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_aggregate.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_expressions.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/distinct.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/extend.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/filter.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/group.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/join.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/left_join.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/minus.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/order_by.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/path.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/project.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/pvalues.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/triple.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/triples_ordering.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/union.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/values.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_order.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/rewrite/rewrite_cse.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/rewrite/rewrite_pushdown.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/rewrite.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/storage.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/triples_read.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/triples_write/fast_ntriples.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/triples_write/serializers.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/triples_write.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/utils/Cargo.toml +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/utils/src/lib.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/lib/utils/src/polars.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/maplib/__init__.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/maplib/__init__.pyi +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/maplib/adding_triples.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/maplib/py.typed +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/LICENSE +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/README.md +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/maplib/.gitignore +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/maplib/__init__.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/maplib/__init__.pyi +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/maplib/adding_triples.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/maplib/py.typed +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/src/error.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/src/shacl.rs +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/.gitignore +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/__init__.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/out.ttl +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/requirements.txt +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/test_basics.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/test_blank_nodes_multi.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/test_data_validation.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/test_exceptions.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/test_integration.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/test_multi_expressions.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/test_pizza_example.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/test_programmatic_pizza_example.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/test_rdf_parser.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/test_read_write.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/test_stottr.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/test_validate_iris.py +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/expected_easy_case.ttl +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/iterated_property_path_constant_object_query.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/iterated_property_path_constant_subject_query.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/iterated_property_path_query.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/iterated_property_path_query_with_bug.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/larger_ordered_query.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/larger_query.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/multi_concat.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/multi_datatype_join_query.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/multi_datatype_join_query_two_vars.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/multi_datatype_leftjoin_query.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/multi_datatype_query.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/multi_datatype_query_sorting.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/multi_datatype_union_query.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/multi_datatype_union_query_native_df.parquet +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/multi_datatype_union_sort_desc1_query.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/multi_datatype_union_sort_query.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/multi_many_comp.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/property_path_query.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/rdf_parser/date_panic.nt +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/read_ntriples.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/read_ntriples.nt +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/read_ntriples2.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/simple_construct_query_nothing.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/simple_construct_query_something.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/simple_insert_query_nothing.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/simple_insert_query_something.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/simple_property_path_query.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/simple_query.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/stringfuncs.csv +0 -0
- {maplib-0.17.11 → maplib-0.17.12}/pyproject.toml +0 -0
|
@@ -2470,12 +2470,11 @@ dependencies = [
|
|
|
2470
2470
|
|
|
2471
2471
|
[[package]]
|
|
2472
2472
|
name = "py_maplib"
|
|
2473
|
-
version = "0.17.
|
|
2473
|
+
version = "0.17.12"
|
|
2474
2474
|
dependencies = [
|
|
2475
2475
|
"chrono",
|
|
2476
2476
|
"cimxml",
|
|
2477
2477
|
"jemallocator",
|
|
2478
|
-
"log",
|
|
2479
2478
|
"maplib",
|
|
2480
2479
|
"mimalloc",
|
|
2481
2480
|
"oxrdf",
|
|
@@ -2489,7 +2488,6 @@ dependencies = [
|
|
|
2489
2488
|
"templates",
|
|
2490
2489
|
"thiserror",
|
|
2491
2490
|
"tracing",
|
|
2492
|
-
"tracing-log",
|
|
2493
2491
|
"tracing-subscriber",
|
|
2494
2492
|
"triplestore",
|
|
2495
2493
|
"uuid",
|
|
@@ -1472,76 +1472,62 @@ pub fn func_expression(
|
|
|
1472
1472
|
let bs = t.get_base_state().unwrap();
|
|
1473
1473
|
let decoded =
|
|
1474
1474
|
maybe_decode_expr(col(first_context.as_str()), bt, bs, global_cats.clone());
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
decoded
|
|
1479
|
-
.str()
|
|
1480
|
-
.starts_with(second_decoded)
|
|
1481
|
-
.alias(outer_context.as_str()),
|
|
1482
|
-
);
|
|
1483
|
-
}
|
|
1484
|
-
Function::StrEnds => {
|
|
1485
|
-
solution_mappings.mappings = solution_mappings.mappings.with_column(
|
|
1486
|
-
decoded
|
|
1487
|
-
.str()
|
|
1488
|
-
.ends_with(second_decoded)
|
|
1489
|
-
.alias(outer_context.as_str()),
|
|
1490
|
-
);
|
|
1491
|
-
}
|
|
1492
|
-
Function::Contains => {
|
|
1493
|
-
solution_mappings.mappings = solution_mappings.mappings.with_column(
|
|
1494
|
-
decoded
|
|
1495
|
-
.str()
|
|
1496
|
-
.contains_literal(second_decoded)
|
|
1497
|
-
.alias(outer_context.as_str()),
|
|
1498
|
-
);
|
|
1499
|
-
}
|
|
1500
|
-
_ => panic!("Should never happen"),
|
|
1501
|
-
}
|
|
1475
|
+
let expr = str_starts_ends_contains(decoded, second_decoded, func)
|
|
1476
|
+
.alias(outer_context.as_str());
|
|
1477
|
+
solution_mappings.mappings = solution_mappings.mappings.with_column(expr);
|
|
1502
1478
|
} else if t.is_lang_string() {
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
.
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
.
|
|
1522
|
-
|
|
1523
|
-
|
|
1479
|
+
let expr = str_starts_ends_contains(
|
|
1480
|
+
col(first_context.as_str())
|
|
1481
|
+
.struct_()
|
|
1482
|
+
.field_by_name(LANG_STRING_VALUE_FIELD),
|
|
1483
|
+
second_decoded,
|
|
1484
|
+
func,
|
|
1485
|
+
)
|
|
1486
|
+
.alias(outer_context.as_str());
|
|
1487
|
+
solution_mappings.mappings = solution_mappings.mappings.with_column(expr);
|
|
1488
|
+
} else if t.is_multi() {
|
|
1489
|
+
let mut exprs = vec![];
|
|
1490
|
+
for (bt, bs) in &t.map {
|
|
1491
|
+
if bt.is_lit_type(xsd::STRING) {
|
|
1492
|
+
exprs.push(
|
|
1493
|
+
str_starts_ends_contains(
|
|
1494
|
+
col(first_context.as_str())
|
|
1495
|
+
.struct_()
|
|
1496
|
+
.field_by_name(&bt.field_col_name()),
|
|
1497
|
+
second_decoded.clone(),
|
|
1498
|
+
func,
|
|
1499
|
+
)
|
|
1500
|
+
.alias(outer_context.as_str()),
|
|
1524
1501
|
);
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
|
-
solution_mappings.mappings = solution_mappings.mappings.with_column(
|
|
1502
|
+
} else if bt.is_lang_string() {
|
|
1503
|
+
exprs.push(str_starts_ends_contains(
|
|
1528
1504
|
col(first_context.as_str())
|
|
1529
1505
|
.struct_()
|
|
1530
|
-
.field_by_name(LANG_STRING_VALUE_FIELD)
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
.alias(outer_context.as_str()),
|
|
1535
|
-
);
|
|
1506
|
+
.field_by_name(LANG_STRING_VALUE_FIELD),
|
|
1507
|
+
second_decoded.clone(),
|
|
1508
|
+
func,
|
|
1509
|
+
))
|
|
1536
1510
|
}
|
|
1537
|
-
_ => panic!("Should never happen"),
|
|
1538
1511
|
}
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1512
|
+
if exprs.is_empty() {
|
|
1513
|
+
solution_mappings.mappings = solution_mappings.mappings.with_column(
|
|
1514
|
+
lit(LiteralValue::untyped_null())
|
|
1515
|
+
.cast(DataType::Boolean)
|
|
1516
|
+
.alias(outer_context.as_str()),
|
|
1517
|
+
);
|
|
1518
|
+
} else if exprs.len() == 1 {
|
|
1519
|
+
solution_mappings.mappings =
|
|
1520
|
+
solution_mappings.mappings.with_column(exprs.pop().unwrap());
|
|
1521
|
+
} else {
|
|
1522
|
+
solution_mappings.mappings =
|
|
1523
|
+
solution_mappings.mappings.with_column(coalesce(&exprs));
|
|
1524
|
+
}
|
|
1543
1525
|
} else {
|
|
1544
|
-
|
|
1526
|
+
solution_mappings.mappings = solution_mappings.mappings.with_column(
|
|
1527
|
+
lit(LiteralValue::untyped_null())
|
|
1528
|
+
.cast(DataType::Boolean)
|
|
1529
|
+
.alias(outer_context.as_str()),
|
|
1530
|
+
);
|
|
1545
1531
|
}
|
|
1546
1532
|
solution_mappings.rdf_node_types.insert(
|
|
1547
1533
|
outer_context.as_str().to_string(),
|
|
@@ -1800,6 +1786,7 @@ pub fn str_function(c: &str, t: &RDFNodeState, global_cats: LockedCats) -> Expr
|
|
|
1800
1786
|
s,
|
|
1801
1787
|
global_cats.clone(),
|
|
1802
1788
|
)
|
|
1789
|
+
.cast(DataType::String)
|
|
1803
1790
|
}
|
|
1804
1791
|
}
|
|
1805
1792
|
BaseRDFNodeType::None => lit(LiteralValue::untyped_null()).cast(DataType::String),
|
|
@@ -1974,3 +1961,12 @@ pub fn add_regex_feature_flags(pattern: &str, flags: Option<&str>) -> String {
|
|
|
1974
1961
|
pattern.to_string()
|
|
1975
1962
|
}
|
|
1976
1963
|
}
|
|
1964
|
+
|
|
1965
|
+
pub fn str_starts_ends_contains(expr_decoded: Expr, second_decoded: Expr, f: &Function) -> Expr {
|
|
1966
|
+
match f {
|
|
1967
|
+
Function::StrStarts => expr_decoded.str().starts_with(second_decoded),
|
|
1968
|
+
Function::StrEnds => expr_decoded.str().ends_with(second_decoded),
|
|
1969
|
+
Function::Contains => expr_decoded.str().contains_literal(second_decoded),
|
|
1970
|
+
_ => unreachable!("Should never happen"),
|
|
1971
|
+
}
|
|
1972
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "py_maplib"
|
|
3
|
-
version = "0.17.
|
|
3
|
+
version = "0.17.12"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
|
|
@@ -27,12 +27,10 @@ polars = { workspace = true, features = [
|
|
|
27
27
|
"dtype-datetime", "dtype-decimal", "dtype-duration",
|
|
28
28
|
"dtype-i8", "dtype-i16", "dtype-struct",
|
|
29
29
|
"dtype-time", "dtype-u8", "dtype-u16"], default-features = false }
|
|
30
|
-
log.workspace = true
|
|
31
30
|
uuid.workspace = true
|
|
32
31
|
chrono.workspace = true
|
|
33
32
|
|
|
34
33
|
tracing.workspace = true
|
|
35
|
-
tracing-log.workspace = true
|
|
36
34
|
tracing-subscriber.workspace = true
|
|
37
35
|
|
|
38
36
|
[lib]
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/distinct.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/left_join.rs
RENAMED
|
File without changes
|
|
File without changes
|
{maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/order_by.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maplib-0.17.11 → maplib-0.17.12}/lib/triplestore/src/sparql/lazy_graph_patterns/triples_ordering.rs
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/iterated_property_path_query_with_bug.csv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/multi_datatype_join_query_two_vars.csv
RENAMED
|
File without changes
|
{maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/multi_datatype_leftjoin_query.csv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/multi_datatype_union_sort_desc1_query.csv
RENAMED
|
File without changes
|
{maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/multi_datatype_union_sort_query.csv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/simple_construct_query_nothing.csv
RENAMED
|
File without changes
|
{maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/simple_construct_query_something.csv
RENAMED
|
File without changes
|
|
File without changes
|
{maplib-0.17.11 → maplib-0.17.12}/py_maplib/tests/testdata/simple_insert_query_something.csv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|