@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix lokf: <https://w3id.org/lokf/> .
@prefix org: <http://www.w3.org/ns/org#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema1: <http://schema.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix spdx: <http://spdx.org/rdf/terms#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

lokf:AttestedComputationShape a sh:NodeShape ;
    rdfs:comment "A sanctioned, immutable recipe for computing a value (OKF v0.2 §10), carried as its own concept type. The frontmatter is the contract: the agent may only bind the declared `parameters`, the `executor` runs the bound computation and returns a receipt, and the `attester` deterministically compares what actually ran against this recipe. The computation text lives in the body's `# Computation` fenced block or in the file named by `computation`. Semantically a prov:Plan with an attestation contract layered on." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 33 ;
            sh:path lokf:usageWindow ],
        [ sh:description "How the computation is run and what evidence a run must return." ;
            sh:maxCount 1 ;
            sh:node lokf:ExecutorShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 3 ;
            sh:path lokf:executor ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 12 ;
            sh:path schema1:dateCreated ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:url ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path lokf:excludes ],
        [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 18 ;
            sh:path lokf:relations ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path schema1:isBasedOn ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:description ],
        [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 5 ;
            sh:path schema1:identifier ],
        [ sh:description "The deterministic, non-LLM verdict check over a receipt." ;
            sh:maxCount 1 ;
            sh:node lokf:AttesterShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 4 ;
            sh:path lokf:attester ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 15 ;
            sh:path schema1:author ],
        [ sh:description "The typed, named holes the agent may fill — the ONLY surface the agent may bind. Binding semantics follow `runtime`." ;
            sh:node lokf:ParameterShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 1 ;
            sh:path lokf:parameter ],
        [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 41 ;
            sh:path schema1:audience ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 38 ;
            sh:path schema1:creativeWorkStatus ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 36 ;
            sh:path lokf:verified ],
        [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 26 ;
            sh:path schema1:sameAs ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 14 ;
            sh:path schema1:license ],
        [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 25 ;
            sh:path schema1:about ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 10 ;
            sh:path schema1:keywords ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 27 ;
            sh:path dcterms:relation ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:isPartOf ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 43 ;
            sh:path schema1:educationalLevel ],
        [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 28 ;
            sh:path rdfs:isDefinedBy ],
        [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 34 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 13 ;
            sh:path schema1:version ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 29 ;
            sh:path dcterms:source ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:dateModified ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 17 ;
            sh:path schema1:citation ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path schema1:hasPart ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:name ],
        [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 39 ;
            sh:path schema1:expires ],
        [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path dcterms:requires ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 16 ;
            sh:path schema1:text ],
        [ sh:datatype xsd:anyURI ;
            sh:description "Optional path to a file holding the computation; absent means the body's `# Computation` fenced block IS the computation. Minted in lokf: schema:contentUrl is the nearest real property but is scoped to MediaObject bytes." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path lokf:computation ],
        [ sh:datatype xsd:string ;
            sh:description "REQUIRED on an Attested Computation. How to run the computation (bigquery | postgres | dbt | python | Looker | ...); defines what `parameters` mean and how the executor and attester interpret the contract." ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path schema1:runtimePlatform ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path dcterms:references ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 37 ;
            sh:path lokf:refuted ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 6 ;
            sh:path rdf:type ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 42 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 35 ;
            sh:path lokf:revised ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 30 ;
            sh:path schema1:genre ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 40 ;
            sh:path schema1:additionalType ] ;
    sh:targetClass lokf:AttestedComputation .

lokf:DatasetShape a sh:NodeShape ;
    rdfs:comment "A collection of data, published or curated for access and reuse." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path schema1:sameAs ],
        [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 15 ;
            sh:path lokf:relations ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:license ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 29 ;
            sh:path lokf:excludes ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 34 ;
            sh:path lokf:refuted ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 16 ;
            sh:path dcterms:isPartOf ],
        [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path lokf:revised ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 39 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 38 ;
            sh:path schema1:audience ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:dateModified ],
        [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:requires ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 10 ;
            sh:path schema1:version ],
        [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path schema1:about ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:keywords ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 27 ;
            sh:path schema1:genre ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path schema1:description ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 40 ;
            sh:path schema1:educationalLevel ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 3 ;
            sh:path rdf:type ],
        [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 36 ;
            sh:path schema1:expires ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 12 ;
            sh:path schema1:author ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 13 ;
            sh:path schema1:text ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 37 ;
            sh:path schema1:additionalType ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:dateCreated ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 14 ;
            sh:path schema1:citation ],
        [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 30 ;
            sh:path lokf:usageWindow ],
        [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 25 ;
            sh:path rdfs:isDefinedBy ],
        [ sh:description "Accessible forms of the dataset." ;
            sh:node lokf:DistributionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 0 ;
            sh:path dcat:distribution ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 4 ;
            sh:path schema1:name ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 18 ;
            sh:path dcterms:references ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 17 ;
            sh:path schema1:hasPart ],
        [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:description "The columns / properties that make up a dataset's schema." ;
            sh:node lokf:FieldShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 1 ;
            sh:path lokf:field ],
        [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 2 ;
            sh:path schema1:identifier ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path schema1:url ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 35 ;
            sh:path schema1:creativeWorkStatus ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 26 ;
            sh:path dcterms:source ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 28 ;
            sh:path schema1:isBasedOn ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 33 ;
            sh:path lokf:verified ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path dcterms:relation ] ;
    sh:targetClass schema1:Dataset .

lokf:DocumentShape a sh:NodeShape ;
    rdfs:comment "A general knowledge document that does not fit a more specific type." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 28 ;
            sh:path lokf:usageWindow ],
        [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path rdfs:isDefinedBy ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 33 ;
            sh:path schema1:creativeWorkStatus ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 37 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 18 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 4 ;
            sh:path schema1:url ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 35 ;
            sh:path schema1:additionalType ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 10 ;
            sh:path schema1:author ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path schema1:dateModified ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:name ],
        [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 34 ;
            sh:path schema1:expires ],
        [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 13 ;
            sh:path lokf:relations ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path lokf:refuted ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 26 ;
            sh:path schema1:isBasedOn ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:text ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 38 ;
            sh:path schema1:educationalLevel ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:dateCreated ],
        [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path schema1:about ],
        [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 29 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 30 ;
            sh:path lokf:revised ],
        [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path schema1:sameAs ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path dcterms:relation ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 1 ;
            sh:path rdf:type ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:version ],
        [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 36 ;
            sh:path schema1:audience ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 3 ;
            sh:path schema1:description ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path lokf:verified ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path dcterms:source ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path schema1:keywords ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 27 ;
            sh:path lokf:excludes ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 25 ;
            sh:path schema1:genre ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 15 ;
            sh:path schema1:hasPart ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 14 ;
            sh:path dcterms:isPartOf ],
        [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 0 ;
            sh:path schema1:identifier ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 16 ;
            sh:path dcterms:references ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 12 ;
            sh:path schema1:citation ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:license ],
        [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 17 ;
            sh:path dcterms:requires ] ;
    sh:targetClass lokf:Document .

