rdf-oxigraph 0.0.1
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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +31 -0
- data/Cargo.lock +3178 -0
- data/Cargo.toml +3 -0
- data/LICENSE +21 -0
- data/README.md +380 -0
- data/ext/rdf_oxigraph/Cargo.toml +26 -0
- data/ext/rdf_oxigraph/extconf.rb +4 -0
- data/ext/rdf_oxigraph/src/lib.rs +437 -0
- data/lib/rdf/oxigraph/conversion.rb +76 -0
- data/lib/rdf/oxigraph/format.rb +118 -0
- data/lib/rdf/oxigraph/repository.rb +97 -0
- data/lib/rdf/oxigraph/shacl.rb +46 -0
- data/lib/rdf/oxigraph/sparql.rb +66 -0
- data/lib/rdf/oxigraph/version.rb +5 -0
- data/lib/rdf/oxigraph.rb +12 -0
- data/rdf-oxigraph.gemspec +43 -0
- metadata +159 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 32212254f475aa8757e622add797da16abf5faa57aa3580877ac806fd996d12d
|
|
4
|
+
data.tar.gz: 36c4f93f9f683358c75bf8e83d10347875b2e0fbedf038caed0e20b4b9b6f4a7
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 70e1f2675739001efde479605190628895211ec6dcdf1df06df074575eeb2738827581999e810bed8462ccff37e4b3d62fa9b3537210a850d6694b9546ff58b3
|
|
7
|
+
data.tar.gz: 2fd0d1081883fd41ec6061d1f379b7c0973021274e5986c2a62b0329c67ec91b7301c6ad6d0f8ccaec27d46681b480f7998b9a0453e241f7b406fe3874cd57cc
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [Unreleased] (0.0.1)
|
|
4
|
+
|
|
5
|
+
Initial development release. A drop-in RDF.rb-compatible storage/SPARQL backend
|
|
6
|
+
powered by the [oxigraph](https://github.com/oxigraph/oxigraph) Rust engine via a
|
|
7
|
+
magnus + rb-sys native extension.
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- Built on **oxigraph 0.5** (in-memory store; `default-features = false`, no RocksDB).
|
|
11
|
+
- Native `RDF::Oxigraph::Store` over `oxigraph::store::Store`
|
|
12
|
+
(insert/delete/size/load/dump/each_quad/query/update) with full term
|
|
13
|
+
marshalling (IRIs, blank nodes, simple/typed/language literals, default and
|
|
14
|
+
named graphs).
|
|
15
|
+
- `RDF::Oxigraph::Repository < RDF::Repository` — passes 319/338 of the official
|
|
16
|
+
`rdf-spec` `RDF::Repository` shared examples (the remainder is oxigraph's
|
|
17
|
+
typed-literal canonicalization; see README).
|
|
18
|
+
- `RDF::Reader`/`RDF::Writer`/`RDF::Format` for Turtle, TriG, N-Triples, N-Quads,
|
|
19
|
+
RDF/XML and JSON-LD (native oxigraph parse/serialize), plus fast
|
|
20
|
+
`Repository#load`/`#dump`.
|
|
21
|
+
- SPARQL query + update: `Repository#sparql` (→ `RDF::Query::Solutions` /
|
|
22
|
+
`RDF::Graph` / boolean), `Repository#sparql_update`, and a
|
|
23
|
+
`RDF::Oxigraph::SPARQL::Client` string-based wrapper. Full FILTER/REGEX/PREFIX.
|
|
24
|
+
- In-process **SHACL validation** via the rudof `shacl` crate (0.3.x):
|
|
25
|
+
`Repository#shacl_validate(shapes)` and `RDF::Oxigraph::SHACL.validate(data:, shapes:)`,
|
|
26
|
+
returning a report with `#conforms?`, `#violations`, `#results`, `#to_s`. No external
|
|
27
|
+
service; no RocksDB/C++ pulled in.
|
|
28
|
+
- Precompiled, platform-specific gems (install with no Rust toolchain required)
|
|
29
|
+
for Linux x86_64/arm64 (glibc + musl) and macOS arm64/x86_64. oxigraph is built
|
|
30
|
+
with `default-features = false` (in-memory store only, no RocksDB/C++), keeping
|
|
31
|
+
Linux cross-compilation reliable.
|