Class SHACLFunctions

java.lang.Object
org.topbraid.shacl.arq.SHACLFunctions

public class SHACLFunctions extends Object
Manages globally registered SHACL functions, usually loaded from .api.* files.
Author:
Holger Knublauch
  • Constructor Details

    • SHACLFunctions

      public SHACLFunctions()
  • Method Details

    • getGlobalFunctions

      public static org.apache.jena.rdf.model.Model getGlobalFunctions()
    • registerFunction

      public static void registerFunction(org.apache.jena.rdf.model.Resource resource)
      Registers a single SHACL function declared as a sh:Function.
      Parameters:
      resource - the function resource
    • registerFunctions

      public static void registerFunctions(org.apache.jena.rdf.model.Model model)
      Registers all SHACL functions from a given Model.
      Parameters:
      model - the Model to register the functions from
    • registerGlobalFunctions

      public static void registerGlobalFunctions(org.apache.jena.rdf.model.Model model)