@faubulous/mentor-rdf
    Preparing search index...

    Interface GraphUriGenerator

    A handler to generate graph URIs from any given URI.

    interface GraphUriGenerator {
        getGraphUri(uri: string | Quad_Graph): string;
        isInferenceGraphUri(uri: string | Quad_Graph): boolean;
    }

    Implemented by

    Index
    • Generate a graph URI from a given URI.

      Parameters

      • uri: string | Quad_Graph

        A URI.

      Returns string

    • Check if a given URI is the URI of an inference graph generated by this handler.

      Parameters

      • uri: string | Quad_Graph

        A URI.

      Returns boolean

      true if the URI is an inference graph URI, false otherwise.