solid-ui
    Preparing search index...

    Function parse

    • Parse a string and put the result into the graph kb. Normal method is sync. Unfortunately jsdonld is currently written to need to be called async. Hence the mess below with executeCallback.

      Parameters

      • str: string

        The input string to parse

      • kb: Formula

        The store to use

      • base: string

        The base URI to use

      • OptionalcontentType: string

        The MIME content type string for the input - defaults to text/turtle

      • Optionalcallback: CallbackFunc

        The callback to call when the data has been loaded

      Returns void