lokf:ExplanationShape a sh:NodeShape ;
    rdfs:comment "An understanding-oriented, discursive treatment of a topic that permits reflection. The Diátaxis explanation mode as a first-class concept type; typically links to its subject matter with `about`." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 27 ;
            sh:path lokf:excludes ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 26 ;
            sh:path schema1:isBasedOn ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path dcterms:source ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 18 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path dcterms:relation ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 12 ;
            sh:path schema1:citation ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 38 ;
            sh:path schema1:educationalLevel ],
        [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 30 ;
            sh:path lokf:revised ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:version ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:dateCreated ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:text ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:name ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path schema1:keywords ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 33 ;
            sh:path schema1:creativeWorkStatus ],
        [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 34 ;
            sh:path schema1:expires ],
        [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 13 ;
            sh:path lokf:relations ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 15 ;
            sh:path schema1:hasPart ],
        [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 36 ;
            sh:path schema1:audience ],
        [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 0 ;
            sh:path schema1:identifier ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 35 ;
            sh:path schema1:additionalType ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 14 ;
            sh:path dcterms:isPartOf ],
        [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 17 ;
            sh:path dcterms:requires ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path lokf:verified ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path schema1:dateModified ],
        [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path schema1:sameAs ],
        [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 29 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 3 ;
            sh:path schema1:description ],
        [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path schema1:about ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 4 ;
            sh:path schema1:url ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 25 ;
            sh:path schema1:genre ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 37 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path rdfs:isDefinedBy ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:license ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path lokf:refuted ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 1 ;
            sh:path rdf:type ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 16 ;
            sh:path dcterms:references ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 10 ;
            sh:path schema1:author ],
        [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 28 ;
            sh:path lokf:usageWindow ] ;
    sh:targetClass lokf:Explanation .

lokf:GlossaryTermShape a sh:NodeShape ;
    rdfs:comment "A defined term in a controlled vocabulary or glossary. Maps to schema:DefinedTerm and skos:Concept." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 25 ;
            sh:path rdfs:isDefinedBy ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 3 ;
            sh:path rdf:type ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 29 ;
            sh:path lokf:excludes ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 34 ;
            sh:path lokf:refuted ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path schema1:about ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path schema1:description ],
        [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:requires ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 10 ;
            sh:path schema1:version ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 14 ;
            sh:path schema1:citation ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 26 ;
            sh:path dcterms:source ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 17 ;
            sh:path schema1:hasPart ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 40 ;
            sh:path schema1:educationalLevel ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path schema1:url ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 13 ;
            sh:path schema1:text ],
        [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 15 ;
            sh:path lokf:relations ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 4 ;
            sh:path schema1:name ],
        [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path schema1:sameAs ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 27 ;
            sh:path schema1:genre ],
        [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 36 ;
            sh:path schema1:expires ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 33 ;
            sh:path lokf:verified ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 28 ;
            sh:path schema1:isBasedOn ],
        [ sh:datatype xsd:string ;
            sh:description "The formal definition of a term." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path skos:definition ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 39 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 16 ;
            sh:path dcterms:isPartOf ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path dcterms:relation ],
        [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path lokf:revised ],
        [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 2 ;
            sh:path schema1:identifier ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 37 ;
            sh:path schema1:additionalType ],
        [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 38 ;
            sh:path schema1:audience ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:keywords ],
        [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:dateModified ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 35 ;
            sh:path schema1:creativeWorkStatus ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:dateCreated ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 12 ;
            sh:path schema1:author ],
        [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 30 ;
            sh:path lokf:usageWindow ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:license ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 18 ;
            sh:path dcterms:references ],
        [ sh:datatype xsd:string ;
            sh:description "A short form or acronym for a term." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path schema1:alternateName ] ;
    sh:targetClass schema1:DefinedTerm .

