oxigraph 0.1.0.rc2
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 +17 -0
- data/Cargo.lock +836 -0
- data/Cargo.toml +13 -0
- data/LICENSE +21 -0
- data/README.md +180 -0
- data/ext/oxigraph/Cargo.toml +24 -0
- data/ext/oxigraph/build.rs +5 -0
- data/ext/oxigraph/extconf.rb +6 -0
- data/ext/oxigraph/src/error.rs +45 -0
- data/ext/oxigraph/src/lib.rs +15 -0
- data/ext/oxigraph/src/load.rs +181 -0
- data/ext/oxigraph/src/model.rs +367 -0
- data/ext/oxigraph/src/query.rs +491 -0
- data/ext/oxigraph/src/store.rs +54 -0
- data/lib/oxigraph/errors.rb +29 -0
- data/lib/oxigraph/load_summary.rb +8 -0
- data/lib/oxigraph/query_results.rb +30 -0
- data/lib/oxigraph/store.rb +27 -0
- data/lib/oxigraph/version.rb +5 -0
- data/lib/oxigraph.rb +22 -0
- metadata +80 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: c81c123e08cd03068ed0207dfc1e35d9f7434bac83027ff53e7864f770a248df
|
|
4
|
+
data.tar.gz: 2242e741137d11286ce93f08548a13ece23020b15efed7076cf1ea5af6491077
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 9e80c131dc6636ae109bbf6f766da62c79e0d9d2a7c92ff6f7f3231ac2dc404322fb53bc675aae4044417d58f402e848826dbfc67714df8032fbf512f6a2b40c
|
|
7
|
+
data.tar.gz: 98b6fed72816febdc41ceeec9fe70ce6a7c2b234d111195d425f5b51ad5a931f392a45c075103f2255a9faf00daa1c370b85a3b7eaa0f84f93f398ddc2e33f6a
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
Notable changes to `oxigraph` are documented here.
|
|
4
|
+
|
|
5
|
+
## [Unreleased]
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added the gem scaffold: a Rust native extension that builds and loads on Ruby 3.4 and 4.0.
|
|
10
|
+
- Added `Oxigraph::Store`, an in-memory store backed by Oxigraph 0.5, with `#size` and `#empty?`.
|
|
11
|
+
- Added the term classes `Oxigraph::NamedNode`, `Oxigraph::BlankNode`, `Oxigraph::Literal`, and `Oxigraph::Triple`.
|
|
12
|
+
- Added `Oxigraph::Store#load`, which reads Turtle, RDF/XML, N-Triples, N-Quads, TriG, N3, and JSON-LD from a string, an `IO`, or a file, and returns an `Oxigraph::LoadSummary`.
|
|
13
|
+
- Added `Oxigraph::ParseError`, which carries the line and column of malformed RDF input.
|
|
14
|
+
- Added `Oxigraph::Store#query`, which runs `SELECT`, `ASK`, `CONSTRUCT`, and `DESCRIBE` queries and streams their results.
|
|
15
|
+
- Added `Oxigraph::Query.parse` and `Oxigraph::Update.parse`, which parse SPARQL without running it. A query reports its form and whether it has a `SERVICE` or a dataset clause.
|
|
16
|
+
- Added `Oxigraph::QuerySyntaxError`, `Oxigraph::QueryEvaluationError`, and `Oxigraph::UnsupportedError`.
|
|
17
|
+
- Added precompiled gems for Linux (glibc and musl) and macOS on x86-64 and ARM64, and for Windows on x64 and ARM64. Installing on those platforms needs no Rust toolchain; other platforms compile the extension from the source gem.
|