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#
| Property | Value |
|---|---|
| Class URI | lokf:KnowledgeBundle |
| Tree Root | Yes |
Slots#
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| lokf_version | 0..1 String | The LOKF version the bundle targets (e | direct |
| okf_version | 0..1 String | The OKF version the bundle remains compatible with (e | direct |
| base_iri | 0..1 Uri | The base IRI against which Concept IDs are resolved to produce each concept’s… | direct |
| context | 0..1 Uri | The URL of the JSON-LD @context to attach to this bundle’s concepts to interp… | direct |
| title | 0..1 String | Human-readable display name | direct |
| description | 0..1 String | A single-sentence summary of the concept | direct |
| license | 0..1 Uriorcurie | The license under which the concept or bundle is offered | direct |
| publisher | 0..1 Agent | The agent responsible for making the bundle available | direct |
| concepts | * Concept | The concepts contained in a bundle | direct |
Identifier and Mapping Information#
Schema Source#
- from schema: https://w3id.org/lokf/schema
Mappings#
| Mapping Type | Mapped Value |
|---|---|
| self | lokf:KnowledgeBundle |
| native | lokf:KnowledgeBundle |
| close | dcat: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