From 21dbce60292a27d77f5f3be56780bc5075ed4a4c Mon Sep 17 00:00:00 2001 From: Ivan Herman Date: Wed, 13 Dec 2023 16:32:22 +0100 Subject: [PATCH] Generated a distribution and a new doc --- CHANGES.md | 5 ++ dist/lib/common.js | 1 + dist/lib/convert.js | 21 +++++++-- dist/lib/vocab.schema.json | 3 +- dist/main.js | 1 + docs/classes/index.VocabGeneration.html | 28 +++++------ docs/classes/lib_common.StatusCounter.html | 14 +++--- docs/enums/lib_common.Status.html | 16 +++---- .../index.generateVocabularyFiles.html | 10 ++-- .../index.generate_vocabulary_files.html | 10 ++-- docs/functions/lib_context.toContext.html | 10 ++-- docs/functions/lib_convert.getData.html | 10 ++-- docs/functions/lib_html.toHTML.html | 10 ++-- docs/functions/lib_jsonld.toJSONLD.html | 10 ++-- .../lib_schema.validateWithSchema.html | 10 ++-- docs/functions/lib_turtle.toTurtle.html | 10 ++-- docs/index.html | 11 +++-- docs/interfaces/lib_common.Example.html | 14 +++--- docs/interfaces/lib_common.Link.html | 14 +++--- .../lib_common.OntologyProperty.html | 16 +++---- docs/interfaces/lib_common.RDFClass.html | 38 +++++++-------- docs/interfaces/lib_common.RDFDatatype.html | 34 +++++++------- docs/interfaces/lib_common.RDFIndividual.html | 28 +++++------ docs/interfaces/lib_common.RDFPrefix.html | 14 +++--- docs/interfaces/lib_common.RDFProperty.html | 36 +++++++-------- docs/interfaces/lib_common.RDFTerm.html | 28 +++++------ docs/interfaces/lib_common.RawVocab.html | 24 +++++----- docs/interfaces/lib_common.RawVocabEntry.html | 46 +++++++++---------- .../lib_common.ValidationError.html | 16 +++---- .../lib_common.ValidationResults.html | 14 +++--- docs/interfaces/lib_common.Vocab.html | 22 ++++----- docs/modules.html | 8 ++-- docs/modules/index.html | 10 ++-- docs/modules/lib_common.html | 10 ++-- docs/modules/lib_context.html | 10 ++-- docs/modules/lib_convert.html | 10 ++-- docs/modules/lib_html.html | 10 ++-- docs/modules/lib_jsonld.html | 10 ++-- docs/modules/lib_schema.html | 10 ++-- docs/modules/lib_turtle.html | 10 ++-- .../variables/lib_common.EXTRA_DATATYPES.html | 10 ++-- docs/variables/lib_common.global.html | 10 ++-- package.json | 2 +- 43 files changed, 328 insertions(+), 306 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index e031904..a988690 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,8 @@ +## Version 1.4.6 + +- Label is now optional + + ## Version 1.4.5 - Error in the namespace for `Property` (see https://github.com/w3c/yml2vocab/issues/16) diff --git a/dist/lib/common.js b/dist/lib/common.js index 0ac6baf..082a876 100644 --- a/dist/lib/common.js +++ b/dist/lib/common.js @@ -1,4 +1,5 @@ "use strict"; +// deno-lint-ignore-file no-explicit-any /** * Common types and variables. * diff --git a/dist/lib/convert.js b/dist/lib/convert.js index 6a64ce1..636254c 100644 --- a/dist/lib/convert.js +++ b/dist/lib/convert.js @@ -181,11 +181,22 @@ function finalizeRawEntry(raw) { }; } })(); + const label = ((str) => { + if (str) { + return str; + } + else if (raw.id && raw.id.length > 0) { + return raw.id[0].toLocaleUpperCase() + raw.id.substring(1); + } + else { + return ""; + } + })(raw.label); return { id: (raw.id) ? raw.id : "", property: raw.property, value: raw.value, - label: (raw.label) ? raw.label : "", + label: label, upper_value: toArray(raw.upper_value), domain: toArray(raw.domain), range: toArray(raw.range), @@ -315,7 +326,9 @@ function getData(vocab_source) { vocab.property.map((raw) => { const types = (raw.status === common_1.Status.deprecated) ? ["rdf:Property", "owl:DeprecatedProperty"] : ["rdf:Property"]; // Calculate the number of entries in various categories - common_2.global.status_counter.add(raw.status); + // The conditional assignment is actually unnecessary per the earlier processing, + // but the deno typescript checker complains... + common_2.global.status_counter.add(raw.status ? raw.status : common_1.Status.stable); let range = raw.range; if (range && range.length > 0) { if (range.length === 1 && (range[0].toUpperCase() === "IRI" || range[0].toUpperCase() === "URL")) { @@ -359,7 +372,9 @@ function getData(vocab_source) { const included_in_domain_of = []; const includes_range_of = []; // Calculate the number of entries in various categories - common_2.global.status_counter.add(raw.status); + // The conditional assignment is actually unnecessary per the earlier processing, + // but the deno typescript checker complains... + common_2.global.status_counter.add(raw.status ? raw.status : common_1.Status.stable); // Get all domain/range cross references for (const property of properties) { crossref(raw, property, property.range, range_of, includes_range_of); diff --git a/dist/lib/vocab.schema.json b/dist/lib/vocab.schema.json index ac0a21d..a2a7a00 100644 --- a/dist/lib/vocab.schema.json +++ b/dist/lib/vocab.schema.json @@ -160,8 +160,7 @@ } }, "required": [ - "id", - "label" + "id" ], "anyOf": [ { "required": ["comment"] }, diff --git a/dist/main.js b/dist/main.js index d2049fa..95be3a2 100755 --- a/dist/main.js +++ b/dist/main.js @@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); const yml2vocab = require("./index"); const commander_1 = require("commander"); +const process = require("node:process"); /** * Entry point for running the script on the command line: * diff --git a/docs/classes/index.VocabGeneration.html b/docs/classes/index.VocabGeneration.html index ab2f2a2..791d4a1 100644 --- a/docs/classes/index.VocabGeneration.html +++ b/docs/classes/index.VocabGeneration.html @@ -1,4 +1,4 @@ -VocabGeneration | Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4
+VocabGeneration | Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
  • Preparing search index...
  • -
  • The search index is not available
Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4
+
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    @@ -24,7 +24,7 @@

    Hierarchy

    • VocabGeneration
    +
  • Defined in index.ts:13
  • @@ -64,7 +64,7 @@
    yml_content: string

    Returns VocabGeneration

    +
  • Defined in index.ts:21
  • Methods

    @@ -78,7 +78,7 @@

    Returns

    The JSON-LD content

    Returns string

    +
  • Defined in index.ts:49
    • @@ -96,7 +96,7 @@
      template: string

    Returns string

    +
  • Defined in index.ts:58
    • @@ -108,7 +108,7 @@

      Returns

      The JSON-LD content

      Returns string

    +
  • Defined in index.ts:40
    • @@ -120,7 +120,7 @@

      Returns

      The Turtle content

      Returns string

    +
  • Defined in index.ts:30
  • +
  • Defined in index.ts:66
    • @@ -141,7 +141,7 @@

      Parameters

      template: string

    Returns string

    +
  • Defined in index.ts:65
  • +
  • Defined in index.ts:64
  • +
  • Defined in index.ts:63
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6

    Returns void

    +
  • Defined in lib/common.ts:37
    • @@ -74,7 +74,7 @@

      Parameters

      status: Status

    Returns number

    +
  • Defined in lib/common.ts:53
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6

    Characterization of a class/property/individual on whether it is stable or not.

    +
  • Defined in lib/common.ts:23
  • @@ -38,17 +38,17 @@

    Enumeration Members

    deprecated: "deprecated"
    +
  • Defined in lib/common.ts:26
  • reserved: "reserved"
    +
  • Defined in lib/common.ts:25
  • stable: "stable"
    +
  • Defined in lib/common.ts:24
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6

    Returns Promise<void>

    +
  • Defined in index.ts:82
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6

    Returns Promise<void>

    +
  • Defined in index.ts:143
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    +
  • Defined in lib/context.ts:29
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6

    Returns Vocab

    +
  • Defined in lib/convert.ts:254
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6

    Returns string

    +
  • Defined in lib/html.ts:73
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    +
  • Defined in lib/jsonld.ts:55
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6

    Returns ValidationResults

    +
  • Defined in lib/schema.ts:21
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    +
  • Defined in lib/turtle.ts:17
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    -

    Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4

    +

    Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6

    Generate RDFS vocabulary files from YAML

    @@ -31,7 +31,7 @@

    Definition of the vocabulary in the YAML file

    • Common key/value pairs for the class, property, and individual blocks:

        -
      • label refers to a short header label to the term.
      • +
      • label refers to a short header label to the term. If missing, the capitalized value of id is used.
      • comment refers to a longer description of the term, and can be used for blocks in the class, property and individual top-level blocks. It may include HTML Flow content elements. The comment will be encapsulated into an HTML <div> element and will then be displayed verbatim in the HTML version of the vocabulary, and as a literal of type rdf:HTML in the JSON-LD and Turtle versions. Note that the Markdown syntax for simple formatting, like the use of "" for <code.../>`, may also be used.
      • defined_by should be a URL, referring to the formal definition of the term.
      • see_also refers to one or more blocks with label and url keys, providing a human readable title and a URL, respectively, to an external document that can be referred to by the description of the term. (These are translated into an rdfs:seeAlso term in the vocabulary.)
      • @@ -55,6 +55,7 @@

        Definition of the vocabulary in the YAML file

      • class: blocks of a class definitions. For each class he id key defines the class name (no prefix should be used here). Possible superclasses are defined by the upper_value key as a single term, or a sequence of terms.

      • property: blocks of a property definitions. For each property the id key defines the property name (no prefix should be used here); possible superproperties are defined in the by the upper_value as a single term, or as a sequence of terms. The domain and range classes can also be provided as a single term, or as a sequence of terms, through the domain and range keys, respectively.

        +

        Note that both the domain and the range keys can take an array of class references as values. For the former this means the resulting domain is the union of the referred classes, whereas for the latter it is the intersection.

        The range key may also use the (single) IRI (or URL) term instead of class references. This keyword denotes a property that has no explicit range, but whose objects are expected to be IRI references. The generated vocabulary annotates these properties as belonging to the owl:ObjectProperty class, which is the term reserved for properties whose objects are not supposed to be literals.

        The dataset key can also be set to a boolean value. This key only influences the generated JSON-LD @context: if the value is true, the JSON-LD @container is set to the @graph value for the property, signalling that the value refers to a dataset (or graph). See the JSON-LD Specification for further details.

      • @@ -172,7 +173,7 @@

        Theme

    @@ -6,13 +6,13 @@
    Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    @@ -24,7 +24,7 @@

    Hierarchy

    • Example
    +
  • Defined in lib/common.ts:89
  • @@ -41,12 +41,12 @@

    Properties

    json: string
    +
  • Defined in lib/common.ts:91
  • label?: string
    +
  • Defined in lib/common.ts:90
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    @@ -24,7 +24,7 @@

    Hierarchy

    • Link
    +
  • Defined in lib/common.ts:81
  • @@ -41,12 +41,12 @@

    Properties

    label: string
    +
  • Defined in lib/common.ts:82
  • url: string
    +
  • Defined in lib/common.ts:83
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    @@ -26,7 +26,7 @@

    Hierarchy

    • OntologyProperty
    +
  • Defined in lib/common.ts:228
  • @@ -44,17 +44,17 @@

    Properties

    property: string
    +
  • Defined in lib/common.ts:229
  • url: boolean
    +
  • Defined in lib/common.ts:231
  • value: string
    +
  • Defined in lib/common.ts:230
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    +
  • Defined in lib/common.ts:162
  • defined_by?: string
    +
  • Defined in lib/common.ts:163
  • deprecated?: boolean
    +
  • Defined in lib/common.ts:165
  • domain_of: string[]
    +
  • Defined in lib/common.ts:178
  • example?: Example[]
    +
  • Defined in lib/common.ts:167
  • id: string
    +
  • Defined in lib/common.ts:159
  • included_in_domain_of: string[]
    +
  • Defined in lib/common.ts:179
  • includes_range_of: string[]
    +
  • Defined in lib/common.ts:180
  • label: string
    +
  • Defined in lib/common.ts:161
  • range_of: string[]
    +
  • Defined in lib/common.ts:177
  • see_also?: Link[]
    +
  • Defined in lib/common.ts:164
  • status?: Status
    +
  • Defined in lib/common.ts:166
  • subClassOf?: string[]
    +
  • Defined in lib/common.ts:176
  • type: string[]
    +
  • Defined in lib/common.ts:160
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    +
  • Defined in lib/common.ts:162
  • defined_by?: string
    +
  • Defined in lib/common.ts:163
  • deprecated?: boolean
    +
  • Defined in lib/common.ts:165
  • example?: Example[]
    +
  • Defined in lib/common.ts:167
  • id: string
    +
  • Defined in lib/common.ts:159
  • includes_range_of: string[]
    +
  • Defined in lib/common.ts:210
  • label: string
    +
  • Defined in lib/common.ts:161
  • range_of: string[]
    +
  • Defined in lib/common.ts:209
  • see_also?: Link[]
    +
  • Defined in lib/common.ts:164
  • status?: Status
    +
  • Defined in lib/common.ts:166
  • subClassOf?: string[]
    +
  • Defined in lib/common.ts:208
  • type: string[]
    +
  • Defined in lib/common.ts:160
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    @@ -28,7 +28,7 @@

    Hierarchy

    • RDFIndividual
    +
  • Defined in lib/common.ts:200
  • @@ -53,55 +53,55 @@
    +
  • Defined in lib/common.ts:162
  • defined_by?: string
    +
  • Defined in lib/common.ts:163
  • deprecated?: boolean
    +
  • Defined in lib/common.ts:165
  • example?: Example[]
    +
  • Defined in lib/common.ts:167
  • id: string
    +
  • Defined in lib/common.ts:159
  • label: string
    +
  • Defined in lib/common.ts:161
  • see_also?: Link[]
    +
  • Defined in lib/common.ts:164
  • status?: Status
    +
  • Defined in lib/common.ts:166
  • type: string[]
    +
  • Defined in lib/common.ts:160
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    @@ -24,7 +24,7 @@

    Hierarchy

    • RDFPrefix
    +
  • Defined in lib/common.ts:217
  • @@ -41,12 +41,12 @@

    Properties

    prefix: string
    +
  • Defined in lib/common.ts:218
  • url: string
    +
  • Defined in lib/common.ts:219
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    +
  • Defined in lib/common.ts:162
  • dataset?: boolean
    +
  • Defined in lib/common.ts:191
  • defined_by?: string
    +
  • Defined in lib/common.ts:163
  • deprecated?: boolean
    +
  • Defined in lib/common.ts:165
  • domain?: string[]
    +
  • Defined in lib/common.ts:189
  • example?: Example[]
    +
  • Defined in lib/common.ts:167
  • id: string
    +
  • Defined in lib/common.ts:159
  • label: string
    +
  • Defined in lib/common.ts:161
  • range?: string[]
    +
  • Defined in lib/common.ts:190
  • see_also?: Link[]
    +
  • Defined in lib/common.ts:164
  • status?: Status
    +
  • Defined in lib/common.ts:166
  • subPropertyOf?: string[]
    +
  • Defined in lib/common.ts:188
  • type: string[]
    +
  • Defined in lib/common.ts:160
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    @@ -29,7 +29,7 @@

    Hierarchy

  • RDFIndividual
  • RDFDatatype
  • +
  • Defined in lib/common.ts:158
  • @@ -53,47 +53,47 @@

    Properties

    comment?: string
    +
  • Defined in lib/common.ts:162
  • defined_by?: string
    +
  • Defined in lib/common.ts:163
  • deprecated?: boolean
    +
  • Defined in lib/common.ts:165
  • example?: Example[]
    +
  • Defined in lib/common.ts:167
  • id: string
    +
  • Defined in lib/common.ts:159
  • label: string
    +
  • Defined in lib/common.ts:161
  • see_also?: Link[]
    +
  • Defined in lib/common.ts:164
  • status?: Status
    +
  • Defined in lib/common.ts:166
  • type: string[]
    +
  • Defined in lib/common.ts:160
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    @@ -24,7 +24,7 @@

    Hierarchy

    • RawVocab
    +
  • Defined in lib/common.ts:120
  • @@ -46,37 +46,37 @@

    Properties

    class?: RawVocabEntry[]
    +
  • Defined in lib/common.ts:124
  • datatype?: RawVocabEntry[]
    +
  • Defined in lib/common.ts:127
  • individual?: RawVocabEntry[]
    +
  • Defined in lib/common.ts:126
  • ontology: RawVocabEntry[]
    +
  • Defined in lib/common.ts:123
  • prefix?: RawVocabEntry[]
    +
  • Defined in lib/common.ts:122
  • property?: RawVocabEntry[]
    +
  • Defined in lib/common.ts:125
  • vocab: RawVocabEntry[]
    +
  • Defined in lib/common.ts:121
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    @@ -26,7 +26,7 @@

    Hierarchy

    • RawVocabEntry
    +
  • Defined in lib/common.ts:100
  • @@ -41,7 +41,7 @@

    Properties

    domain? example? id -label +label? property? range? see_also? @@ -55,72 +55,72 @@

    Properties

    comment?: string
    +
  • Defined in lib/common.ts:111
  • dataset?: boolean
    +
  • Defined in lib/common.ts:114
  • defined_by?: string
    +
  • Defined in lib/common.ts:110
  • deprecated?: boolean
    +
  • Defined in lib/common.ts:108
  • domain?: string[]
    +
  • Defined in lib/common.ts:106
  • example?: Example[]
    +
  • Defined in lib/common.ts:113
  • id: string
    +
  • Defined in lib/common.ts:101
  • - -
    label: string
    +
  • Defined in lib/common.ts:104
  • property?: string
    +
  • Defined in lib/common.ts:102
  • range?: string[]
    +
  • Defined in lib/common.ts:107
  • see_also?: Link[]
    +
  • Defined in lib/common.ts:112
  • status?: Status
    +
  • Defined in lib/common.ts:109
  • upper_value?: string[]
    +
  • Defined in lib/common.ts:105
  • value?: string
    +
  • Defined in lib/common.ts:103
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    @@ -25,7 +25,7 @@

    Hierarchy

    • ValidationError
    +
  • Defined in lib/common.ts:149
  • @@ -43,17 +43,17 @@

    Properties

    data?: any
    +
  • Defined in lib/common.ts:152
  • message?: string
    +
  • Defined in lib/common.ts:150
  • params?: any
    +
  • Defined in lib/common.ts:151
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    @@ -25,7 +25,7 @@

    Hierarchy

    • ValidationResults
    +
  • Defined in lib/common.ts:135
  • @@ -42,7 +42,7 @@

    Properties

    +
  • Defined in lib/common.ts:142
  • vocab: RawVocab
    @@ -51,7 +51,7 @@
    +
  • Defined in lib/common.ts:141
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    @@ -25,7 +25,7 @@

    Hierarchy

    • Vocab
    +
  • Defined in lib/common.ts:238
  • @@ -46,32 +46,32 @@

    Properties

    classes: RDFClass[]
    +
  • Defined in lib/common.ts:241
  • datatypes: RDFDatatype[]
    +
  • Defined in lib/common.ts:244
  • individuals: RDFIndividual[]
    +
  • Defined in lib/common.ts:243
  • ontology_properties: OntologyProperty[]
    +
  • Defined in lib/common.ts:240
  • prefixes: RDFPrefix[]
    +
  • Defined in lib/common.ts:239
  • properties: RDFProperty[]
    +
  • Defined in lib/common.ts:242
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    -

    Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4

    +

    Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6

    Index

    @@ -43,7 +43,7 @@

    Theme

    @@ -6,17 +6,17 @@ Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    +
  • Defined in index.ts:1
  • @@ -48,7 +48,7 @@

    Theme

    @@ -6,20 +6,20 @@
    Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6

    Common types and variables.

    +
  • Defined in lib/common.ts:12
  • @@ -72,7 +72,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    (see the 'Vocab' interface).

    +
  • Defined in lib/context.ts:8
  • @@ -47,7 +47,7 @@

    Theme

    @@ -6,13 +6,13 @@ Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    +
  • Defined in lib/convert.ts:7
  • @@ -47,7 +47,7 @@

    Theme

    @@ -6,13 +6,13 @@ Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    +
  • Defined in lib/html.ts:7
  • @@ -47,7 +47,7 @@

    Theme

    @@ -6,13 +6,13 @@ Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    +
  • Defined in lib/jsonld.ts:8
  • @@ -47,7 +47,7 @@

    Theme

    @@ -6,20 +6,20 @@ Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6

    Import the YAML file, validate against a JSON schema, and return the data as an object...

    +
  • Defined in lib/schema.ts:7
  • @@ -46,7 +46,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    +
  • Defined in lib/turtle.ts:7
  • @@ -47,7 +47,7 @@

    Theme

    @@ -6,13 +6,13 @@ Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    +
  • Defined in lib/common.ts:12
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.4 +
  • The search index is not available
  • Converter of vocabulary in YAML format into Turtle/JSON-LD/HTML+RDFa - v1.4.6
    +
  • Defined in lib/common.ts:65