lokf:KnowledgeBundleShape a sh:NodeShape ;
    rdfs:comment "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)." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:description "The agent responsible for making the bundle available." ;
            sh:maxCount 1 ;
            sh:node lokf:AgentShape ;
            sh:nodeKind sh:IRI ;
            sh:order 7 ;
            sh:path schema1:publisher ],
        [ sh:datatype xsd:string ;
            sh:description "The OKF version the bundle remains compatible with (e.g. \"0.2\")." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path lokf:okfVersion ],
        [ sh:datatype xsd:string ;
            sh:description "The LOKF version the bundle targets (e.g. \"0.2\")." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path lokf:lokfVersion ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The URL of the JSON-LD @context to attach to this bundle's concepts to interpret their frontmatter as Linked Data." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 3 ;
            sh:path lokf:context ],
        [ sh:datatype xsd:anyURI ;
            sh: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/`)." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path lokf:baseIri ;
            sh:pattern "^https?://\\S+[/#]$" ],
        [ sh:description "The concepts contained in a bundle." ;
            sh:node lokf:ConceptShape ;
            sh:nodeKind sh:IRI ;
            sh:order 8 ;
            sh:path dcat:dataset ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 4 ;
            sh:path schema1:name ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path schema1:description ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path schema1:license ] .

lokf:MetricShape a sh:NodeShape ;
    rdfs:comment "A precisely defined, measurable quantity — the canonical definition of a business or operational metric." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 16 ;
            sh:path lokf:relations ],
        [ sh:datatype xsd:string ;
            sh:description "The unit of measurement (e.g. USD, seconds, count)." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path schema1:unitText ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 12 ;
            sh:path schema1:license ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 15 ;
            sh:path schema1:citation ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 38 ;
            sh:path schema1:additionalType ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 14 ;
            sh:path schema1:text ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:dateModified ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:url ],
        [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 33 ;
            sh:path lokf:revised ],
        [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 26 ;
            sh:path rdfs:isDefinedBy ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 34 ;
            sh:path lokf:verified ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 29 ;
            sh:path schema1:isBasedOn ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 10 ;
            sh:path schema1:dateCreated ],
        [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 3 ;
            sh:path schema1:identifier ],
        [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path schema1:sameAs ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 27 ;
            sh:path dcterms:source ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 40 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path schema1:name ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 35 ;
            sh:path lokf:refuted ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 17 ;
            sh:path dcterms:isPartOf ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 28 ;
            sh:path schema1:genre ],
        [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 30 ;
            sh:path lokf:excludes ],
        [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path schema1:about ],
        [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 37 ;
            sh:path schema1:expires ],
        [ sh:datatype xsd:string ;
            sh:description "The calculation or definition expression for a metric." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path lokf:formula ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 25 ;
            sh:path dcterms:relation ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path schema1:description ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 18 ;
            sh:path schema1:hasPart ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:version ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:keywords ],
        [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 39 ;
            sh:path schema1:audience ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:references ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 36 ;
            sh:path schema1:creativeWorkStatus ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 13 ;
            sh:path schema1:author ],
        [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path dcterms:requires ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 41 ;
            sh:path schema1:educationalLevel ],
        [ sh:class lokf:Concept ;
            sh:description "What the metric measures (a concept IRI or description)." ;
            sh:nodeKind sh:IRI ;
            sh:order 2 ;
            sh:path lokf:measures ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 4 ;
            sh:path rdf:type ],
        [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path lokf:usageWindow ] ;
    sh:targetClass lokf:Metric .

lokf:OrganizationShape a sh:NodeShape ;
    rdfs:comment "An organization, team, or group. Usable both as an inline Agent value (publisher) and as a standalone Concept document with a body and typed relations." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:license ],
        [ sh:datatype xsd:string ;
            sh:description "A name." ;
            sh:nodeKind sh:Literal ;
            sh:order 39 ;
            sh:path schema1:name ],
        [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 28 ;
            sh:path lokf:usageWindow ],
        [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 29 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 30 ;
            sh:path lokf:revised ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 27 ;
            sh:path lokf:excludes ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path dcterms:relation ],
        [ sh:datatype xsd:string ;
            sh:description "Contact email address." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 40 ;
            sh:path schema1:email ;
            sh:pattern "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$" ],
        [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path schema1:sameAs ],
        [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 0 ;
            sh:path schema1:identifier ],
        [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path schema1:about ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:text ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 3 ;
            sh:path schema1:description ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 16 ;
            sh:path dcterms:references ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 15 ;
            sh:path schema1:hasPart ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 18 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 10 ;
            sh:path schema1:author ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 33 ;
            sh:path schema1:creativeWorkStatus ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 1 ;
            sh:path rdf:type ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 38 ;
            sh:path schema1:educationalLevel ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:name ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 4 ;
            sh:path schema1:url ],
        [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path rdfs:isDefinedBy ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 35 ;
            sh:path schema1:additionalType ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path schema1:dateModified ],
        [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 17 ;
            sh:path dcterms:requires ],
        [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 34 ;
            sh:path schema1:expires ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 14 ;
            sh:path dcterms:isPartOf ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path lokf:verified ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 25 ;
            sh:path schema1:genre ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path lokf:refuted ],
        [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 36 ;
            sh:path schema1:audience ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:version ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path schema1:keywords ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 26 ;
            sh:path schema1:isBasedOn ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:dateCreated ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 37 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 12 ;
            sh:path schema1:citation ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path dcterms:source ],
        [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 13 ;
            sh:path lokf:relations ] ;
    sh:targetClass schema1:Organization .

lokf:PersonShape a sh:NodeShape ;
    rdfs:comment "An individual person. Usable both as an inline Agent value (author, publisher) and as a standalone Concept document with a body and typed relations." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path schema1:about ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 14 ;
            sh:path dcterms:isPartOf ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:version ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 37 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path rdfs:isDefinedBy ],
        [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 0 ;
            sh:path schema1:identifier ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 16 ;
            sh:path dcterms:references ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 1 ;
            sh:path rdf:type ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 33 ;
            sh:path schema1:creativeWorkStatus ],
        [ sh:datatype xsd:string ;
            sh:description "A name." ;
            sh:nodeKind sh:Literal ;
            sh:order 39 ;
            sh:path schema1:name ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 3 ;
            sh:path schema1:description ],
        [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 36 ;
            sh:path schema1:audience ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 35 ;
            sh:path schema1:additionalType ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:dateCreated ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path lokf:verified ],
        [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 30 ;
            sh:path lokf:revised ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 18 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:name ],
        [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 29 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:datatype xsd:string ;
            sh:description "Contact email address." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 40 ;
            sh:path schema1:email ;
            sh:pattern "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$" ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 25 ;
            sh:path schema1:genre ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 13 ;
            sh:path lokf:relations ],
        [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 17 ;
            sh:path dcterms:requires ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 4 ;
            sh:path schema1:url ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path dcterms:relation ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:text ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 38 ;
            sh:path schema1:educationalLevel ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path lokf:refuted ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path schema1:keywords ],
        [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 34 ;
            sh:path schema1:expires ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 15 ;
            sh:path schema1:hasPart ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 10 ;
            sh:path schema1:author ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path dcterms:source ],
        [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 28 ;
            sh:path lokf:usageWindow ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 12 ;
            sh:path schema1:citation ],
        [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path schema1:sameAs ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:license ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 26 ;
            sh:path schema1:isBasedOn ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 27 ;
            sh:path lokf:excludes ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path schema1:dateModified ] ;
    sh:targetClass schema1:Person .

lokf:PlaybookShape a sh:NodeShape ;
    rdfs:comment "A procedure or runbook — an ordered set of steps to accomplish a task or respond to an event. Serves the Diátaxis how-to (goal-oriented) mode." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 30 ;
            sh:path lokf:revised ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path lokf:refuted ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path schema1:dateModified ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path schema1:keywords ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 14 ;
            sh:path dcterms:isPartOf ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 25 ;
            sh:path schema1:genre ],
        [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 0 ;
            sh:path schema1:identifier ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 26 ;
            sh:path schema1:isBasedOn ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 33 ;
            sh:path schema1:creativeWorkStatus ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path dcterms:relation ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 27 ;
            sh:path lokf:excludes ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path dcterms:source ],
        [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 34 ;
            sh:path schema1:expires ],
        [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 28 ;
            sh:path lokf:usageWindow ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:name ],
        [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path schema1:sameAs ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 10 ;
            sh:path schema1:author ],
        [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 13 ;
            sh:path lokf:relations ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:version ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 37 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 12 ;
            sh:path schema1:citation ],
        [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 36 ;
            sh:path schema1:audience ],
        [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path rdfs:isDefinedBy ],
        [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 29 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 15 ;
            sh:path schema1:hasPart ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 4 ;
            sh:path schema1:url ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 16 ;
            sh:path dcterms:references ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:text ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 1 ;
            sh:path rdf:type ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:license ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 18 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path schema1:about ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 35 ;
            sh:path schema1:additionalType ],
        [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 17 ;
            sh:path dcterms:requires ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path lokf:verified ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:dateCreated ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 3 ;
            sh:path schema1:description ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 38 ;
            sh:path schema1:educationalLevel ] ;
    sh:targetClass lokf:Playbook .

lokf:PolicyShape a sh:NodeShape ;
    rdfs:comment "A governance, compliance, or operational policy document." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 17 ;
            sh:path dcterms:requires ],
        [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path schema1:about ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path schema1:dateModified ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:text ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:license ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 37 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 3 ;
            sh:path schema1:description ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 18 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 12 ;
            sh:path schema1:citation ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path dcterms:source ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 38 ;
            sh:path schema1:educationalLevel ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:dateCreated ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 1 ;
            sh:path rdf:type ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path lokf:verified ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 33 ;
            sh:path schema1:creativeWorkStatus ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 27 ;
            sh:path lokf:excludes ],
        [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 29 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 34 ;
            sh:path schema1:expires ],
        [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 36 ;
            sh:path schema1:audience ],
        [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path schema1:sameAs ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 26 ;
            sh:path schema1:isBasedOn ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 16 ;
            sh:path dcterms:references ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 25 ;
            sh:path schema1:genre ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 35 ;
            sh:path schema1:additionalType ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:version ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 4 ;
            sh:path schema1:url ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path dcterms:relation ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 10 ;
            sh:path schema1:author ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 14 ;
            sh:path dcterms:isPartOf ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 15 ;
            sh:path schema1:hasPart ],
        [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 0 ;
            sh:path schema1:identifier ],
        [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path rdfs:isDefinedBy ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path lokf:refuted ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 13 ;
            sh:path lokf:relations ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path schema1:keywords ],
        [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 30 ;
            sh:path lokf:revised ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:name ],
        [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 28 ;
            sh:path lokf:usageWindow ] ;
    sh:targetClass lokf:Policy .

lokf:ReferenceShape a sh:NodeShape ;
    rdfs:comment "A concept that mirrors an external source (a page, paper, or document) as a first-class citizen of the bundle so it can be cited and linked." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 3 ;
            sh:path schema1:description ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 37 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 16 ;
            sh:path dcterms:references ],
        [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 29 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 34 ;
            sh:path schema1:expires ],
        [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 13 ;
            sh:path lokf:relations ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:name ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 35 ;
            sh:path schema1:additionalType ],
        [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 17 ;
            sh:path dcterms:requires ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 10 ;
            sh:path schema1:author ],
        [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path rdfs:isDefinedBy ],
        [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 30 ;
            sh:path lokf:revised ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:license ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 1 ;
            sh:path rdf:type ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path dcterms:source ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 18 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path schema1:keywords ],
        [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 28 ;
            sh:path lokf:usageWindow ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:dateCreated ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 38 ;
            sh:path schema1:educationalLevel ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 26 ;
            sh:path schema1:isBasedOn ],
        [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path schema1:about ],
        [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 36 ;
            sh:path schema1:audience ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 4 ;
            sh:path schema1:url ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 27 ;
            sh:path lokf:excludes ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:version ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path schema1:dateModified ],
        [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 0 ;
            sh:path schema1:identifier ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path lokf:refuted ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:text ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 15 ;
            sh:path schema1:hasPart ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 14 ;
            sh:path dcterms:isPartOf ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 25 ;
            sh:path schema1:genre ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path lokf:verified ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path dcterms:relation ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 12 ;
            sh:path schema1:citation ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 33 ;
            sh:path schema1:creativeWorkStatus ],
        [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path schema1:sameAs ] ;
    sh:targetClass lokf:Reference .

lokf:RoleShape a sh:NodeShape ;
    rdfs:comment "A role an agent holds within an organization over a period of time — a job, appointment, or position. Reifies the agent–organization link so it can carry a title (roleName) and a start/end interval, following the schema.org Role and W3C ORG Membership patterns." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:datatype xsd:string ;
            sh:description "The name/title of the role held (e.g. a job title)." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path schema1:roleName ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:description ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:class lokf:Concept ;
            sh:description "The agent (typically a Person) who holds the role." ;
            sh:nodeKind sh:IRI ;
            sh:order 4 ;
            sh:path org:member ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:name ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 13 ;
            sh:path schema1:version ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 36 ;
            sh:path lokf:verified ],
        [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 18 ;
            sh:path lokf:relations ],
        [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 26 ;
            sh:path schema1:sameAs ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 14 ;
            sh:path schema1:license ],
        [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 35 ;
            sh:path lokf:revised ],
        [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path dcterms:requires ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 16 ;
            sh:path schema1:text ],
        [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 34 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 42 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path schema1:hasPart ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 10 ;
            sh:path schema1:keywords ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path schema1:isBasedOn ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:isPartOf ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 43 ;
            sh:path schema1:educationalLevel ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 12 ;
            sh:path schema1:dateCreated ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 30 ;
            sh:path schema1:genre ],
        [ sh:class lokf:Concept ;
            sh:description "The organization within which the role is held." ;
            sh:nodeKind sh:IRI ;
            sh:order 3 ;
            sh:path schema1:memberOf ],
        [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 5 ;
            sh:path schema1:identifier ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 37 ;
            sh:path lokf:refuted ],
        [ sh:datatype xsd:string ;
            sh:description "The date the role ended; omit for a role still held." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:endDate ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 27 ;
            sh:path dcterms:relation ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:dateModified ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 6 ;
            sh:path rdf:type ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 17 ;
            sh:path schema1:citation ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 15 ;
            sh:path schema1:author ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 40 ;
            sh:path schema1:additionalType ],
        [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 39 ;
            sh:path schema1:expires ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path lokf:excludes ],
        [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 33 ;
            sh:path lokf:usageWindow ],
        [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 41 ;
            sh:path schema1:audience ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:url ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 38 ;
            sh:path schema1:creativeWorkStatus ],
        [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 25 ;
            sh:path schema1:about ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path dcterms:references ],
        [ sh:datatype xsd:string ;
            sh:description "The date the role began (ISO 8601 date or year)." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path schema1:startDate ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 29 ;
            sh:path dcterms:source ],
        [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 28 ;
            sh:path rdfs:isDefinedBy ] ;
    sh:targetClass schema1:OrganizationRole .

lokf:ServiceShape a sh:NodeShape ;
    rdfs:comment "A callable service or API endpoint." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 10 ;
            sh:path schema1:dateCreated ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 25 ;
            sh:path dcterms:relation ],
        [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 33 ;
            sh:path lokf:revised ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 41 ;
            sh:path schema1:educationalLevel ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path schema1:name ],
        [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path schema1:sameAs ],
        [ sh:description "The HTTP method used to invoke the service, if applicable." ;
            sh:in ( "GET" "POST" "PUT" "PATCH" "DELETE" "HEAD" "OPTIONS" ) ;
            sh:maxCount 1 ;
            sh:order 1 ;
            sh:path schema1:httpMethod ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 35 ;
            sh:path lokf:refuted ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 30 ;
            sh:path lokf:excludes ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 36 ;
            sh:path schema1:creativeWorkStatus ],
        [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path lokf:usageWindow ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 4 ;
            sh:path rdf:type ],
        [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 3 ;
            sh:path schema1:identifier ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 28 ;
            sh:path schema1:genre ],
        [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 26 ;
            sh:path rdfs:isDefinedBy ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path schema1:about ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 40 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 12 ;
            sh:path schema1:license ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:version ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 18 ;
            sh:path schema1:hasPart ],
        [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 37 ;
            sh:path schema1:expires ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 34 ;
            sh:path lokf:verified ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path schema1:description ],
        [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 39 ;
            sh:path schema1:audience ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:keywords ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 38 ;
            sh:path schema1:additionalType ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:references ],
        [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 16 ;
            sh:path lokf:relations ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:url ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 27 ;
            sh:path dcterms:source ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 29 ;
            sh:path schema1:isBasedOn ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:dateModified ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 13 ;
            sh:path schema1:author ],
        [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path dcterms:requires ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 15 ;
            sh:path schema1:citation ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A link to the service's documentation." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:documentation ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 17 ;
            sh:path dcterms:isPartOf ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 14 ;
            sh:path schema1:text ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The base URL or invocation endpoint of a service." ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path schema1:url ] ;
    sh:targetClass schema1:WebAPI .

lokf:TableShape a sh:NodeShape ;
    rdfs:comment "A structured, tabular dataset (e.g. a warehouse table or view) whose columns are described by Field objects under `fields`." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 36 ;
            sh:path schema1:expires ],
        [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 30 ;
            sh:path lokf:usageWindow ],
        [ sh:description "Accessible forms of the dataset." ;
            sh:node lokf:DistributionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 0 ;
            sh:path dcat:distribution ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path schema1:url ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 29 ;
            sh:path lokf:excludes ],
        [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 2 ;
            sh:path schema1:identifier ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 3 ;
            sh:path rdf:type ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 17 ;
            sh:path schema1:hasPart ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:dateCreated ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 34 ;
            sh:path lokf:refuted ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 12 ;
            sh:path schema1:author ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path dcterms:relation ],
        [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path schema1:sameAs ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path schema1:description ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 13 ;
            sh:path schema1:text ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:license ],
        [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 38 ;
            sh:path schema1:audience ],
        [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 25 ;
            sh:path rdfs:isDefinedBy ],
        [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 15 ;
            sh:path lokf:relations ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 37 ;
            sh:path schema1:additionalType ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 33 ;
            sh:path lokf:verified ],
        [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:requires ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 27 ;
            sh:path schema1:genre ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 28 ;
            sh:path schema1:isBasedOn ],
        [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path lokf:revised ],
        [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 40 ;
            sh:path schema1:educationalLevel ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 14 ;
            sh:path schema1:citation ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 10 ;
            sh:path schema1:version ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 4 ;
            sh:path schema1:name ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 35 ;
            sh:path schema1:creativeWorkStatus ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:dateModified ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 39 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:keywords ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 18 ;
            sh:path dcterms:references ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 26 ;
            sh:path dcterms:source ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 16 ;
            sh:path dcterms:isPartOf ],
        [ sh:description "The columns / properties that make up a dataset's schema." ;
            sh:node lokf:FieldShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 1 ;
            sh:path lokf:field ],
        [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path schema1:about ] ;
    sh:targetClass lokf:Table .

lokf:TutorialShape a sh:NodeShape ;
    rdfs:comment "A learning-oriented lesson: a guided, end-to-end practical activity through which a reader acquires a skill by doing. The Diátaxis tutorial mode as a first-class concept type; typically links to the reference and explanation it draws on with `references`." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 0 ;
            sh:path schema1:identifier ],
        [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path rdfs:isDefinedBy ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 4 ;
            sh:path schema1:url ],
        [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 34 ;
            sh:path schema1:expires ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:dateCreated ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 18 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path schema1:dateModified ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:text ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 1 ;
            sh:path rdf:type ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 38 ;
            sh:path schema1:educationalLevel ],
        [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 30 ;
            sh:path lokf:revised ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 37 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 26 ;
            sh:path schema1:isBasedOn ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:license ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:name ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 10 ;
            sh:path schema1:author ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 15 ;
            sh:path schema1:hasPart ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 35 ;
            sh:path schema1:additionalType ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 27 ;
            sh:path lokf:excludes ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 16 ;
            sh:path dcterms:references ],
        [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path schema1:sameAs ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path lokf:verified ],
        [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 17 ;
            sh:path dcterms:requires ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 3 ;
            sh:path schema1:description ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 12 ;
            sh:path schema1:citation ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path schema1:keywords ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path dcterms:relation ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path lokf:refuted ],
        [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 28 ;
            sh:path lokf:usageWindow ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 14 ;
            sh:path dcterms:isPartOf ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:version ],
        [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path schema1:about ],
        [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 36 ;
            sh:path schema1:audience ],
        [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 13 ;
            sh:path lokf:relations ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 33 ;
            sh:path schema1:creativeWorkStatus ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path dcterms:source ],
        [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 29 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 25 ;
            sh:path schema1:genre ] ;
    sh:targetClass lokf:Tutorial .

schema1:DefinedTerm rdfs:subClassOf lokf:Concept .

schema1:Organization rdfs:subClassOf prov:Agent,
        lokf:Concept .

schema1:OrganizationRole rdfs:subClassOf lokf:Concept .

schema1:Person rdfs:subClassOf prov:Agent,
        lokf:Concept .

schema1:WebAPI rdfs:subClassOf lokf:Concept .

lokf:AttestedComputation rdfs:subClassOf lokf:Concept .

lokf:AttesterShape a sh:NodeShape ;
    rdfs:comment "The deterministic, non-LLM check for an Attested Computation (OKF v0.2 §10.2): `resource` names code that takes a run's receipt and returns a verdict, run consumer-side. Honestly lokf-minted." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:datatype xsd:anyURI ;
            sh:description "Path or URL to the deterministic verdict code." ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path schema1:url ] .

lokf:BooleanParameter rdfs:subClassOf lokf:Parameter .

lokf:ChecksumShape a sh:NodeShape ;
    rdfs:comment "A digest of a distribution's bytes, which a consumer recomputes before trusting them. Maps to spdx:Checksum, as DCAT 3 attaches it." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:description "The algorithm that computed a checksum." ;
            sh:in ( spdx:checksumAlgorithm_sha1 spdx:checksumAlgorithm_sha224 spdx:checksumAlgorithm_sha256 spdx:checksumAlgorithm_sha384 spdx:checksumAlgorithm_sha512 spdx:checksumAlgorithm_sha3_256 spdx:checksumAlgorithm_sha3_384 spdx:checksumAlgorithm_sha3_512 spdx:checksumAlgorithm_blake2b256 spdx:checksumAlgorithm_blake2b384 spdx:checksumAlgorithm_blake2b512 spdx:checksumAlgorithm_md5 ) ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:order 0 ;
            sh:path spdx:algorithm ],
        [ sh:datatype xsd:hexBinary ;
            sh:description "The checksum as lowercase hexadecimal digits, as many as the algorithm's digest has: 32 (md5), 40 (sha1), 56 (sha224), 64 (the 256-bit digests), 96 (the 384-bit ones) or 128 (the 512-bit ones)." ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path spdx:checksumValue ;
            sh:pattern "^([0-9a-f]{32}|[0-9a-f]{40}|[0-9a-f]{56}|[0-9a-f]{64}|[0-9a-f]{96}|[0-9a-f]{128})$" ] .

lokf:ConceptShape a sh:NodeShape ;
    rdfs:comment "A single unit of knowledge within a bundle, represented as one markdown document. The abstract base of every LOKF type. Its own IRI (`id`) is the RDF subject; the markdown body and typed relations become triples about that subject." ;
    sh:closed false ;
    sh:ignoredProperties ( schema1:alternateName schema1:documentation schema1:endDate schema1:httpMethod schema1:memberOf schema1:roleName schema1:runtimePlatform schema1:startDate schema1:unitText rdf:type skos:definition dcat:distribution org:member lokf:attester lokf:computation lokf:executor lokf:field lokf:formula lokf:measures lokf:parameter ) ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:description "The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers." ;
            sh:maxCount 1 ;
            sh:node lokf:AudienceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 36 ;
            sh:path schema1:audience ],
        [ sh:datatype xsd:string ;
            sh:description "The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 11 ;
            sh:path schema1:text ],
        [ sh:class lokf:Concept ;
            sh:description "A generic association to another concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 22 ;
            sh:path dcterms:relation ],
        [ sh:class lokf:Concept ;
            sh:description "An IRI asserting this concept is the same entity as another." ;
            sh:nodeKind sh:IRI ;
            sh:order 21 ;
            sh:path schema1:sameAs ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:name ],
        [ sh:datatype xsd:string ;
            sh:description "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 37 ;
            sh:path schema1:typicalAgeRange ;
            sh:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ],
        [ sh:datatype xsd:string ;
            sh:description "A version string for the concept's content." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 8 ;
            sh:path schema1:version ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 3 ;
            sh:path schema1:description ],
        [ sh:description "The latest in-place edit of the content, as `{by, at}`, kept apart from `generated`, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of `revised.at` and `generated.at`, so a bundle that restamps `generated.at` on each edit instead, as 0.8.0 bundles do, reads as before." ;
            sh:maxCount 1 ;
            sh:node lokf:RevisionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 30 ;
            sh:path lokf:revised ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime of the last meaningful change." ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path schema1:dateModified ],
        [ sh:datatype xsd:string ;
            sh:description "Short cross-cutting keywords for categorization." ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path schema1:keywords ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that supersedes this one, without asserting equivalence." ;
            sh:nodeKind sh:IRI ;
            sh:order 19 ;
            sh:path dcterms:isReplacedBy ],
        [ sh:description "External sources supporting claims in the body." ;
            sh:node lokf:CitationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 12 ;
            sh:path schema1:citation ],
        [ sh:class lokf:Concept ;
            sh:description "An entity this concept was derived from (provenance)." ;
            sh:nodeKind sh:IRI ;
            sh:order 18 ;
            sh:path prov:wasDerivedFrom ],
        [ sh:class lokf:Concept ;
            sh:description "The subject matter this concept is about." ;
            sh:nodeKind sh:IRI ;
            sh:order 20 ;
            sh:path schema1:about ],
        [ sh:class lokf:Concept ;
            sh:description "A concept or resource this concept refers to." ;
            sh:nodeKind sh:IRI ;
            sh:order 16 ;
            sh:path dcterms:references ],
        [ sh:description "The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via `sources[].id`. Supersedes `citations` and the body `# Citations` convention." ;
            sh:node lokf:SourceShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 26 ;
            sh:path schema1:isBasedOn ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime the concept was created." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:dateCreated ],
        [ sh:class lokf:Concept ;
            sh:description "A concept this concept depends on." ;
            sh:nodeKind sh:IRI ;
            sh:order 17 ;
            sh:path dcterms:requires ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 1 ;
            sh:path rdf:type ],
        [ sh:datatype xsd:string ;
            sh:description "The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 38 ;
            sh:path schema1:educationalLevel ],
        [ sh:description "The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to `type`: `type` says what the concept is *about*, `genre` says how its prose *serves the reader*." ;
            sh:in ( "tutorial" "how-to" "reference" "explanation" ) ;
            sh:maxCount 1 ;
            sh:order 25 ;
            sh:path schema1:genre ],
        [ sh:description "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
            sh:node lokf:RelationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 13 ;
            sh:path lokf:relations ],
        [ sh:description "Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of `verified`, accumulated the same way. A refutation is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); it never changes the trust tier, which OKF derives from `verified` alone, and a consumer surfaces it beside the tier." ;
            sh:node lokf:RefutationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 32 ;
            sh:path lokf:refuted ],
        [ sh:class lokf:Concept ;
            sh:description "A resource from which this concept is derived or sourced." ;
            sh:nodeKind sh:IRI ;
            sh:order 24 ;
            sh:path dcterms:source ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts." ;
            sh:nodeKind sh:Literal ;
            sh:order 4 ;
            sh:path schema1:url ],
        [ sh:datatype xsd:dateTime ;
            sh:description "The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 34 ;
            sh:path schema1:expires ],
        [ sh:description "Verification events confirming the content against its sources or resource. Independent of `generated`: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any `human:<id>` actor = human-reviewed." ;
            sh:node lokf:VerificationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 31 ;
            sh:path lokf:verified ],
        [ sh:class lokf:Concept ;
            sh:description "The target concept that this concept is a part of." ;
            sh:nodeKind sh:IRI ;
            sh:order 14 ;
            sh:path dcterms:isPartOf ],
        [ sh:description "The agent(s) responsible for authoring the concept." ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:node lokf:AgentShape ;
                        sh:nodeKind sh:BlankNodeOrIRI ] ) ;
            sh:order 10 ;
            sh:path schema1:author ],
        [ sh:description "The materials this concept's author considered and left out on purpose, each with its reason. A sibling of `sources`: a material listed here was not derived from, and a material used by one concept may be left out by another." ;
            sh:node lokf:ExclusionShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 27 ;
            sh:path lokf:excludes ],
        [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 0 ;
            sh:path schema1:identifier ],
        [ sh:datatype xsd:anyURI ;
            sh:description "The license under which the concept or bundle is offered." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 9 ;
            sh:path schema1:license ],
        [ sh:datatype xsd:string ;
            sh:description "The producer's own `type` string when it names no LOKF class." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 35 ;
            sh:path schema1:additionalType ],
        [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 28 ;
            sh:path lokf:usageWindow ],
        [ sh:description "How and when the current content was produced: `by` (REQUIRED actor) and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers MAY fall back to `timestamp` when `generated` is absent." ;
            sh:maxCount 1 ;
            sh:node lokf:GenerationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 29 ;
            sh:path prov:wasGeneratedBy ],
        [ sh:class lokf:Concept ;
            sh:description "A resource that formally defines this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 23 ;
            sh:path rdfs:isDefinedBy ],
        [ sh:class lokf:Concept ;
            sh:description "A concept that is a part of this concept." ;
            sh:nodeKind sh:IRI ;
            sh:order 15 ;
            sh:path schema1:hasPart ],
        [ sh:description "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
            sh:in ( "draft" "stable" "deprecated" ) ;
            sh:maxCount 1 ;
            sh:order 33 ;
            sh:path schema1:creativeWorkStatus ] ;
    sh:targetClass lokf:Concept .

