Class ShaclValidator.ValidatorWithShapes
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ShaclValidator.ValidatorWithShapes
- Enclosing class:
ShaclValidator
-
Constructor Summary
ConstructorsConstructorDescriptionValidatorWithShapes(ShaclValidator.BuilderWithShapes builderWithShapes) Create a validator that uses the supplied builder configuration. -
Method Summary
Modifier and TypeMethodDescriptionLoad data from a file using an auto-detected RDF format and validate it against the configured shapes.Load data from a file using an auto-detected RDF format and validate it against the configured shapes.Load data from a file and validate it against the configured shapes.Load data from a file using the supplied RDF format and validate it against the configured shapes.validate(InputStream dataInputStream, String baseURI) Load data from an input stream using an auto-detected RDF format and validate it against the configured shapes.validate(InputStream dataInputStream, String baseURI, RDFFormat format) Load data from an input stream and validate it against the configured shapes.validate(InputStream dataInputStream, RDFFormat format) Load data from an input stream using the supplied RDF format and validate it against the configured shapes.Load data from RDF content in a string using an auto-detected RDF format and validate it against the configured shapes.Load data from RDF content in a string and validate it against the configured shapes.Load data from RDF content in a string using the supplied RDF format and validate it against the configured shapes.Load data from a URL using an auto-detected RDF format and validate it against the configured shapes.Load data from a URL using an auto-detected RDF format and validate it against the configured shapes.Load data from a URL and validate it against the configured shapes.Load data from a URL using the supplied RDF format and validate it against the configured shapes.Load data from a path using an auto-detected RDF format and validate it against the configured shapes.Load data from a path using an auto-detected RDF format and validate it against the configured shapes.Load data from a path and validate it against the configured shapes.Load data from a path using the supplied RDF format and validate it against the configured shapes.Validate the supplied data sail against the configured shapes.
-
Constructor Details
-
ValidatorWithShapes
Create a validator that uses the supplied builder configuration.- Parameters:
builderWithShapes- configured builder with shapes
-
-
Method Details
-
validate
Validate the supplied data sail against the configured shapes.- Parameters:
dataRepo- data sail to validate- Returns:
- validation report
-
validate
Load data from a file and validate it against the configured shapes.- Parameters:
dataFile- data file to parsebaseURI- base URI for resolving relative IRIsformat- RDF format to use- Returns:
- validation report
-
validate
Load data from a path and validate it against the configured shapes.- Parameters:
dataPath- data path to parsebaseURI- base URI for resolving relative IRIsformat- RDF format to use- Returns:
- validation report
-
validate
Load data from a URL and validate it against the configured shapes.- Parameters:
dataUrl- data URL to parsebaseURI- base URI for resolving relative IRIsformat- RDF format to use- Returns:
- validation report
-
validate
Load data from an input stream and validate it against the configured shapes. 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 use- Returns:
- validation report
-
validate
Load data from RDF content in a string and validate it against the configured shapes.- Parameters:
data- RDF content to parsebaseURI- base URI for resolving relative IRIsformat- RDF format to use- Returns:
- validation report
-
validate
Load data from a file using an auto-detected RDF format and validate it against the configured shapes.- Parameters:
dataFile- data file to parsebaseURI- base URI for resolving relative IRIs- Returns:
- validation report
-
validate
Load data from a path using an auto-detected RDF format and validate it against the configured shapes.- Parameters:
dataPath- data path to parsebaseURI- base URI for resolving relative IRIs- Returns:
- validation report
-
validate
Load data from a URL using an auto-detected RDF format and validate it against the configured shapes.- Parameters:
dataUrl- data URL to parsebaseURI- base URI for resolving relative IRIs- Returns:
- validation report
-
validate
Load data from an input stream using an auto-detected RDF format and validate it against the configured shapes. The input stream is not closed by this method.- Parameters:
dataInputStream- data input stream to parsebaseURI- base URI for resolving relative IRIs- Returns:
- validation report
-
validate
Load data from RDF content in a string using an auto-detected RDF format and validate it against the configured shapes.- Parameters:
data- RDF content to parsebaseURI- base URI for resolving relative IRIs- Returns:
- validation report
-
validate
Load data from a file using the supplied RDF format and validate it against the configured shapes.- Parameters:
dataFile- data file to parseformat- RDF format to use- Returns:
- validation report
-
validate
Load data from a path using the supplied RDF format and validate it against the configured shapes.- Parameters:
dataPath- data path to parseformat- RDF format to use- Returns:
- validation report
-
validate
Load data from a URL using the supplied RDF format and validate it against the configured shapes.- Parameters:
dataUrl- data URL to parseformat- RDF format to use- Returns:
- validation report
-
validate
Load data from an input stream using the supplied RDF format and validate it against the configured shapes. The input stream is not closed by this method.- Parameters:
dataInputStream- data input stream to parseformat- RDF format to use- Returns:
- validation report
-
validate
Load data from RDF content in a string using the supplied RDF format and validate it against the configured shapes.- Parameters:
data- RDF content to parseformat- RDF format to use- Returns:
- validation report
-
validate
Load data from a file using an auto-detected RDF format and validate it against the configured shapes.- Parameters:
dataFile- data file to parse- Returns:
- validation report
-
validate
Load data from a path using an auto-detected RDF format and validate it against the configured shapes.- Parameters:
dataPath- data path to parse- Returns:
- validation report
-
validate
Load data from a URL using an auto-detected RDF format and validate it against the configured shapes.- Parameters:
dataUrl- data URL to parse- Returns:
- validation report
-