schema-sidecar
Theme
Text size
GitHub Menu

Class in Linked Open Knowledge Format (LOKF)

KnowledgeBundle

A self-contained, hierarchical collection of concept documents — the unit of distribution (a git repo, tarball, or subdirectory). Maps to a DCAT Catalog. When a whole bundle is serialized as a single JSON-LD document, this class is the tree root; individual concept files validate against Concept (or a subclass).

URI: lokf:KnowledgeBundle

 classDiagram
    class KnowledgeBundle
    click KnowledgeBundle href "../../classes/KnowledgeBundle/"
      KnowledgeBundle : base_iri
        
      KnowledgeBundle : concepts
        
          
    
        
        
        KnowledgeBundle --> "*" Concept : concepts
        click Concept href "../../classes/Concept/"
    

        
      KnowledgeBundle : context
        
      KnowledgeBundle : description
        
      KnowledgeBundle : license
        
      KnowledgeBundle : lokf_version
        
      KnowledgeBundle : okf_version
        
      KnowledgeBundle : publisher
        
          
    
        
        
        KnowledgeBundle --> "0..1" Agent : publisher
        click Agent href "../../classes/Agent/"
    

        
      KnowledgeBundle : title
        
      

Class Properties#

PropertyValue
Class URIlokf:KnowledgeBundle
Tree RootYes

Slots#

NameCardinality and RangeDescriptionInheritance
lokf_version0..1
String
The LOKF version the bundle targets (edirect
okf_version0..1
String
The OKF version the bundle remains compatible with (edirect
base_iri0..1
Uri
The base IRI against which Concept IDs are resolved to produce each concept’s…direct
context0..1
Uri
The URL of the JSON-LD @context to attach to this bundle’s concepts to interp…direct
title0..1
String
Human-readable display namedirect
description0..1
String
A single-sentence summary of the conceptdirect
license0..1
Uriorcurie
The license under which the concept or bundle is offereddirect
publisher0..1
Agent
The agent responsible for making the bundle availabledirect
concepts*
Concept
The concepts contained in a bundledirect

Identifier and Mapping Information#

Schema Source#

Mappings#

Mapping TypeMapped Value
selflokf:KnowledgeBundle
nativelokf:KnowledgeBundle
closedcat:Catalog, schema:Collection

LinkML Source#

Direct#

YAML
name: KnowledgeBundle
description: A self-contained, hierarchical collection of concept documents — the
  unit of distribution (a git repo, tarball, or subdirectory). Maps to a DCAT Catalog.
  When a whole bundle is serialized as a single JSON-LD document, this class is the
  tree root; individual concept files validate against Concept (or a subclass).
from_schema: https://w3id.org/lokf/schema
close_mappings:
- dcat:Catalog
- schema:Collection
slots:
- lokf_version
- okf_version
- base_iri
- context
- title
- description
- license
- publisher
- concepts
class_uri: lokf:KnowledgeBundle
tree_root: true

Induced#

YAML
name: KnowledgeBundle
description: A self-contained, hierarchical collection of concept documents — the
  unit of distribution (a git repo, tarball, or subdirectory). Maps to a DCAT Catalog.
  When a whole bundle is serialized as a single JSON-LD document, this class is the
  tree root; individual concept files validate against Concept (or a subclass).
from_schema: https://w3id.org/lokf/schema
close_mappings:
- dcat:Catalog
- schema:Collection
attributes:
  lokf_version:
    name: lokf_version
    description: The LOKF version the bundle targets (e.g. "0.2").
    in_subset:
    - lokf_semantic
    from_schema: https://w3id.org/lokf/schema
    rank: 1000
    slot_uri: lokf:lokfVersion
    owner: KnowledgeBundle
    domain_of:
    - KnowledgeBundle
    range: string
  okf_version:
    name: okf_version
    description: The OKF version the bundle remains compatible with (e.g. "0.2").
    in_subset:
    - okf_core
    from_schema: https://w3id.org/lokf/schema
    rank: 1000
    slot_uri: lokf:okfVersion
    owner: KnowledgeBundle
    domain_of:
    - KnowledgeBundle
    range: string
  base_iri:
    name: base_iri
    description: The base IRI against which Concept IDs are resolved to produce each
      concept's stable `id`. An identifier namespace, not a hyperlink. Absolute http(s),
      ending in `/` or `#` so ids mint by plain concatenation and prefix routing respects
      segment boundaries (`…/team/` never captures `…/team-archive/`).
    comments:
    - It need not resolve to a live page (a 404 is valid) — only a well-formed absolute
      IRI with an authority is required. A resolvable "Cool URI" is the ideal, not
      a requirement.
    in_subset:
    - lokf_semantic
    from_schema: https://w3id.org/lokf/schema
    see_also:
    - https://www.w3.org/Provider/Style/URI
    rank: 1000
    slot_uri: lokf:baseIri
    owner: KnowledgeBundle
    domain_of:
    - KnowledgeBundle
    range: uri
    pattern: ^https?://\S+[/#]$
  context:
    name: context
    description: The URL of the JSON-LD @context to attach to this bundle's concepts
      to interpret their frontmatter as Linked Data.
    in_subset:
    - lokf_semantic
    from_schema: https://w3id.org/lokf/schema
    rank: 1000
    slot_uri: lokf:context
    owner: KnowledgeBundle
    domain_of:
    - KnowledgeBundle
    range: uri
  title:
    name: title
    description: Human-readable display name.
    in_subset:
    - okf_core
    from_schema: https://w3id.org/lokf/schema
    close_mappings:
    - dcterms:title
    - rdfs:label
    rank: 1000
    slot_uri: schema:name
    owner: KnowledgeBundle
    domain_of:
    - KnowledgeBundle
    - Concept
    - Citation
    - Source
    range: string
  description:
    name: description
    description: A single-sentence summary of the concept.
    in_subset:
    - okf_core
    from_schema: https://w3id.org/lokf/schema
    close_mappings:
    - dcterms:description
    rank: 1000
    slot_uri: schema:description
    owner: KnowledgeBundle
    domain_of:
    - KnowledgeBundle
    - Concept
    - Field
    - Distribution
    - Citation
    range: string
  license:
    name: license
    description: The license under which the concept or bundle is offered.
    in_subset:
    - lokf_semantic
    from_schema: https://w3id.org/lokf/schema
    rank: 1000
    slot_uri: schema:license
    owner: KnowledgeBundle
    domain_of:
    - KnowledgeBundle
    - Concept
    range: uriorcurie
  publisher:
    name: publisher
    description: The agent responsible for making the bundle available.
    in_subset:
    - lokf_semantic
    from_schema: https://w3id.org/lokf/schema
    close_mappings:
    - dcterms:publisher
    rank: 1000
    slot_uri: schema:publisher
    owner: KnowledgeBundle
    domain_of:
    - KnowledgeBundle
    range: Agent
    inlined: true
  concepts:
    name: concepts
    description: The concepts contained in a bundle.
    in_subset:
    - lokf_semantic
    from_schema: https://w3id.org/lokf/schema
    rank: 1000
    slot_uri: dcat:dataset
    owner: KnowledgeBundle
    domain_of:
    - KnowledgeBundle
    range: Concept
    multivalued: true
    inlined: true
    inlined_as_list: true
class_uri: lokf:KnowledgeBundle
tree_root: true