Varve.Rdf
0.1.0-preview.20
dotnet add package Varve.Rdf --version 0.1.0-preview.20
NuGet\Install-Package Varve.Rdf -Version 0.1.0-preview.20
<PackageReference Include="Varve.Rdf" Version="0.1.0-preview.20" />
<PackageVersion Include="Varve.Rdf" Version="0.1.0-preview.20" />
<PackageReference Include="Varve.Rdf" />
paket add Varve.Rdf --version 0.1.0-preview.20
#r "nuget: Varve.Rdf, 0.1.0-preview.20"
#:package Varve.Rdf@0.1.0-preview.20
#addin nuget:?package=Varve.Rdf&version=0.1.0-preview.20&prerelease
#tool nuget:?package=Varve.Rdf&version=0.1.0-preview.20&prerelease
Varve.Rdf
The RDF 1.1 and 1.2 term model, the abstract quad source contract, and RDF Dataset Canonicalization (RDFC-1.0).
Two representations.
RdfTermViewis a zero-allocation window over a parser's buffer, valid for the callback that receives it.RdfTermis the owned term, produced only when someone asks — because allocation per quad is a defect, not a trade-off.RDF 1.2 from the start: triple terms, and language-tagged strings with a base direction.
Term equality, permanently. Character by character over lexical form, datatype IRI and language tag (Concepts §3.3).
"1"^^xsd:integerand"01"^^xsd:integerare different terms and stay different terms; value comparison belongs to a SPARQL evaluator, not to a graph.RDFC-1.0 over any quad source: the canonical N-Quads form and the issued blank node identifiers, SHA-256 or SHA-384, bounded by a work limit that fails explicitly on a poison graph instead of running without end.
IQuadSourceis the contract everything reads through: an opaque 64-bit handle, internalise and externalise, an equality comparer supplied by the source, and four explicit graph modes — the default graph, one named graph, every named graph (SPARQL'sGRAPH ?g), or the union. Two members for an optimiser: a cardinality estimate per pattern that is exact, estimated or honestly unknown, and an inline-value accessor that hands over the integer or boolean a handle encodes in its own bits without materialising the term.QuadOverlayandQuadDelta: a source with a change applied,(B \ R) ∪ A, merged at scan time. One implementation serves a store's as-of reads and the view a pre-commit validator gets.GraphScope,GraphScopedQuadSourceandCallerScope(ADR 0107): a set of graphs — every graph, or the default graph and named graphs by IRI or by IRI prefix — and a source seen through one, which filters everyMatch,ContainsandEstimateby graph so that a graph outside the scope is unobservable.CallerScopeis what a host resolves for one caller on one dataset: a readable scope, a writable scope, and whether it administers the dataset.GraphNotWritableExceptionis the refusal a write outside the writable scope raises.
InMemoryDataset dataset = new();
dataset.Add(RdfTerm.Iri("http://example.org/s"u8), RdfTerm.Iri("http://example.org/p"u8),
RdfTerm.Literal("chat"u8, "en-GB"u8));
using IQuadCursor cursor = dataset.Match(
TermHandle.None, TermHandle.None, TermHandle.None, GraphPattern.DefaultGraph);
Layer 1 of Varve, a .NET-native event-sourced RDF store and SPARQL toolkit. MPL-2.0.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Varve.Iri (>= 0.1.0-preview.20)
NuGet packages (19)
Showing the top 5 NuGet packages that depend on Varve.Rdf:
| Package | Downloads |
|---|---|
|
Varve.Sparql
SPARQL 1.1 Query and Update, with SPARQL 1.2's additions: an immutable algebra, a parser from UTF-8 or UTF-16 to it, and a serialiser back. |
|
|
Varve.Turtle
N-Triples and N-Quads, read and written over UTF-8 without allocating per quad. |
|
|
Varve.Sparql.Evaluation
SPARQL 1.1 query evaluation, with SPARQL 1.2's additions, over any Varve quad source: the optimiser and the evaluator. |
|
|
Varve.Store
An event-sourced RDF store: an append-only log of effective deltas, a default quad projection, pinned and as-of reads, checkpoints, subscriptions, and the projection and validator contracts. |
|
|
Varve.JsonLd
JSON-LD 1.1: expansion, toRdf and fromRdf over System.Text.Json's Utf8JsonReader and Utf8JsonWriter, with RDF 1.2's base directions and rdf:JSON literals in canonical form. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.20 | 118 | 11/10/2026 |
| 0.1.0-preview.19 | 186 | 11/6/2026 |
| 0.1.0-preview.18 | 161 | 11/6/2026 |
| 0.1.0-preview.17 | 156 | 11/6/2026 |
| 0.1.0-preview.16 | 161 | 11/3/2026 |
| 0.1.0-preview.15 | 433 | 10/26/2026 |
| 0.1.0-preview.14 | 144 | 10/26/2026 |
| 0.1.0-preview.13 | 146 | 10/26/2026 |
| 0.1.0-preview.12 | 150 | 10/23/2026 |
| 0.1.0-preview.11 | 138 | 10/21/2026 |
| 0.1.0-preview.10 | 145 | 10/20/2026 |
| 0.1.0-preview.9 | 140 | 10/19/2026 |
| 0.1.0-preview.8 | 144 | 10/17/2026 |
| 0.1.0-preview.7 | 121 | 10/17/2026 |
| 0.1.0-preview.6 | 112 | 10/15/2026 |
| 0.1.0-preview.5 | 101 | 10/15/2026 |
| 0.1.0-preview.4 | 105 | 10/13/2026 |
| 0.1.0-preview.3 | 96 | 10/12/2026 |
| 0.1.0-preview.2 | 98 | 10/9/2026 |
| 0.1.0-preview.1 | 111 | 10/7/2026 |