rete-graph 0.7.0__tar.gz → 0.7.2__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.
- {rete_graph-0.7.0 → rete_graph-0.7.2}/Cargo.toml +9 -1
- {rete_graph-0.7.0 → rete_graph-0.7.2}/PKG-INFO +1 -1
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/Cargo.lock +76 -2
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/Cargo.toml +1 -1
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/Cargo.toml +10 -1
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/README.md +1 -1
- rete_graph-0.7.2/crates/rete-core/src/ingest/jsonld.rs +408 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/ingest.rs +39 -1
- {rete_graph-0.7.0 → rete_graph-0.7.2}/pyproject.toml +1 -1
- {rete_graph-0.7.0 → rete_graph-0.7.2}/python/rete_graph/__init__.py +3 -1
- {rete_graph-0.7.0 → rete_graph-0.7.2}/README.md +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/.gitignore +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/README.md +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/examples/agents/README.md +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/examples/agents/langchain_agent.py +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/examples/agents/pydantic_ai_agent.py +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/examples/agents/rete_tools.py +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/examples/graph-data-science.ipynb +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/examples/jupyterlite-build-tutorial.ipynb +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/examples/jupyterlite-demo.ipynb +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/examples/tutorial.ipynb +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/src/lib.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/src/readers.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/tests/conftest.py +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/tests/test_rdf12.py +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/tests/test_rete_graph.py +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/tests/test_threads_and_http.py +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/clients/python/tests/test_warnings.py +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/LICENSE +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/build.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/examples/coherence_bench.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/examples/compression_lab.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/examples/parallel_bench.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/examples/qbench.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/bgp/class_probe.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/bgp.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/block_cache.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/build_progress.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/build_record.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/build_trace.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/card_derive.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/card_input.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/card_queries.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/chunk_cache.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/derived.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/dict.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/dictionary.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/extbuild.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/extbuild_remap.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/extbuild_sections.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/extbuild_spill.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/extbuild_v06.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/extsort.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/fastre.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/file/hardening_tests.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/file.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/geo.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/geo3.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/guard.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/header.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/hll.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/http.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/index.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/ingest/jelly.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/iri.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/label_index.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/lib.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/manifest.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/meta.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/parallel.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/pyramid.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/quad/probe.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/quad.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/quad7.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/reach.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/reader.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/reason.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/recard.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/results.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/row.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/schema_pyramid.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/schema_section.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/service.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/shacl.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql/aggregate.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql/diag.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql/distinct.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql/distinct_union.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql/eval.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql/expr.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql/fedmerge.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql/lower.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql/par_agg.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql/partition.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql/path.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql/prefetch.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql/ql.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql/sparql12.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql/value.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sparql.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/sysmem.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/term_order.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/terms.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/text_index.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/text_index_spill.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/tiling.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/triples.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/union_scan.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/v06/annex.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/v06/cluster.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/v06/cluster_tests.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/v06/derived.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/v06/dictcheck.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/v06/mod.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/v06/neworders.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/v06/open.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/v06/parts.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/v06/roundtrip.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/v06/write.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/varint.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/src/write_opts.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/cluster_0x07.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/cluster_spog_0x07.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/community_eval.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/compatibility_v1.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/contains_str_pushdown.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/decode_ahead.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/decode_count.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/derived_iris_0x08.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/dict_order_0x08.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/entailment_sets.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/fixtures/louvain-hangs/jev-commander-145.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/fixtures/louvain-hangs/jev-random30-30.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/fixtures/louvain-hangs/jev-random63-63.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/fixtures/louvain-hangs/min-15-level0.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/fixtures/louvain-hangs/min-18-level1.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/fixtures/v1/glue-stub.js +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/fixtures/v1/minimal.rete +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/fixtures/v1/source.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/graph_scope.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/graph_variable_scale.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/grouped_on_threads.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/hostile_framing.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/iri_differential.proptest-regressions +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/iri_differential.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/LICENSE +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/README.md +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_1_1/neg_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_1_1/pos_002/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_1_1/pos_002/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_1_1/pos_005/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_1_1/pos_005/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_1_1/pos_005/out_001.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_1_1/pos_005/out_002.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_1_1/pos_008/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_1_1/pos_008/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_1_1/pos_008/out_001.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_1_1/pos_008/out_002.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_1_1/pos_011/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_1_1/pos_011/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_1_1/pos_011/out_001.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_star/neg_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_star/pos_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_star/pos_001/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_star/pos_004/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_star/pos_004/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_star/pos_007/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_star/pos_007/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_star/pos_007/out_001.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/graphs_rdf_star/pos_007/out_002.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1/neg_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1/pos_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1/pos_001/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1/pos_004/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1/pos_004/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1/pos_004/out_001.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1/pos_004/out_002.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1/pos_007/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1/pos_007/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1/pos_007/out_001.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1_generalized/pos_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1_generalized/pos_001/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1_generalized/pos_004/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1_generalized/pos_004/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1_generalized/pos_004/out_001.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_1_1_generalized/pos_004/out_002.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_star/neg_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_star/pos_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_star/pos_001/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_star/pos_004/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_star/pos_004/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_star/pos_007/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_star/pos_007/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_star/pos_007/out_001.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_star/pos_007/out_002.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_star_generalized/neg_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_star_generalized/pos_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_star_generalized/pos_001/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_star_generalized/pos_004/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/quads_rdf_star_generalized/pos_004/out_000.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/neg_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/neg_005/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/neg_008/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/neg_013/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_003/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_003/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_006/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_006/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_009/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_009/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_009/out_001.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_009/out_002.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_013/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_013/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_013/out_001.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_016/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_016/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_016/out_001.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_016/out_002.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1/pos_016/out_003.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1_generalized/pos_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1_generalized/pos_001/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1_generalized/pos_004/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1_generalized/pos_004/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1_generalized/pos_004/out_001.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_1_1_generalized/pos_004/out_002.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_star/neg_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_star/pos_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_star/pos_001/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_star/pos_004/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_star/pos_004/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_star/pos_007/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_star/pos_007/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_star/pos_007/out_001.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_star_generalized/neg_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_star_generalized/pos_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_star_generalized/pos_001/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_star_generalized/pos_004/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_1/triples_rdf_star_generalized/pos_004/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/neg_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/neg_004/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_003/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_003/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_003/out_001.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_003/out_002.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_003/out_003.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_006/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_006/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_006/out_001.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_009/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_009/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_009/out_001.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_012/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_012/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_012/out_001.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_012/out_002.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_015/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/messages/pos_015/out_000.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_1/neg_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_1/pos_002/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_1/pos_002/out.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_1/pos_005/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_1/pos_005/out.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_1/pos_008/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_1/pos_008/out.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_1/pos_011/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_1/pos_011/out.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_1/pos_014/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_1/pos_014/out.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_1/pos_017/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_1/pos_017/out.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_2/neg_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_2_basic/pos_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/quads_rdf_1_2_basic/pos_001/out.nq +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_004/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_007/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_010/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_013/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_016/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_019/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_022/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_025/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_028/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_031/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_034/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_037/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_040/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_043/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_046/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_049/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_052/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_055/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_058/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_061/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_064/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_067/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/neg_070/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_002/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_002/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_005/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_005/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_008/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_008/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_011/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_011/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_014/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_014/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_017/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_017/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_020/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_020/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_023/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_023/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_026/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_026/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_029/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_029/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_032/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_032/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_035/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_035/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_038/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_038/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_041/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_041/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_044/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_044/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_047/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_047/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_050/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_050/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_053/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_053/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_056/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_056/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_059/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_059/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_062/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_062/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_065/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_065/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_068/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_068/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_071/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_1/pos_071/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2/neg_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2/neg_004/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2/neg_007/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2/neg_010/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2/neg_013/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2/pos_002/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2/pos_002/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2/pos_005/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2/pos_005/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2/pos_008/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2/pos_008/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2/pos_011/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2/pos_011/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2/pos_014/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2/pos_014/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2_basic/neg_001/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2_basic/neg_004/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2_basic/pos_003/in.jelly +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly-conformance/v1_2/triples_rdf_1_2_basic/pos_003/out.nt +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/jelly_conformance.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/label_schema_sections.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/leaf_policy.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/lookup_batch.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/louvain_termination.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/named_graph_tiles.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/optional_after_filter.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/polyglot_roundtrip.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/properties.proptest-regressions +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/properties.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/public_api.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/quad_directory_reads.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/quad_index.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/quad_orders_0x07.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/ranged.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/regex_unicode.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/robustness.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/roundtrip.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/select_rows.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/select_rows_order_0x08.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/service_federation.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/shacl_core.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/sparql12_triple_terms.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/sparql_blank_nodes.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/sparql_group_concat.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/sparql_integration.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/sparql_nondeterministic.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/sparql_partition.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/sparql_warnings.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/string_literals.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/text_index_scope.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/text_pushdown_coverage.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/union_0x08.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/union_default_scan.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/v06_ranged.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/write_api.rs +0 -0
- {rete_graph-0.7.0 → rete_graph-0.7.2}/crates/rete-core/tests/write_opts.rs +0 -0
|
@@ -18,7 +18,7 @@ members = [
|
|
|
18
18
|
exclude = ["fuzz", "clients/python", "clients/r/src/rust", "clients/java/ffi", "clients/tauri/src-tauri"]
|
|
19
19
|
|
|
20
20
|
[workspace.package]
|
|
21
|
-
version = "0.7.
|
|
21
|
+
version = "0.7.2"
|
|
22
22
|
edition = "2021"
|
|
23
23
|
license = "Apache-2.0"
|
|
24
24
|
repository = "https://github.com/caviri/rete"
|
|
@@ -49,6 +49,14 @@ oxttl12 = { package = "oxttl", version = "0.2", features = ["rdf-12"] }
|
|
|
49
49
|
# code that `oxttl12` was not already pulling in.
|
|
50
50
|
oxrdf12 = { package = "oxrdf", version = "0.3", features = ["rdf-12"] }
|
|
51
51
|
oxrdfxml = "0.1"
|
|
52
|
+
# JSON-LD 1.1 reader (`rete build` of `.jsonld`, and of YAML-LD through
|
|
53
|
+
# `yaml_serde`). It builds on `oxrdf` 0.3 -- the same line `oxrdf12` names above --
|
|
54
|
+
# so the quads it hands back are rendered the way the RDF 1.2 Turtle reader's are.
|
|
55
|
+
oxjsonld = { version = "0.2", features = ["rdf-12"] }
|
|
56
|
+
# YAML 1.2 -> serde values, for YAML-LD's basic profile: the YAML document is
|
|
57
|
+
# turned into JSON and read as JSON-LD. The YAML organisation's continuation of
|
|
58
|
+
# serde_yaml, which is archived.
|
|
59
|
+
yaml_serde = "0.10"
|
|
52
60
|
spargebra = { version = "0.3", features = ["rdf-star"] }
|
|
53
61
|
serde_json = "1"
|
|
54
62
|
# Range reads from S3/GCS/HTTP and content hashing / compression.
|
|
@@ -156,6 +156,12 @@ version = "1.19.0"
|
|
|
156
156
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
157
157
|
checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
|
|
158
158
|
|
|
159
|
+
[[package]]
|
|
160
|
+
name = "equivalent"
|
|
161
|
+
version = "1.0.3"
|
|
162
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
163
|
+
checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
|
|
164
|
+
|
|
159
165
|
[[package]]
|
|
160
166
|
name = "find-msvc-tools"
|
|
161
167
|
version = "0.1.9"
|
|
@@ -203,6 +209,12 @@ dependencies = [
|
|
|
203
209
|
"r-efi",
|
|
204
210
|
]
|
|
205
211
|
|
|
212
|
+
[[package]]
|
|
213
|
+
name = "hashbrown"
|
|
214
|
+
version = "0.17.1"
|
|
215
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
216
|
+
checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
|
|
217
|
+
|
|
206
218
|
[[package]]
|
|
207
219
|
name = "heck"
|
|
208
220
|
version = "0.5.0"
|
|
@@ -312,6 +324,16 @@ dependencies = [
|
|
|
312
324
|
"icu_properties",
|
|
313
325
|
]
|
|
314
326
|
|
|
327
|
+
[[package]]
|
|
328
|
+
name = "indexmap"
|
|
329
|
+
version = "2.14.2"
|
|
330
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
331
|
+
checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
|
|
332
|
+
dependencies = [
|
|
333
|
+
"equivalent",
|
|
334
|
+
"hashbrown",
|
|
335
|
+
]
|
|
336
|
+
|
|
315
337
|
[[package]]
|
|
316
338
|
name = "itoa"
|
|
317
339
|
version = "1.0.18"
|
|
@@ -328,12 +350,24 @@ dependencies = [
|
|
|
328
350
|
"libc",
|
|
329
351
|
]
|
|
330
352
|
|
|
353
|
+
[[package]]
|
|
354
|
+
name = "json-event-parser"
|
|
355
|
+
version = "0.2.3"
|
|
356
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
357
|
+
checksum = "574b0cd5e90ee2ba03a66d0611fc9a09c9a0c28b2ecc2dc8a181dd31a53ca5d7"
|
|
358
|
+
|
|
331
359
|
[[package]]
|
|
332
360
|
name = "libc"
|
|
333
361
|
version = "0.2.186"
|
|
334
362
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
335
363
|
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
336
364
|
|
|
365
|
+
[[package]]
|
|
366
|
+
name = "libyaml-rs"
|
|
367
|
+
version = "0.3.0"
|
|
368
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
369
|
+
checksum = "2e126dda6f34391ab7b444f9922055facc83c07a910da3eb16f1e4d9c45dc777"
|
|
370
|
+
|
|
337
371
|
[[package]]
|
|
338
372
|
name = "litemap"
|
|
339
373
|
version = "0.8.2"
|
|
@@ -383,6 +417,19 @@ version = "0.2.11"
|
|
|
383
417
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
384
418
|
checksum = "54b4ed3a7192fa19f5f48f99871f2755047fabefd7f222f12a1df1773796a102"
|
|
385
419
|
|
|
420
|
+
[[package]]
|
|
421
|
+
name = "oxjsonld"
|
|
422
|
+
version = "0.2.6"
|
|
423
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
424
|
+
checksum = "86a3e89e005662e60327027f45ec7cefd0472404e01831b5d83a3ac522cfabe0"
|
|
425
|
+
dependencies = [
|
|
426
|
+
"json-event-parser",
|
|
427
|
+
"oxiri",
|
|
428
|
+
"oxrdf 0.3.4",
|
|
429
|
+
"ryu-js",
|
|
430
|
+
"thiserror",
|
|
431
|
+
]
|
|
432
|
+
|
|
386
433
|
[[package]]
|
|
387
434
|
name = "oxrdf"
|
|
388
435
|
version = "0.2.4"
|
|
@@ -686,12 +733,13 @@ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
|
|
|
686
733
|
|
|
687
734
|
[[package]]
|
|
688
735
|
name = "rete-core"
|
|
689
|
-
version = "0.7.
|
|
736
|
+
version = "0.7.2"
|
|
690
737
|
dependencies = [
|
|
691
738
|
"blake3",
|
|
692
739
|
"getrandom 0.2.17",
|
|
693
740
|
"md-5",
|
|
694
741
|
"oxiri",
|
|
742
|
+
"oxjsonld",
|
|
695
743
|
"oxrdf 0.2.4",
|
|
696
744
|
"oxrdf 0.3.4",
|
|
697
745
|
"oxrdfxml",
|
|
@@ -708,12 +756,13 @@ dependencies = [
|
|
|
708
756
|
"spargebra",
|
|
709
757
|
"thiserror",
|
|
710
758
|
"ureq",
|
|
759
|
+
"yaml_serde",
|
|
711
760
|
"zstd",
|
|
712
761
|
]
|
|
713
762
|
|
|
714
763
|
[[package]]
|
|
715
764
|
name = "rete-python"
|
|
716
|
-
version = "0.7.
|
|
765
|
+
version = "0.7.2"
|
|
717
766
|
dependencies = [
|
|
718
767
|
"pyo3",
|
|
719
768
|
"rete-core",
|
|
@@ -779,6 +828,18 @@ dependencies = [
|
|
|
779
828
|
"twox-hash",
|
|
780
829
|
]
|
|
781
830
|
|
|
831
|
+
[[package]]
|
|
832
|
+
name = "ryu"
|
|
833
|
+
version = "1.0.23"
|
|
834
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
835
|
+
checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
|
|
836
|
+
|
|
837
|
+
[[package]]
|
|
838
|
+
name = "ryu-js"
|
|
839
|
+
version = "1.0.3"
|
|
840
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
841
|
+
checksum = "04d056b875a9d2e6cb9a61d127afee9ac5999b9f87bcb32079d1318e505be714"
|
|
842
|
+
|
|
782
843
|
[[package]]
|
|
783
844
|
name = "serde"
|
|
784
845
|
version = "1.0.228"
|
|
@@ -1117,6 +1178,19 @@ version = "0.6.3"
|
|
|
1117
1178
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1118
1179
|
checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4"
|
|
1119
1180
|
|
|
1181
|
+
[[package]]
|
|
1182
|
+
name = "yaml_serde"
|
|
1183
|
+
version = "0.10.7"
|
|
1184
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1185
|
+
checksum = "33b729a08a9a6be689bbad3e2bf8015926db54b6622cc89c3a5f7dc174b9e918"
|
|
1186
|
+
dependencies = [
|
|
1187
|
+
"indexmap",
|
|
1188
|
+
"itoa",
|
|
1189
|
+
"libyaml-rs",
|
|
1190
|
+
"ryu",
|
|
1191
|
+
"serde",
|
|
1192
|
+
]
|
|
1193
|
+
|
|
1120
1194
|
[[package]]
|
|
1121
1195
|
name = "yoke"
|
|
1122
1196
|
version = "0.8.3"
|
|
@@ -6,7 +6,7 @@ name = "rete-python"
|
|
|
6
6
|
# Kept in lockstep with pyproject.toml's [project] version, and with the engine's
|
|
7
7
|
# major.minor, by scripts/sync_versions.py (--check runs in CI). __version__ comes
|
|
8
8
|
# from here (CARGO_PKG_VERSION), the wheel metadata from pyproject.
|
|
9
|
-
version = "0.7.
|
|
9
|
+
version = "0.7.2"
|
|
10
10
|
edition = "2021"
|
|
11
11
|
license = "Apache-2.0"
|
|
12
12
|
repository = "https://github.com/caviri/rete"
|
|
@@ -32,6 +32,9 @@ oxttl.workspace = true
|
|
|
32
32
|
oxttl12 = { workspace = true, optional = true }
|
|
33
33
|
oxrdf12 = { workspace = true, optional = true }
|
|
34
34
|
oxrdfxml.workspace = true
|
|
35
|
+
# JSON-LD / YAML-LD input (the `jsonld` feature).
|
|
36
|
+
oxjsonld = { workspace = true, optional = true }
|
|
37
|
+
yaml_serde = { workspace = true, optional = true }
|
|
35
38
|
spargebra.workspace = true
|
|
36
39
|
# Derive-based (de)serialization for the Dataset Card types in `card_derive` /
|
|
37
40
|
# `card_queries`. Pure Rust, no_std-capable, and already a transitive dependency
|
|
@@ -91,7 +94,7 @@ ureq = { version = "2", optional = true, default-features = false, features = ["
|
|
|
91
94
|
proptest = "1"
|
|
92
95
|
|
|
93
96
|
[features]
|
|
94
|
-
default = ["compression", "rdf12-turtle", "unicode-regex", "regex-perf"]
|
|
97
|
+
default = ["compression", "rdf12-turtle", "jsonld", "unicode-regex", "regex-perf"]
|
|
95
98
|
# Unicode-aware SPARQL `REGEX` / `REPLACE` and SHACL `sh:pattern` (the `regex`
|
|
96
99
|
# crate). Without it, `regex-lite`: the same syntax, but `\b` `\w` `\d` `\s` and
|
|
97
100
|
# `(?i)` are ASCII-only. See the `regex` dependency above for the size cost.
|
|
@@ -133,6 +136,12 @@ v06-parity = []
|
|
|
133
136
|
# own; asking for `--quoted-triple-syntax rdf12` on Turtle/TriG in such a build
|
|
134
137
|
# is refused by name rather than read as RDF-star.
|
|
135
138
|
rdf12-turtle = ["dep:oxttl12", "dep:oxrdf12"]
|
|
139
|
+
# Read JSON-LD (`jsonld`) and YAML-LD (`yamlld`) as input formats. `oxjsonld`
|
|
140
|
+
# renders terms with `oxrdf` 0.3, so this shares `oxrdf12` with `rdf12-turtle`; a
|
|
141
|
+
# wasm build that turns it on needs the getrandom 0.3 backend `oxrdf` 0.3 wants
|
|
142
|
+
# for anonymous blank-node ids (the `wasm-js` feature, or the Chicory `custom`
|
|
143
|
+
# one). Without the feature both format names are refused by name.
|
|
144
|
+
jsonld = ["dep:oxjsonld", "dep:oxrdf12", "dep:yaml_serde"]
|
|
136
145
|
# Prototype data-parallel query evaluator. NOT default; wasm must never enable it
|
|
137
146
|
# (wasm has no threads). Enables the `parallel` module + `rayon`.
|
|
138
147
|
parallel = ["dep:rayon"]
|
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
//! JSON-LD and YAML-LD readers.
|
|
2
|
+
//!
|
|
3
|
+
//! JSON-LD (`"jsonld"`) goes through `oxjsonld`. YAML-LD (`"yamlld"`, the basic
|
|
4
|
+
//! profile) is the same document written in YAML: it is turned into JSON values
|
|
5
|
+
//! first and then read as JSON-LD, so the two give the same quads.
|
|
6
|
+
//!
|
|
7
|
+
//! A JSON-LD document is read whole, not line by line: the context at the top
|
|
8
|
+
//! decides what every later key means, and a document can only be expanded once
|
|
9
|
+
//! it has been seen. Nothing here streams from a reader.
|
|
10
|
+
//!
|
|
11
|
+
//! **No I/O.** A document that names a remote `@context` gets it from a
|
|
12
|
+
//! [`ContextLoader`] the caller supplies; with none, the parse fails with
|
|
13
|
+
//! [`crate::ingest::IngestError::JsonLdRemoteContext`] naming the IRI. That keeps the core free
|
|
14
|
+
//! of sockets and files (the wasm engine compiles it) and a build offline and
|
|
15
|
+
//! repeatable unless the caller opts in.
|
|
16
|
+
//!
|
|
17
|
+
//! Named graphs (`@graph` beside an `@id`) come out as named graphs. Relative
|
|
18
|
+
//! IRIs are resolved against no base, as in the Turtle reader (it has none
|
|
19
|
+
//! either); JSON-LD drops a relative `@id` it cannot resolve. A blank-node label
|
|
20
|
+
//! written in a document (`_:b0`) is renamed per document, as `oxttl` does for
|
|
21
|
+
//! Turtle, so two files that both use `_:b0` do not merge their nodes.
|
|
22
|
+
|
|
23
|
+
#[cfg(not(feature = "jsonld"))]
|
|
24
|
+
use super::{IngestError, IriAudit, RawQuad};
|
|
25
|
+
use std::panic::{RefUnwindSafe, UnwindSafe};
|
|
26
|
+
use std::sync::Arc;
|
|
27
|
+
|
|
28
|
+
/// Supplies the text of a remote `@context` (or any remote document the
|
|
29
|
+
/// processor asks for) by IRI. The core never opens a socket or a file; the
|
|
30
|
+
/// caller decides where contexts come from.
|
|
31
|
+
///
|
|
32
|
+
/// The returned bytes are a JSON document (`{"@context": …}`); a YAML one is
|
|
33
|
+
/// accepted too and converted.
|
|
34
|
+
pub trait ContextLoader: Send + Sync + UnwindSafe + RefUnwindSafe {
|
|
35
|
+
/// The document at `iri`; `Ok(None)` if this loader has nothing for it
|
|
36
|
+
/// (the parse then fails with [`crate::ingest::IngestError::JsonLdRemoteContext`]), `Err`
|
|
37
|
+
/// if it should have and could not.
|
|
38
|
+
fn load(&self, iri: &str) -> Result<Option<Vec<u8>>, String>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
impl<F> ContextLoader for F
|
|
42
|
+
where
|
|
43
|
+
F: Fn(&str) -> Result<Option<Vec<u8>>, String> + Send + Sync + UnwindSafe + RefUnwindSafe,
|
|
44
|
+
{
|
|
45
|
+
fn load(&self, iri: &str) -> Result<Option<Vec<u8>>, String> {
|
|
46
|
+
self(iri)
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/// How a JSON-LD / YAML-LD document is read. The default reads documents with
|
|
51
|
+
/// inline contexts only.
|
|
52
|
+
#[derive(Clone, Default)]
|
|
53
|
+
pub struct JsonLdOptions {
|
|
54
|
+
/// Where remote contexts come from. `None`: nowhere, so a document that
|
|
55
|
+
/// needs one fails with [`crate::ingest::IngestError::JsonLdRemoteContext`].
|
|
56
|
+
pub context_loader: Option<Arc<dyn ContextLoader>>,
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
impl JsonLdOptions {
|
|
60
|
+
/// Options that resolve remote contexts through `loader`.
|
|
61
|
+
pub fn with_loader(loader: impl ContextLoader + 'static) -> Self {
|
|
62
|
+
JsonLdOptions {
|
|
63
|
+
context_loader: Some(Arc::new(loader)),
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
#[cfg(feature = "jsonld")]
|
|
69
|
+
pub(super) use imp::parse;
|
|
70
|
+
|
|
71
|
+
#[cfg(not(feature = "jsonld"))]
|
|
72
|
+
pub(super) fn parse(
|
|
73
|
+
_text: &str,
|
|
74
|
+
_yaml: bool,
|
|
75
|
+
_options: &JsonLdOptions,
|
|
76
|
+
_audit: Option<&mut IriAudit>,
|
|
77
|
+
_f: &mut dyn FnMut(RawQuad),
|
|
78
|
+
) -> Result<(), IngestError> {
|
|
79
|
+
Err(IngestError::JsonLd(
|
|
80
|
+
"this build of rete-core was compiled without the `jsonld` feature".into(),
|
|
81
|
+
))
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
#[cfg(feature = "jsonld")]
|
|
85
|
+
mod imp {
|
|
86
|
+
use super::{ContextLoader, JsonLdOptions};
|
|
87
|
+
use crate::ingest::{audit_quad, IngestError, IriAudit, RawQuad};
|
|
88
|
+
use oxjsonld::{JsonLdParser, JsonLdRemoteDocument};
|
|
89
|
+
use oxrdf12::{BlankNode, GraphName, NamedOrBlankNode, Term};
|
|
90
|
+
use std::collections::HashMap;
|
|
91
|
+
use std::sync::{Arc, Mutex};
|
|
92
|
+
|
|
93
|
+
/// YAML text to the JSON bytes of the same document.
|
|
94
|
+
fn yaml_to_json(text: &str) -> Result<Vec<u8>, String> {
|
|
95
|
+
let value: serde_json::Value = yaml_serde::from_str(text).map_err(|e| e.to_string())?;
|
|
96
|
+
serde_json::to_vec(&value).map_err(|e| e.to_string())
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/// A loaded context as JSON bytes: JSON passes through, anything else is
|
|
100
|
+
/// tried as YAML.
|
|
101
|
+
fn as_json(bytes: Vec<u8>) -> Result<Vec<u8>, String> {
|
|
102
|
+
if serde_json::from_slice::<serde::de::IgnoredAny>(&bytes).is_ok() {
|
|
103
|
+
return Ok(bytes);
|
|
104
|
+
}
|
|
105
|
+
let text = String::from_utf8(bytes).map_err(|e| e.to_string())?;
|
|
106
|
+
yaml_to_json(&text)
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
pub(in crate::ingest) fn parse(
|
|
110
|
+
text: &str,
|
|
111
|
+
yaml: bool,
|
|
112
|
+
options: &JsonLdOptions,
|
|
113
|
+
mut audit: Option<&mut IriAudit>,
|
|
114
|
+
f: &mut dyn FnMut(RawQuad),
|
|
115
|
+
) -> Result<(), IngestError> {
|
|
116
|
+
let name = if yaml { "yaml-ld" } else { "json-ld" };
|
|
117
|
+
let converted;
|
|
118
|
+
let bytes: &[u8] = if yaml {
|
|
119
|
+
converted =
|
|
120
|
+
yaml_to_json(text).map_err(|e| IngestError::JsonLd(format!("{name}: {e}")))?;
|
|
121
|
+
&converted
|
|
122
|
+
} else {
|
|
123
|
+
text.as_bytes()
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
// The first remote document the processor asked for and could not get:
|
|
127
|
+
// the parse error alone ("loading remote context failed") would not say
|
|
128
|
+
// which one, or that there is a way out.
|
|
129
|
+
let missing: Arc<Mutex<Option<String>>> = Arc::new(Mutex::new(None));
|
|
130
|
+
let loader: Option<Arc<dyn ContextLoader>> = options.context_loader.clone();
|
|
131
|
+
let seen = missing.clone();
|
|
132
|
+
let parser = JsonLdParser::new()
|
|
133
|
+
.for_slice(bytes)
|
|
134
|
+
.with_load_document_callback(move |iri, _opts| {
|
|
135
|
+
let found = match &loader {
|
|
136
|
+
Some(loader) => loader.load(iri).and_then(|d| d.map(as_json).transpose()),
|
|
137
|
+
None => Ok(None),
|
|
138
|
+
};
|
|
139
|
+
match found {
|
|
140
|
+
Ok(Some(document)) => Ok(JsonLdRemoteDocument {
|
|
141
|
+
document,
|
|
142
|
+
document_url: iri.to_string(),
|
|
143
|
+
}),
|
|
144
|
+
Ok(None) => {
|
|
145
|
+
*seen.lock().unwrap_or_else(|e| e.into_inner()) = Some(iri.to_string());
|
|
146
|
+
Err("no context loaded".into())
|
|
147
|
+
}
|
|
148
|
+
Err(e) => Err(format!("{iri}: {e}").into()),
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
// Labels written in the document get a fresh identity per document.
|
|
153
|
+
let mut labels: HashMap<String, BlankNode> = HashMap::new();
|
|
154
|
+
let mut fresh = |b: &BlankNode| -> BlankNode {
|
|
155
|
+
labels.entry(b.as_str().to_string()).or_default().clone()
|
|
156
|
+
};
|
|
157
|
+
for r in parser {
|
|
158
|
+
let q = match r {
|
|
159
|
+
Ok(q) => q,
|
|
160
|
+
Err(e) => {
|
|
161
|
+
let remote = missing.lock().unwrap_or_else(|e| e.into_inner()).take();
|
|
162
|
+
return Err(match remote {
|
|
163
|
+
Some(iri) => IngestError::JsonLdRemoteContext(iri),
|
|
164
|
+
None => IngestError::JsonLd(format!("{name}: {e}")),
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
let subject = match &q.subject {
|
|
169
|
+
NamedOrBlankNode::BlankNode(b) => NamedOrBlankNode::BlankNode(fresh(b)),
|
|
170
|
+
other => other.clone(),
|
|
171
|
+
}
|
|
172
|
+
.to_string();
|
|
173
|
+
let object = match &q.object {
|
|
174
|
+
Term::BlankNode(b) => Term::BlankNode(fresh(b)),
|
|
175
|
+
other => other.clone(),
|
|
176
|
+
}
|
|
177
|
+
.to_string();
|
|
178
|
+
let graph = match &q.graph_name {
|
|
179
|
+
GraphName::DefaultGraph => None,
|
|
180
|
+
GraphName::BlankNode(b) => Some(fresh(b).to_string()),
|
|
181
|
+
other => Some(other.to_string()),
|
|
182
|
+
};
|
|
183
|
+
let q = (subject, q.predicate.to_string(), object, graph);
|
|
184
|
+
audit_quad(
|
|
185
|
+
audit.as_deref_mut(),
|
|
186
|
+
&q.0,
|
|
187
|
+
&q.1,
|
|
188
|
+
&q.2,
|
|
189
|
+
q.3.as_deref(),
|
|
190
|
+
|| name.into(),
|
|
191
|
+
)?;
|
|
192
|
+
f(q);
|
|
193
|
+
}
|
|
194
|
+
Ok(())
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
#[cfg(all(test, feature = "jsonld"))]
|
|
199
|
+
mod tests {
|
|
200
|
+
use super::*;
|
|
201
|
+
use crate::ingest::{parse_jsonld_audited, parse_statements, IngestError, RawQuad};
|
|
202
|
+
|
|
203
|
+
const JSON: &str = r#"{
|
|
204
|
+
"@context": {
|
|
205
|
+
"ex": "http://ex/",
|
|
206
|
+
"name": "ex:name",
|
|
207
|
+
"knows": {"@id": "ex:knows", "@type": "@id"},
|
|
208
|
+
"age": {"@id": "ex:age", "@type": "http://www.w3.org/2001/XMLSchema#integer"},
|
|
209
|
+
"label": {"@id": "ex:label", "@language": "en"},
|
|
210
|
+
"items": {"@id": "ex:items", "@container": "@list"}
|
|
211
|
+
},
|
|
212
|
+
"@graph": [
|
|
213
|
+
{"@id": "ex:alice", "name": "Alice", "age": "42", "label": "Alice",
|
|
214
|
+
"knows": {"@id": "ex:bob", "name": "Bob"},
|
|
215
|
+
"items": ["a", "b"],
|
|
216
|
+
"ex:friend": {"name": "anon"}},
|
|
217
|
+
{"@id": "ex:g1", "@graph": [{"@id": "ex:carol", "name": "Carol"}]}
|
|
218
|
+
]
|
|
219
|
+
}"#;
|
|
220
|
+
|
|
221
|
+
const YAML: &str = r#"
|
|
222
|
+
"@context":
|
|
223
|
+
ex: http://ex/
|
|
224
|
+
name: ex:name
|
|
225
|
+
knows: {"@id": "ex:knows", "@type": "@id"}
|
|
226
|
+
age: {"@id": "ex:age", "@type": "http://www.w3.org/2001/XMLSchema#integer"}
|
|
227
|
+
label: {"@id": "ex:label", "@language": en}
|
|
228
|
+
items: {"@id": "ex:items", "@container": "@list"}
|
|
229
|
+
"@graph":
|
|
230
|
+
- "@id": ex:alice
|
|
231
|
+
name: Alice
|
|
232
|
+
age: "42"
|
|
233
|
+
label: Alice
|
|
234
|
+
knows:
|
|
235
|
+
"@id": ex:bob
|
|
236
|
+
name: Bob
|
|
237
|
+
items: [a, b]
|
|
238
|
+
"ex:friend":
|
|
239
|
+
name: anon
|
|
240
|
+
- "@id": ex:g1
|
|
241
|
+
"@graph":
|
|
242
|
+
- "@id": ex:carol
|
|
243
|
+
name: Carol
|
|
244
|
+
"#;
|
|
245
|
+
|
|
246
|
+
fn read(text: &str, yaml: bool) -> Vec<RawQuad> {
|
|
247
|
+
parse_jsonld_audited(text, yaml, &JsonLdOptions::default(), None).unwrap()
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/// The quads as sorted lines with every blank node reduced to `_:b`: blank
|
|
251
|
+
/// node labels are fresh on each read, so only their shape can be compared.
|
|
252
|
+
fn shape(quads: &[RawQuad]) -> Vec<String> {
|
|
253
|
+
let anon = |t: &str| {
|
|
254
|
+
if t.starts_with("_:") {
|
|
255
|
+
"_:b".to_string()
|
|
256
|
+
} else {
|
|
257
|
+
t.to_string()
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
let mut v: Vec<String> = quads
|
|
261
|
+
.iter()
|
|
262
|
+
.map(|(s, p, o, g)| {
|
|
263
|
+
format!(
|
|
264
|
+
"{} {} {} {}",
|
|
265
|
+
anon(s),
|
|
266
|
+
p,
|
|
267
|
+
anon(o),
|
|
268
|
+
g.as_deref().map_or(String::new(), anon)
|
|
269
|
+
)
|
|
270
|
+
})
|
|
271
|
+
.collect();
|
|
272
|
+
v.sort();
|
|
273
|
+
v
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
#[test]
|
|
277
|
+
fn json_ld_reads_nodes_literals_lists_and_named_graphs() {
|
|
278
|
+
let q = read(JSON, false);
|
|
279
|
+
assert_eq!(q.len(), 13, "{q:#?}");
|
|
280
|
+
let has = |s: &str, p: &str, o: &str, g: Option<&str>| {
|
|
281
|
+
q.iter()
|
|
282
|
+
.any(|(qs, qp, qo, qg)| qs == s && qp == p && qo == o && qg.as_deref() == g)
|
|
283
|
+
};
|
|
284
|
+
assert!(has(
|
|
285
|
+
"<http://ex/alice>",
|
|
286
|
+
"<http://ex/name>",
|
|
287
|
+
"\"Alice\"",
|
|
288
|
+
None
|
|
289
|
+
));
|
|
290
|
+
assert!(has(
|
|
291
|
+
"<http://ex/alice>",
|
|
292
|
+
"<http://ex/age>",
|
|
293
|
+
"\"42\"^^<http://www.w3.org/2001/XMLSchema#integer>",
|
|
294
|
+
None
|
|
295
|
+
));
|
|
296
|
+
assert!(has(
|
|
297
|
+
"<http://ex/alice>",
|
|
298
|
+
"<http://ex/label>",
|
|
299
|
+
"\"Alice\"@en",
|
|
300
|
+
None
|
|
301
|
+
));
|
|
302
|
+
assert!(has(
|
|
303
|
+
"<http://ex/alice>",
|
|
304
|
+
"<http://ex/knows>",
|
|
305
|
+
"<http://ex/bob>",
|
|
306
|
+
None
|
|
307
|
+
));
|
|
308
|
+
assert!(has(
|
|
309
|
+
"<http://ex/carol>",
|
|
310
|
+
"<http://ex/name>",
|
|
311
|
+
"\"Carol\"",
|
|
312
|
+
Some("<http://ex/g1>")
|
|
313
|
+
));
|
|
314
|
+
// The list is a chain of blank nodes ending in rdf:nil.
|
|
315
|
+
let rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
|
|
316
|
+
let firsts = q.iter().filter(|x| x.1 == format!("<{rdf}first>")).count();
|
|
317
|
+
let nil = q.iter().filter(|x| x.2 == format!("<{rdf}nil>")).count();
|
|
318
|
+
assert_eq!((firsts, nil), (2, 1));
|
|
319
|
+
// The anonymous node has its own name triple.
|
|
320
|
+
assert!(q
|
|
321
|
+
.iter()
|
|
322
|
+
.any(|x| x.0.starts_with("_:") && x.2 == "\"anon\"" && x.3.is_none()));
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
#[test]
|
|
326
|
+
fn yaml_ld_gives_the_same_quads_as_json_ld() {
|
|
327
|
+
assert_eq!(shape(&read(YAML, true)), shape(&read(JSON, false)));
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
#[test]
|
|
331
|
+
fn the_text_entry_point_reads_both_formats() {
|
|
332
|
+
assert_eq!(parse_statements(JSON, "jsonld").unwrap().len(), 13);
|
|
333
|
+
assert_eq!(parse_statements(YAML, "yamlld").unwrap().len(), 13);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
#[test]
|
|
337
|
+
fn malformed_input_is_a_named_error() {
|
|
338
|
+
let e = parse_statements("{\"@context\": ", "jsonld").unwrap_err();
|
|
339
|
+
assert!(matches!(e, IngestError::JsonLd(_)), "{e}");
|
|
340
|
+
let e = parse_statements("a: [1, 2", "yamlld").unwrap_err();
|
|
341
|
+
assert!(e.to_string().starts_with("yaml-ld:"), "{e}");
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
#[test]
|
|
345
|
+
fn a_blank_node_label_does_not_survive_into_another_document() {
|
|
346
|
+
let doc = r#"{"@context": {"ex": "http://ex/"}, "@id": "_:b0", "ex:p": "x"}"#;
|
|
347
|
+
let (a, b) = (read(doc, false), read(doc, false));
|
|
348
|
+
assert_ne!(a[0].0, b[0].0);
|
|
349
|
+
// Within one document the label still names one node.
|
|
350
|
+
let two = r#"{"@context": {"ex": "http://ex/"}, "@graph": [
|
|
351
|
+
{"@id": "_:n", "ex:p": "x"}, {"@id": "ex:s", "ex:q": {"@id": "_:n"}}]}"#;
|
|
352
|
+
let q = read(two, false);
|
|
353
|
+
let n = q.iter().find(|x| x.2 == "\"x\"").unwrap().0.clone();
|
|
354
|
+
assert!(q.iter().any(|x| x.2 == n));
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
const REMOTE: &str =
|
|
358
|
+
r#"{"@context": "http://remote.example/ctx", "@id": "http://ex/a", "name": "x"}"#;
|
|
359
|
+
|
|
360
|
+
#[test]
|
|
361
|
+
fn a_remote_context_without_a_loader_names_the_iri() {
|
|
362
|
+
let e = parse_jsonld_audited(REMOTE, false, &JsonLdOptions::default(), None).unwrap_err();
|
|
363
|
+
match &e {
|
|
364
|
+
IngestError::JsonLdRemoteContext(iri) => assert_eq!(iri, "http://remote.example/ctx"),
|
|
365
|
+
other => panic!("wrong error: {other}"),
|
|
366
|
+
}
|
|
367
|
+
assert!(e.to_string().contains("http://remote.example/ctx"));
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
#[test]
|
|
371
|
+
fn a_remote_context_resolves_through_the_loader() {
|
|
372
|
+
let json = JsonLdOptions::with_loader(|iri: &str| {
|
|
373
|
+
assert_eq!(iri, "http://remote.example/ctx");
|
|
374
|
+
Ok(Some(
|
|
375
|
+
br#"{"@context": {"name": "http://ex/name"}}"#.to_vec(),
|
|
376
|
+
))
|
|
377
|
+
});
|
|
378
|
+
let q = parse_jsonld_audited(REMOTE, false, &json, None).unwrap();
|
|
379
|
+
assert_eq!(
|
|
380
|
+
q,
|
|
381
|
+
vec![(
|
|
382
|
+
"<http://ex/a>".to_string(),
|
|
383
|
+
"<http://ex/name>".to_string(),
|
|
384
|
+
"\"x\"".to_string(),
|
|
385
|
+
None
|
|
386
|
+
)]
|
|
387
|
+
);
|
|
388
|
+
// A context written in YAML is accepted too.
|
|
389
|
+
let yaml = JsonLdOptions::with_loader(|_: &str| {
|
|
390
|
+
Ok(Some(b"\"@context\":\n name: http://ex/name\n".to_vec()))
|
|
391
|
+
});
|
|
392
|
+
assert_eq!(parse_jsonld_audited(REMOTE, false, &yaml, None).unwrap(), q);
|
|
393
|
+
// A loader that fails: the error says which context.
|
|
394
|
+
let bad = JsonLdOptions::with_loader(|_: &str| Err("no such file".to_string()));
|
|
395
|
+
let e = parse_jsonld_audited(REMOTE, false, &bad, None).unwrap_err();
|
|
396
|
+
assert!(matches!(e, IngestError::JsonLd(_)), "{e}");
|
|
397
|
+
// A loader that has nothing for the IRI is the same as no loader.
|
|
398
|
+
let none = JsonLdOptions::with_loader(|_: &str| Ok(None));
|
|
399
|
+
let e = parse_jsonld_audited(REMOTE, false, &none, None).unwrap_err();
|
|
400
|
+
assert!(matches!(e, IngestError::JsonLdRemoteContext(_)), "{e}");
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
#[test]
|
|
404
|
+
fn a_stream_reader_refuses_json_ld_by_name() {
|
|
405
|
+
let e = crate::ingest::stream_reader("{}".as_bytes(), "jsonld", &mut |_| {}).unwrap_err();
|
|
406
|
+
assert!(e.to_string().contains("cannot be streamed"), "{e}");
|
|
407
|
+
}
|
|
408
|
+
}
|