Class SHACLFunctions


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

      • SHACLFunctions

        public SHACLFunctions()
    • Method Detail

      • 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