lokf:DateParameter rdfs:subClassOf lokf:Parameter .

lokf:DatetimeParameter rdfs:subClassOf lokf:Parameter .

lokf:Document rdfs:subClassOf lokf:Concept .

lokf:ExecutorShape a sh:NodeShape ;
    rdfs:comment "How an Attested Computation is run (OKF v0.2 §10.2): `resource` names run instructions or code a runner follows; `receipt` declares the field names a run must return — the evidence surface the attester inspects. No established vocabulary has an execution-interface class, so the IRI is honestly lokf-minted; schema:EntryPoint (an invocation specification) is the nearest real term." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:datatype xsd:anyURI ;
            sh:description "Path or URL to the run instructions or code." ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path schema1:url ],
        [ sh:datatype xsd:string ;
            sh:description "The field names a run must return (e.g. job_id, executed_sql, result) — the evidence the attester inspects. Receipts themselves are runtime artifacts, never stored in the bundle. Minted in lokf: no established vocabulary describes a receipt-shape declaration." ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path lokf:receipt ] .

lokf:Explanation rdfs:subClassOf lokf:Concept .

lokf:IntegerParameter rdfs:subClassOf lokf:Parameter .

lokf:JsonParameter rdfs:subClassOf lokf:Parameter .

lokf:Metric rdfs:subClassOf lokf:Concept .

