public interface ShaclValidator
| Modifier and Type | Method and Description |
|---|---|
default boolean |
conforms(Graph shapesGraph,
Graph data)
Does the data conform to the shapes?
This operation only checks whether the data is conformant or not - it does not genberate a complete report.
|
boolean |
conforms(Shapes shapes,
Graph data)
Does the data conform to the shapes?
This operation only checks whether the data is conformant or not - it does not genberate a complete report.
|
boolean |
conforms(Shapes shapes,
Graph data,
Node node)
Does the node within the data conform to the shapes?
This operation only checks the data is conformant or not - it does not genberate a complete report.
|
static ShaclValidator |
get()
Return the current system-wide
ShaclValidator. |
Shapes |
parse(Graph shapesGraph)
Parse the shapes from the graph and return a AST object that has all the shapes.
|
default Shapes |
parse(String filenameOrURL)
Parse the shapes from a file or URL return a AST object that has all the shapes.
|
default ValidationReport |
validate(Graph shapesGraph,
Graph data)
Produce a full validation report.
|
ValidationReport |
validate(Shapes shapes,
Graph data)
Produce a full validation report.
|
ValidationReport |
validate(Shapes shapes,
Graph data,
Node node)
Produce a full validation report for this node in the data.
|
static ShaclValidator get()
ShaclValidator.Shapes parse(Graph shapesGraph)
default Shapes parse(String filenameOrURL)
boolean conforms(Shapes shapes, Graph data)
validate(Shapes, Graph)default boolean conforms(Graph shapesGraph, Graph data)
validate(Graph, Graph)boolean conforms(Shapes shapes, Graph data, Node node)
validate(Shapes, Graph, Node)ValidationReport validate(Shapes shapes, Graph data)
ValidationReport validate(Shapes shapes, Graph data, Node node)
default ValidationReport validate(Graph shapesGraph, Graph data)
Licenced under the Apache License, Version 2.0