Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.12.0
    Preparing search index...

    Function toJSONLD

    • Generate the JSON-LD representation of the vocabulary.

      The function does not generate JSON-LD directly; instead, a standard JS object is generated and the built-in JSON serializer takes care of the idiosyncrasies of the JSON syntax.

      Parameters

      • vocab: Vocab

        The internal representation of the vocabulary

      Returns string