lokf:NumberParameter rdfs:subClassOf lokf:Parameter .

lokf:ParameterShape a sh:NodeShape ;
    rdfs:comment "A typed, named hole in an Attested Computation that the agent may fill (OKF v0.2 §10.2). Binding semantics (SQL bind variable, dbt var, Python argument) follow the concept's `runtime`. The `type` key deliberately shares the global JSON-LD @type alias — see the attribute comment for the exact triple that results." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:datatype xsd:boolean ;
            sh:description "Whether a value for the parameter must be supplied." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path schema1:valueRequired ],
        [ sh:description "The parameter's datatype, written with the authoring key `type` verbatim and drawn from ParameterType." ;
            sh:in ( lokf:StringParameter lokf:IntegerParameter lokf:NumberParameter lokf:BooleanParameter lokf:DateParameter lokf:DatetimeParameter lokf:TimeParameter lokf:UriParameter lokf:JsonParameter ) ;
            sh:nodeKind sh:IRI ;
            sh:order 2 ;
            sh:path rdf:type ],
        [ sh:datatype xsd:string ;
            sh:description "The parameter's name, as the runtime addresses it." ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path schema1:name ] .

lokf:Playbook rdfs:subClassOf lokf:Concept .

lokf:Policy rdfs:subClassOf lokf:Concept .

