Varve.Shacl.Sparql 0.1.0-preview.20

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

Varve.Shacl.Sparql

SHACL-SPARQL for Varve.Shacl (ADR 0148): SPARQL-based constraints (sh:sparql) and SPARQL-based constraint components (sh:ConstraintComponent with SELECT and ASK validators), evaluated by Varve.Sparql.Evaluation over the same IQuadSource the validation reads.

ShaclOptions options = new() { Extensions = [SparqlConstraints.Extension()] };
ShapesLoad load = ShapesGraph.Load(shapes, GraphPattern.DefaultGraph, options);
ValidationOutcome outcome = ShaclValidator.Validate(load.Shapes!, data, GraphPattern.DefaultGraph, options);

Variables are pre-bound by SHACL 1.2's Values Insertion (SHACL 1.2 SPARQL-Related Features, Appendix A): every basic graph pattern, path and GRAPH ?g is joined with the bindings. A query that violates its restrictions — MINUS, VALUES or AS over a pre-bound variable, SERVICE — refuses the shapes graph. Prefixes come from sh:prefixes or, failing that, from the sh:declares of the shapes graph's ontology or sh:ShapesGraph node; owl:imports is not followed (ADR 0151).

It is a separate package so that SHACL Core ships no query engine.

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 (1)

Showing the top 1 NuGet packages that depend on Varve.Shacl.Sparql:

Package Downloads
Varve.Shacl.Store

Commit-time SHACL gating for Varve.Store: shapes bindings that refuse a commit introducing a violation, or attach a digest of its affected report, validating only the focus nodes a commit's delta affects.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.20 48 11/10/2026
0.1.0-preview.19 58 11/6/2026
0.1.0-preview.18 53 11/6/2026
0.1.0-preview.17 52 11/6/2026
0.1.0-preview.16 59 11/3/2026
0.1.0-preview.15 270 10/26/2026
0.1.0-preview.14 66 10/26/2026
0.1.0-preview.13 65 10/26/2026
0.1.0-preview.12 72 10/23/2026
0.1.0-preview.11 66 10/21/2026
0.1.0-preview.10 63 10/20/2026
0.1.0-preview.9 69 10/19/2026