Class ShapesLoader

java.lang.Object
ai.chatur.cortex.core.lint.ShapesLoader

public final class ShapesLoader extends Object
Builds the Shapes that incoming assertions are validated against.
  • Method Details

    • load

      public static org.apache.jena.shacl.Shapes load(List<String> shapes)
      Builds the SHACL shapes by merging the given Turtle documents, in order.
      Parameters:
      shapes - the shapes documents, in Turtle syntax
      Returns:
      the parsed, merged shapes