lokf:Reference rdfs:subClassOf lokf:Concept .

lokf:StringParameter rdfs:subClassOf lokf:Parameter .

lokf:Table rdfs:subClassOf schema1:Dataset .

lokf:TimeParameter rdfs:subClassOf lokf:Parameter .

lokf:Tutorial rdfs:subClassOf lokf:Concept .

lokf:UriParameter rdfs:subClassOf lokf:Parameter .

schema1:Dataset rdfs:subClassOf lokf:Concept .

lokf:DistributionShape a sh:NodeShape ;
    rdfs:comment "A specific accessible form of a Dataset (a file, feed, or endpoint). Maps to dcat:Distribution." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:datatype xsd:string ;
            sh:description "The media (MIME) type of a distribution." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 3 ;
            sh:path dcat:mediaType ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path schema1:description ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:description "The size of the distribution in bytes." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path dcat:byteSize ],
        [ sh:datatype xsd:string ;
            sh:description "A name." ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path schema1:name ],
        [ sh:datatype xsd:anyURI ;
            sh:description "A URL that gives access to a distribution." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path dcat:accessURL ],
        [ sh:description "A digest of the distribution's bytes, for checking a download." ;
            sh:maxCount 1 ;
            sh:node lokf:ChecksumShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 4 ;
            sh:path spdx:checksum ] .

