Varve.RdfXml 0.1.0-preview.20

This is a prerelease version of Varve.RdfXml.
dotnet add package Varve.RdfXml --version 0.1.0-preview.20
                    
NuGet\Install-Package Varve.RdfXml -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.RdfXml" 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.RdfXml" Version="0.1.0-preview.20" />
                    
Directory.Packages.props
<PackageReference Include="Varve.RdfXml" />
                    
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.RdfXml --version 0.1.0-preview.20
                    
#r "nuget: Varve.RdfXml, 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.RdfXml@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.RdfXml&version=0.1.0-preview.20&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Varve.RdfXml&version=0.1.0-preview.20&prerelease
                    
Install as a Cake Tool

Varve.RdfXml

RDF/XML, read and written over System.Xml's streaming reader and writer, with RDF 1.2's triple terms (rdf:parseType="Triple"), annotations and base directions (its:dir).

  • All 166 cases of the W3C rdf11 RDF/XML suite and the 31 of the rdf12 evaluation suite pass, with no exemption, under the same ratchet as every other syntax; docs/spec/rdf-xml.md says what is refused and why. Per triple it costs what XmlReader costs, and the figure is stated there rather than hidden (ADR 0122).
  • The BCL does the XML: encodings, entities, namespaces and well-formedness are XmlReader's, with DTDs refused. This package does the RDF/XML grammar over the events it reports, and an rdf:XMLLiteral is the exclusive canonical form of its content.
  • Nothing per triple is this package's to allocate: names are the reader's atomised strings and values are read in chunks into one arena. What XmlReader itself costs per element is measured and stated in the specification, not hidden.
  • The writer refuses what the syntax cannot spell, by name: a quad with a graph, a triple term outside the object position, a predicate with no suffix that is an XML name, a character XML cannot carry. It invents a namespace prefix where the syntax leaves it no choice.
RdfXmlOptions options = new() { BaseIri = "http://example.org/doc"u8.ToArray() };

RdfXmlParseResult result = RdfXmlParser.Parse(
    stream,
    static (in QuadView quad) => Console.WriteLine(quad.Subject.Lexical.Length),
    in options);
using RdfXmlWriter writer = new(output, new RdfXmlWriteOptions());
writer.DeclarePrefix("ex"u8, "http://example.org/"u8);
writer.Write(in quad);

Layer 2 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 (2)

Showing the top 2 NuGet packages that depend on Varve.RdfXml:

Package Downloads
Varve.Protocol

SPARQL 1.1 Protocol, Graph Store Protocol, service description, time travel, change feed and diff over HTTP for a Varve store, as ASP.NET Core endpoint groups.

Varve.Protocol.Client

The HTTP client for a Varve server: SPARQL Protocol queries and updates, the Graph Store Protocol, the change feed and the admin API, with the SERVICE handler and the document fetch that federate a query and a LOAD under an endpoint policy.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.20 52 11/10/2026
0.1.0-preview.19 62 11/6/2026
0.1.0-preview.18 64 11/6/2026
0.1.0-preview.17 60 11/6/2026
0.1.0-preview.16 64 11/3/2026
0.1.0-preview.15 100 10/26/2026
0.1.0-preview.14 64 10/26/2026
0.1.0-preview.13 72 10/26/2026
0.1.0-preview.12 70 10/23/2026
0.1.0-preview.11 74 10/21/2026
0.1.0-preview.10 68 10/20/2026
0.1.0-preview.9 75 10/19/2026
0.1.0-preview.8 69 10/17/2026
0.1.0-preview.7 69 10/17/2026
0.1.0-preview.6 72 10/15/2026
0.1.0-preview.5 62 10/15/2026
0.1.0-preview.4 64 10/13/2026