Class ShaclValidator.Validator
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ShaclValidator.Validator
- Enclosing class:
ShaclValidator
-
Constructor Summary
ConstructorsConstructorDescriptionValidator(ShaclValidator.Builder builder) Create a validator that uses the supplied builder configuration. -
Method Summary
Modifier and TypeMethodDescriptionLoad data from a file and validate it against the supplied shapes sail.Load data from a file using an auto-detected RDF format and validate it against the supplied shapes sail.Load data from a file using the supplied RDF format and validate it against the supplied shapes sail.Load data from a file using an auto-detected RDF format and validate it against the supplied shapes sail.validate(InputStream dataInputStream, String baseURI, RDFFormat format, Sail shapesRepo) Load data from an input stream and validate it against the supplied shapes sail.validate(InputStream dataInputStream, String baseURI, Sail shapesRepo) Load data from an input stream using an auto-detected RDF format and validate it against the supplied shapes sail.validate(InputStream dataInputStream, RDFFormat format, Sail shapesRepo) Load data from an input stream using the supplied RDF format and validate it against the supplied shapes sail.Load data from RDF content in a string and validate it against the supplied shapes sail.Load data from RDF content in a string using an auto-detected RDF format and validate it against the supplied shapes sail.Load data from RDF content in a string using the supplied RDF format and validate it against the supplied shapes sail.Load data from a URL and validate it against the supplied shapes sail.Load data from a URL using an auto-detected RDF format and validate it against the supplied shapes sail.Load data from a URL using the supplied RDF format and validate it against the supplied shapes sail.Load data from a URL using an auto-detected RDF format and validate it against the supplied shapes sail.Load data from a path and validate it against the supplied shapes sail.Load data from a path using an auto-detected RDF format and validate it against the supplied shapes sail.Load data from a path using the supplied RDF format and validate it against the supplied shapes sail.Load data from a path using an auto-detected RDF format and validate it against the supplied shapes sail.Load shapes from a file using an auto-detected RDF format and validate the supplied data sail.Load shapes from a file using an auto-detected RDF format and validate the supplied data sail.Load shapes from a file and validate the supplied data sail.Load shapes from a file using the supplied RDF format and validate the supplied data sail.validate(Sail dataRepo, InputStream shapesInputStream, String baseURI) Load shapes from an input stream using an auto-detected RDF format and validate the supplied data sail.validate(Sail dataRepo, InputStream shapesInputStream, String baseURI, RDFFormat format) Load shapes from an input stream and validate the supplied data sail.validate(Sail dataRepo, InputStream shapesInputStream, RDFFormat format) Load shapes from an input stream using the supplied RDF format and validate the supplied data sail.Load shapes from RDF content in a string using an auto-detected RDF format and validate the supplied data sail.Load shapes from RDF content in a string and validate the supplied data sail.Load shapes from RDF content in a string using the supplied RDF format and validate the supplied data sail.Load shapes from a URL using an auto-detected RDF format and validate the supplied data sail.Load shapes from a URL using an auto-detected RDF format and validate the supplied data sail.Load shapes from a URL and validate the supplied data sail.Load shapes from a URL using the supplied RDF format and validate the supplied data sail.Load shapes from a path using an auto-detected RDF format and validate the supplied data sail.Load shapes from a path using an auto-detected RDF format and validate the supplied data sail.Load shapes from a path and validate the supplied data sail.Load shapes from a path using the supplied RDF format and validate the supplied data sail.Validate the supplied data sail against the supplied shapes sail.
-
Constructor Details
-
Validator
Create a validator that uses the supplied builder configuration.- Parameters:
builder- configured builder
-
-
Method Details
-
validate
Validate the supplied data sail against the supplied shapes sail.- Parameters:
dataRepo- data sail to validateshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from a file and validate it against the supplied shapes sail.- Parameters:
dataFile- data file to parsebaseURI- base URI for resolving relative IRIsformat- RDF format to useshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from a path and validate it against the supplied shapes sail.- Parameters:
dataPath- data path to parsebaseURI- base URI for resolving relative IRIsformat- RDF format to useshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from a URL and validate it against the supplied shapes sail.- Parameters:
dataUrl- data URL to parsebaseURI- base URI for resolving relative IRIsformat- RDF format to useshapesRepo- shapes sail- Returns:
- validation report
-
validate
public ValidationReport validate(InputStream dataInputStream, String baseURI, RDFFormat format, Sail shapesRepo) Load data from an input stream and validate it against the supplied shapes sail. The input stream is not closed by this method.- Parameters:
dataInputStream- data input stream to parsebaseURI- base URI for resolving relative IRIsformat- RDF format to useshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from RDF content in a string and validate it against the supplied shapes sail.- Parameters:
data- RDF content to parsebaseURI- base URI for resolving relative IRIsformat- RDF format to useshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from a file using an auto-detected RDF format and validate it against the supplied shapes sail.- Parameters:
dataFile- data file to parsebaseURI- base URI for resolving relative IRIsshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from a path using an auto-detected RDF format and validate it against the supplied shapes sail.- Parameters:
dataPath- data path to parsebaseURI- base URI for resolving relative IRIsshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from a URL using an auto-detected RDF format and validate it against the supplied shapes sail.- Parameters:
dataUrl- data URL to parsebaseURI- base URI for resolving relative IRIsshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from an input stream using an auto-detected RDF format and validate it against the supplied shapes sail. The input stream is not closed by this method.- Parameters:
dataInputStream- data input stream to parsebaseURI- base URI for resolving relative IRIsshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from RDF content in a string using an auto-detected RDF format and validate it against the supplied shapes sail.- Parameters:
data- RDF content to parsebaseURI- base URI for resolving relative IRIsshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from a file using the supplied RDF format and validate it against the supplied shapes sail.- Parameters:
dataFile- data file to parseformat- RDF format to useshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from a path using the supplied RDF format and validate it against the supplied shapes sail.- Parameters:
dataPath- data path to parseformat- RDF format to useshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from a URL using the supplied RDF format and validate it against the supplied shapes sail.- Parameters:
dataUrl- data URL to parseformat- RDF format to useshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from an input stream using the supplied RDF format and validate it against the supplied shapes sail. The input stream is not closed by this method.- Parameters:
dataInputStream- data input stream to parseformat- RDF format to useshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from RDF content in a string using the supplied RDF format and validate it against the supplied shapes sail.- Parameters:
data- RDF content to parseformat- RDF format to useshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from a file using an auto-detected RDF format and validate it against the supplied shapes sail.- Parameters:
dataFile- data file to parseshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from a path using an auto-detected RDF format and validate it against the supplied shapes sail.- Parameters:
dataPath- data path to parseshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load data from a URL using an auto-detected RDF format and validate it against the supplied shapes sail.- Parameters:
dataUrl- data URL to parseshapesRepo- shapes sail- Returns:
- validation report
-
validate
Load shapes from a file and validate the supplied data sail.- Parameters:
dataRepo- data sail to validateshapesFile- shapes file to parsebaseURI- base URI for resolving relative IRIsformat- RDF format to use- Returns:
- validation report
-
validate
Load shapes from a path and validate the supplied data sail.- Parameters:
dataRepo- data sail to validateshapesPath- shapes path to parsebaseURI- base URI for resolving relative IRIsformat- RDF format to use- Returns:
- validation report
-
validate
Load shapes from a URL and validate the supplied data sail.- Parameters:
dataRepo- data sail to validateshapesUrl- shapes URL to parsebaseURI- base URI for resolving relative IRIsformat- RDF format to use- Returns:
- validation report
-
validate
public ValidationReport validate(Sail dataRepo, InputStream shapesInputStream, String baseURI, RDFFormat format) Load shapes from an input stream and validate the supplied data sail. The input stream is not closed by this method.- Parameters:
dataRepo- data sail to validateshapesInputStream- shapes input stream to parsebaseURI- base URI for resolving relative IRIsformat- RDF format to use- Returns:
- validation report
-
validate
Load shapes from RDF content in a string and validate the supplied data sail.- Parameters:
dataRepo- data sail to validateshapes- RDF content for shapesbaseURI- base URI for resolving relative IRIsformat- RDF format to use- Returns:
- validation report
-
validate
Load shapes from a file using an auto-detected RDF format and validate the supplied data sail.- Parameters:
dataRepo- data sail to validateshapesFile- shapes file to parsebaseURI- base URI for resolving relative IRIs- Returns:
- validation report
-
validate
Load shapes from a path using an auto-detected RDF format and validate the supplied data sail.- Parameters:
dataRepo- data sail to validateshapesPath- shapes path to parsebaseURI- base URI for resolving relative IRIs- Returns:
- validation report
-
validate
Load shapes from a URL using an auto-detected RDF format and validate the supplied data sail.- Parameters:
dataRepo- data sail to validateshapesUrl- shapes URL to parsebaseURI- base URI for resolving relative IRIs- Returns:
- validation report
-
validate
Load shapes from an input stream using an auto-detected RDF format and validate the supplied data sail. The input stream is not closed by this method.- Parameters:
dataRepo- data sail to validateshapesInputStream- shapes input stream to parsebaseURI- base URI for resolving relative IRIs- Returns:
- validation report
-
validate
Load shapes from RDF content in a string using an auto-detected RDF format and validate the supplied data sail.- Parameters:
dataRepo- data sail to validateshapes- RDF content for shapesbaseURI- base URI for resolving relative IRIs- Returns:
- validation report
-
validate
Load shapes from a file using the supplied RDF format and validate the supplied data sail.- Parameters:
dataRepo- data sail to validateshapesFile- shapes file to parseformat- RDF format to use- Returns:
- validation report
-
validate
Load shapes from a path using the supplied RDF format and validate the supplied data sail.- Parameters:
dataRepo- data sail to validateshapesPath- shapes path to parseformat- RDF format to use- Returns:
- validation report
-
validate
Load shapes from a URL using the supplied RDF format and validate the supplied data sail.- Parameters:
dataRepo- data sail to validateshapesUrl- shapes URL to parseformat- RDF format to use- Returns:
- validation report
-
validate
Load shapes from an input stream using the supplied RDF format and validate the supplied data sail. The input stream is not closed by this method.- Parameters:
dataRepo- data sail to validateshapesInputStream- shapes input stream to parseformat- RDF format to use- Returns:
- validation report
-
validate
Load shapes from RDF content in a string using the supplied RDF format and validate the supplied data sail.- Parameters:
dataRepo- data sail to validateshapes- RDF content for shapesformat- RDF format to use- Returns:
- validation report
-
validate
Load shapes from a file using an auto-detected RDF format and validate the supplied data sail.- Parameters:
dataRepo- data sail to validateshapesFile- shapes file to parse- Returns:
- validation report
-
validate
Load shapes from a path using an auto-detected RDF format and validate the supplied data sail.- Parameters:
dataRepo- data sail to validateshapesPath- shapes path to parse- Returns:
- validation report
-
validate
Load shapes from a URL using an auto-detected RDF format and validate the supplied data sail.- Parameters:
dataRepo- data sail to validateshapesUrl- shapes URL to parse- Returns:
- validation report
-