lokf:FieldShape a sh:NodeShape ;
    rdfs:comment "A single column / property within a Table or Dataset schema. Maps to schema:PropertyValue." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:datatype xsd:string ;
            sh:description "Free-text or expression describing constraints on a field." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 5 ;
            sh:path lokf:constraints ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:description ],
        [ sh:datatype xsd:string ;
            sh:description "A name." ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path schema1:name ],
        [ sh:datatype xsd:boolean ;
            sh:description "Whether the field is (part of) the primary key." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 4 ;
            sh:path lokf:isKey ],
        [ sh:datatype xsd:string ;
            sh:description "The unit of measurement (e.g. USD, seconds, count)." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 3 ;
            sh:path schema1:unitText ],
        [ sh:description "The data type of a field." ;
            sh:in ( "string" "integer" "number" "boolean" "date" "datetime" "time" "uri" "json" ) ;
            sh:maxCount 1 ;
            sh:order 1 ;
            sh:path lokf:datatype ] .

lokf:AudienceShape a sh:NodeShape ;
    rdfs:comment "The readers a concept is written for, as schema.org's PeopleAudience describes them: a kind of reader and an age range. Set on a concept written for narrower readers than the bundle's own, such as a version of another concept for younger readers." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:datatype xsd:integer ;
            sh:description "The youngest age, in years, the concept is written for." ;
            sh:maxCount 1 ;
            sh:minInclusive 0 ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path schema1:suggestedMinAge ],
        [ sh:datatype xsd:string ;
            sh:description "The kind of reader, in words, such as `students` or `dyslexic readers`." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path schema1:audienceType ],
        [ sh:datatype xsd:integer ;
            sh:description "The oldest age, in years, the concept is written for." ;
            sh:maxCount 1 ;
            sh:minInclusive 0 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:suggestedMaxAge ] .

lokf:CitationShape a sh:NodeShape ;
    rdfs:comment "A reference to an external source supporting a claim in a concept's body. Attached via the schema:citation predicate." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:datatype xsd:anyURI ;
            sh:description "A URL." ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path schema1:url ],
        [ sh:datatype xsd:string ;
            sh:description "A single-sentence summary of the concept." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:description ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path schema1:name ] .

lokf:ExclusionShape a sh:NodeShape ;
    rdfs:comment "A material the concept's author looked at and left out on purpose, with the reason: a test suite, a generated file, a retelling of another page. With it a checker can tell \"nobody looked at this\" from \"someone looked and set it aside\", and a reviewer can see who decided." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:datatype xsd:string ;
            sh:description "The actor who decided to leave it out, as an OKF §7 actor string (`human:<id>`, `process:<id>`, `<producer>/<version>`)." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path prov:wasAssociatedWith ;
            sh:pattern "^(human|process):\\S+$|^[^\\s/]+/[^\\s/]+$" ],
        [ sh:datatype xsd:anyURI ;
            sh:description "REQUIRED. What was left out, written as a Source's `resource` is: an absolute URL, a bundle-relative path, or a scope descriptor." ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path schema1:url ],
        [ sh:datatype xsd:string ;
            sh:description "The grounds for a decision, in a sentence a reviewer can check: why a material was left out, or what a refutation found wrong." ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path lokf:reason ] .

lokf:GenerationShape a sh:NodeShape ;
    rdfs:comment "How and when the current content was produced (OKF v0.2 `generated`, §5.2). Modeled as the PROV activity that generated the concept, so \"who wrote this, when\" is a one-hop join from the concept via prov:wasGeneratedBy, with both slots keeping PROV's activity-side semantics (prov:wasAssociatedWith, prov:endedAtTime) — domain/range correct with no reasoner or subproperty entailment required." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime at which the event completed." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path prov:endedAtTime ],
        [ sh:datatype xsd:string ;
            sh:description "The state of the resource this event refers to: a commit id, an ETag or version label, or a content digest of the resource as retrieved (`<algorithm>:<hex>`). Absent means unrecorded, never unchanged." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path lokf:revision ],
        [ sh:datatype xsd:string ;
            sh:description "The actor that performed the event, as a plain OKF §7 actor string (`<producer>/<version>`, `human:<id>`, `process:<id>`) — a literal, never an IRI. Trust tiers derive from the `human:` prefix via string inspection (SPARQL STRSTARTS). Required on a generation, revision, verification or refutation event, optional on an exclusion." ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path prov:wasAssociatedWith ;
            sh:pattern "^(human|process):\\S+$|^[^\\s/]+/[^\\s/]+$" ] .

lokf:RefutationShape a sh:NodeShape ;
    rdfs:comment "One refutation event: an actor found the content wrong against its sources or resource, at a time, for a reason. The negative counterpart of a Verification, so a person's no is recorded where their yes is. It is active while it is not older than the last meaningful change (`generated.at` or `revised.at`); an edit after it leaves it on record as history. It never changes the trust tier, which OKF derives from `verified` alone. PROV has no class for it, so the class IRI is lokf-minted and the generated ontology declares it a subclass of prov:Activity." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:datatype xsd:string ;
            sh:description "The actor that performed the event, as a plain OKF §7 actor string (`<producer>/<version>`, `human:<id>`, `process:<id>`) — a literal, never an IRI. Trust tiers derive from the `human:` prefix via string inspection (SPARQL STRSTARTS). Required on a generation, revision, verification or refutation event, optional on an exclusion." ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path prov:wasAssociatedWith ;
            sh:pattern "^(human|process):\\S+$|^[^\\s/]+/[^\\s/]+$" ],
        [ sh:datatype xsd:string ;
            sh:description "REQUIRED. What was found wrong, in a sentence a reviewer can check." ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path lokf:reason ],
        [ sh:datatype xsd:string ;
            sh:description "The state of the resource this event refers to: a commit id, an ETag or version label, or a content digest of the resource as retrieved (`<algorithm>:<hex>`). Absent means unrecorded, never unchanged." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 3 ;
            sh:path lokf:revision ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime at which the event completed." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path prov:endedAtTime ] .

lokf:RelationShape a sh:NodeShape ;
    rdfs:comment "A typed, reified relationship from the containing concept to a target, used when a predicate is not covered by one of the named relation slots. Modeled as an rdf:Statement (subject = the containing concept)." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:class lokf:Concept ;
            sh:description "The IRI (or Concept ID) of the relationship's object." ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 1 ;
            sh:path rdf:object ],
        [ sh:datatype xsd:string ;
            sh:description "An optional human-readable label for the relationship." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path rdfs:label ],
        [ sh:description "The relationship type. SHOULD be drawn from the RelationType vocabulary." ;
            sh:in ( "isPartOf" "hasPart" "references" "dependsOn" "derivedFrom" "isReplacedBy" "wasRevisionOf" "about" "sameAs" "relatedTo" "wasAttributedTo" "definedBy" "measures" "joinsWith" "source" "memberOf" "holder" ) ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:order 0 ;
            sh:path rdf:predicate ] .

