| Modifier and Type | Method and Description |
|---|---|
static Shapes |
Shapes.parse(Graph graph)
Parse the graph and return the shapes connected to the targets.
|
Shapes |
ShaclValidator.parse(Graph shapesGraph)
Parse the shapes from the graph and return a AST object that has all the shapes.
|
static Shapes |
Shapes.parse(Model model)
Parse the model and return the shapes connected to the targets.
|
static Shapes |
Shapes.parse(String fileOrURL) |
default Shapes |
ShaclValidator.parse(String filenameOrURL)
Parse the shapes from a file or URL return a AST object that has all the shapes.
|
static Shapes |
Shapes.parseAll(Graph graph)
Parse the graph and also include all declared node and property shapes, whether connected to the targets or not.
|
static Shapes |
Shapes.parseAll(String fileOrURL) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ShaclValidator.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 |
ShaclValidator.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 ValidationReport |
GraphValidation.update(Shapes shapes,
Graph data,
Runnable update)
Update the graph.
|
static ValidationReport |
GraphValidation.updateAndReport(Shapes shapes,
Graph data,
Runnable update)
Update the graph.
|
ValidationReport |
ShaclValidator.validate(Shapes shapes,
Graph data)
Produce a full validation report.
|
ValidationReport |
ShaclValidator.validate(Shapes shapes,
Graph data,
Node node)
Produce a full validation report for this node in the data.
|
Licenced under the Apache License, Version 2.0