Varve.Rdf 0.1.0-preview.20

This is a prerelease version of Varve.Rdf.
dotnet add package Varve.Rdf --version 0.1.0-preview.20
                    
NuGet\Install-Package Varve.Rdf -Version 0.1.0-preview.20
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Varve.Rdf" Version="0.1.0-preview.20" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Varve.Rdf" Version="0.1.0-preview.20" />
                    
Directory.Packages.props
<PackageReference Include="Varve.Rdf" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Varve.Rdf --version 0.1.0-preview.20
                    
#r "nuget: Varve.Rdf, 0.1.0-preview.20"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Varve.Rdf@0.1.0-preview.20
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Varve.Rdf&version=0.1.0-preview.20&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Varve.Rdf&version=0.1.0-preview.20&prerelease
                    
Install as a Cake Tool

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. RdfTermView is a zero-allocation window over a parser's buffer, valid for the callback that receives it. RdfTerm is 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:integer and "01"^^xsd:integer are 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.

  • IQuadSource is 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's GRAPH ?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.

  • QuadOverlay and QuadDelta: 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, GraphScopedQuadSource and CallerScope (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 every Match, Contains and Estimate by graph so that a graph outside the scope is unobservable. CallerScope is what a host resolves for one caller on one dataset: a readable scope, a writable scope, and whether it administers the dataset. GraphNotWritableException is 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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