Interface ShaclValidator


  • public interface ShaclValidator
    Public API for the SHACL Validation.
    • Method Detail

      • get

        static ShaclValidator get()
        Return the current system-wide ShaclValidator.
      • parse

        Shapes parse​(Graph shapesGraph)
        Parse the shapes from the graph and return a AST object that has all the shapes.
      • parse

        default Shapes parse​(java.lang.String filenameOrURL)
        Parse the shapes from a file or URL return a AST object that has all the shapes.
      • conforms

        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 generate a complete report.
        See Also:
        validate(Shapes, Graph)
      • conforms

        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 generate a complete report.
        See Also:
        validate(Graph, Graph)
      • conforms

        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 generate a complete report.
        See Also:
        validate(Shapes, Graph, Node)