lokf:RevisionShape a sh:NodeShape ;
    rdfs:comment "The latest in-place edit of the content, for a producer that keeps `generated` as the production event: who changed it last, and when. One mapping, never a list; a later edit overwrites it. PROV has no class for it, so the class IRI is lokf-minted and the generated ontology declares it a subclass of prov:Activity." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:datatype xsd:string ;
            sh:description "The actor that performed the event, as a plain OKF §7 actor string (`<producer>/<version>`, `human:<id>`, `process:<id>`) — a literal, never an IRI. Trust tiers derive from the `human:` prefix via string inspection (SPARQL STRSTARTS). Required on a generation, revision, verification or refutation event, optional on an exclusion." ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path prov:wasAssociatedWith ;
            sh:pattern "^(human|process):\\S+$|^[^\\s/]+/[^\\s/]+$" ],
        [ sh:datatype xsd:string ;
            sh:description "The state of the resource this event refers to: a commit id, an ETag or version label, or a content digest of the resource as retrieved (`<algorithm>:<hex>`). Absent means unrecorded, never unchanged." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path lokf:revision ],
        [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime at which the event completed." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path prov:endedAtTime ] .

lokf:SourceShape a sh:NodeShape ;
    rdfs:comment "A material a concept derives from (OKF v0.2 §5.1) — a pointer (`resource`) plus objective per-source credibility signals (`author`, `usage_count`, `last_modified`) from which consumers infer trust; OKF stores signals, never a score. Markdown footnotes whose label equals `id` attribute individual claims to this entry. Supersedes Citation." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:datatype xsd:integer ;
            sh:description "How often the source's resource was exercised (views, executions, reads) over the governing usage_window. An adoption/liveness signal read as order-of-magnitude and trend, not a score." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 3 ;
            sh:path lokf:usageCount ],
        [ sh:datatype xsd:string ;
            sh:description "Optional stable key joining markdown footnote labels to this entry (e.g. `ga4-schema`)." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 7 ;
            sh:path schema1:identifier ],
        [ sh:datatype xsd:dateTime ;
            sh:description "When the SOURCE itself last changed, an ISO 8601 datetime (a bare YYYY-MM-DD is read as that day at 00:00:00Z). A recency signal about the source, distinct from `generated.at`, which records when this concept's content was produced. Same predicate as the deprecated `timestamp`, on a different subject node (source vs concept)." ;
            sh:nodeKind sh:Literal ;
            sh:order 4 ;
            sh:path schema1:dateModified ],
        [ sh:description "The `{ from, to }` date range framing every `usage_count`. Attached both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry override)." ;
            sh:maxCount 1 ;
            sh:node lokf:UsageWindowShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:order 5 ;
            sh:path lokf:usageWindow ],
        [ sh:datatype xsd:anyURI ;
            sh:description "REQUIRED. An absolute URL, a bundle-relative path, or a population/scope descriptor string (e.g. \"all queries in BigQuery project X\"). Range is widened to string to admit scope descriptors; non-URI values are lossy on the RDF projection (they serialize as xsd:anyURI-typed literals)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path schema1:url ],
        [ sh:datatype xsd:string ;
            sh:description "Who or what produced the source, as an actor string (e.g. `team:analytics`, `human:jsmith@acme`, `ga4-docs/v2`) — an authority signal carried as a plain literal, not an inlined Agent object. Deliberately looser than `by`: source authorship is commonly a team or an org, so any `<prefix>:<id>` is admitted, where `by` stays confined to the §7 provenance actors the trust tiers read." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:author ;
            sh:pattern "^[^\\s:/]+:\\S+$|^[^\\s/]+/[^\\s/]+$" ],
        [ sh:datatype xsd:string ;
            sh:description "Human-readable display name." ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path schema1:name ],
        [ sh:datatype xsd:string ;
            sh:description "A verbatim copy of the passage in `resource` that the concept relies on, taken as retrieved. Lets a claim be re-checked against its source without re-reading the whole of it." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 6 ;
            sh:path lokf:excerpt ] .

lokf:VerificationShape a sh:NodeShape ;
    rdfs:comment "One verification event (OKF v0.2 `verified`, §5.2): an actor confirmed the content against its sources or resource at a time. Independent checks accumulate as separate events; trust tiers (unverified / machine-confirmed / human-reviewed) are derived from the actors, never stored. PROV has no Verification class, so the class IRI is honestly lokf-minted; the generated ontology declares it a subclass of prov:Activity." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:description "ISO 8601 datetime at which the event completed." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path prov:endedAtTime ],
        [ sh:datatype xsd:string ;
            sh:description "The actor that performed the event, as a plain OKF §7 actor string (`<producer>/<version>`, `human:<id>`, `process:<id>`) — a literal, never an IRI. Trust tiers derive from the `human:` prefix via string inspection (SPARQL STRSTARTS). Required on a generation, revision, verification or refutation event, optional on an exclusion." ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path prov:wasAssociatedWith ;
            sh:pattern "^(human|process):\\S+$|^[^\\s/]+/[^\\s/]+$" ],
        [ sh:datatype xsd:string ;
            sh:description "The state of the resource this event refers to: a commit id, an ETag or version label, or a content digest of the resource as retrieved (`<algorithm>:<hex>`). Absent means unrecorded, never unchanged." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path lokf:revision ] .

lokf:AgentShape a sh:NodeShape ;
    rdfs:comment "A person or organization responsible for a concept." ;
    sh:closed false ;
    sh:ignoredProperties ( dcterms:isPartOf dcterms:isReplacedBy dcterms:references dcterms:relation dcterms:requires dcterms:source schema1:about schema1:additionalType schema1:audience schema1:author schema1:citation schema1:creativeWorkStatus schema1:dateCreated schema1:dateModified schema1:description schema1:educationalLevel schema1:expires schema1:genre schema1:hasPart schema1:isBasedOn schema1:keywords schema1:license schema1:sameAs schema1:text schema1:typicalAgeRange schema1:url schema1:version rdf:type rdfs:isDefinedBy prov:wasDerivedFrom prov:wasGeneratedBy lokf:excludes lokf:refuted lokf:relations lokf:revised lokf:usageWindow lokf:verified ) ;
    sh:property [ sh:description "The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the `.md` suffix). Becomes the JSON-LD @id / RDF subject." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 1 ;
            sh:path schema1:identifier ],
        [ sh:description "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm)." ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 0 ;
            sh:path rdf:type ],
        [ sh:datatype xsd:string ;
            sh:description "Contact email address." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 3 ;
            sh:path schema1:email ;
            sh:pattern "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$" ],
        [ sh:datatype xsd:string ;
            sh:description "A name." ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path schema1:name ] .

lokf:UsageWindowShape a sh:NodeShape ;
    rdfs:comment "The `{ from, to }` date range framing every `usage_count` signal (OKF v0.2 §5.1). Written once as a sibling of `sources`; a single Source entry MAY carry its own override." ;
    sh:closed false ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:description "End (inclusive) of a usage window, an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path dcat:endDate ],
        [ sh:datatype xsd:dateTime ;
            sh:description "Start (inclusive) of a usage window, an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 0 ;
            sh:path dcat:startDate ] .

