# Generated by lokf-build from lokf.yaml (gen-owl), then extended
# with the OKF v0.2 post-generation axioms: lokf:Verification,
# lokf:Revision and lokf:Refutation as subclasses of prov:Activity, and
# each ParameterType meaning as a lokf:Parameter subclass carrying its
# XSD value space.
# Blank-node labels are content-derived so this file is byte-stable.

@prefix adms: <http://www.w3.org/ns/adms#> .
@prefix adms_status: <http://purl.org/adms/status/> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix linkml: <https://w3id.org/linkml/> .
@prefix lokf: <https://w3id.org/lokf/> .
@prefix lrmi: <http://purl.org/dcx/lrmi-terms/> .
@prefix org: <http://www.w3.org/ns/org#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix pav: <http://purl.org/pav/> .
@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 skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix spdx: <http://spdx.org/rdf/terms#> .
@prefix vivo: <http://vivoweb.org/ontology/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

lokf:schema.owl.ttl a owl:Ontology ;
    rdfs:label "lokf" ;
    dcterms:license "https://creativecommons.org/licenses/by/4.0/" ;
    dcterms:title "Linked Open Knowledge Format (LOKF)" ;
    pav:version "0.10.0" ;
    skos:definition "LOKF is a semantic, ontology-grounded profile of the Google Open Knowledge Format (OKF v0.2). It preserves OKF's authoring model — a directory of markdown files, each with a small YAML frontmatter block describing one concept — but binds every concept, field, and relationship to established web vocabularies (schema.org, W3C DCAT, and W3C PROV-O). Because the frontmatter keys are LinkML slots mapped to IRIs, a LOKF concept file, once a LinkML-generated JSON-LD @context is attached, is simultaneously human-readable markdown AND valid JSON-LD that expands losslessly to RDF triples. The entire format is defined in this single LinkML schema, from which the JSON-LD context, JSON Schema, SHACL shapes, and an OWL ontology are generated." .

lokf:KnowledgeBundle a owl:Class ;
    rdfs:label "KnowledgeBundle" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:context ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:title ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:publisher ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:context ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:publisher ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:description ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:description ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:okf_version ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:lokf_version ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:lokf_version ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:anyURI ;
            owl:onProperty lokf:license ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:concepts ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:license ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:title ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:base_iri ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:base_iri ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:okf_version ],
        [ a owl:Restriction ;
            owl:allValuesFrom [ a rdfs:Datatype ;
                    owl:intersectionOf ( xsd:anyURI [ a rdfs:Datatype ;
                                owl:onDatatype xsd:string ;
                                owl:withRestrictions ( [ xsd:pattern "^https?://\\S+[/#]$" ] ) ] ) ] ;
            owl:onProperty lokf:base_iri ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:anyURI ;
            owl:onProperty lokf:context ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:license ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:lokf_version ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:okf_version ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:description ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:title ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Agent ;
            owl:onProperty lokf:publisher ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:concepts ] ;
    skos:closeMatch schema1:Collection,
        dcat:Catalog ;
    skos:definition "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)." ;
    skos:exactMatch lokf:KnowledgeBundle ;
    skos:inScheme lokf:schema .

adms_status:Completed a owl:Class ;
    rdfs:label "stable" ;
    rdfs:subClassOf lokf:ConceptStatus ;
    skos:definition "The default; ready for consumption." .

adms_status:Deprecated a owl:Class ;
    rdfs:label "deprecated" ;
    rdfs:subClassOf lokf:ConceptStatus ;
    skos:definition "Kept for links and history; no longer current." .

adms_status:UnderDevelopment a owl:Class ;
    rdfs:label "draft" ;
    rdfs:subClassOf lokf:ConceptStatus ;
    skos:definition "Not yet reviewed; possibly incomplete." ;
    skos:editorialNote "Nearest real term, not an exact synonym: ADMS has no \"draft\" member, and UnderDevelopment (still being worked on, not yet complete) is the closest governed IRI. Treat ADMS round-trips as lossy." .

dcterms:isPartOf a owl:Class ;
    rdfs:label "isPartOf" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The concept is a part of the target." .

dcterms:isReplacedBy a owl:Class ;
    rdfs:label "isReplacedBy" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The concept is superseded by the target." .

dcterms:references a owl:Class ;
    rdfs:label "references" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The concept refers to the target." .

dcterms:relation a owl:Class ;
    rdfs:label "relatedTo" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The concept is generically related to the target." .

dcterms:requires a owl:Class ;
    rdfs:label "dependsOn" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The concept depends on the target." .

schema1:APIReference a owl:Class ;
    rdfs:label "reference" ;
    rdfs:seeAlso <https://diataxis.fr/reference/> ;
    rdfs:subClassOf lokf:DiataxisMode ;
    skos:altLabel "specification",
        "technical description" ;
    skos:definition "Information-oriented; austere, authoritative description of the machinery." ;
    skos:editorialNote "Answers \"What is…?\" - reader is *working* by *thinking*, consulting facts rather than performing steps - describe and only describe, no teaching or opinion.",
        "schema.org has no genre for reference documentation in general; schema:APIReference is the nearest term but is narrower than the Diátaxis mode, which covers any technical description of the machinery, not only APIs." ;
    lokf:diataxis_acquisition_application "application" ;
    lokf:diataxis_action_cognition "cognition" .

schema1:about a owl:Class ;
    rdfs:label "about" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The concept is about the target." .

schema1:hasPart a owl:Class ;
    rdfs:label "hasPart" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The target is a part of the concept." .

schema1:memberOf a owl:Class ;
    rdfs:label "memberOf" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The concept (a role) is held within the target organization." .

spdx:checksumAlgorithm_blake2b256 a owl:Class ;
    rdfs:label "blake2b256" ;
    rdfs:subClassOf lokf:ChecksumAlgorithm ;
    skos:definition "BLAKE2b with a 256-bit digest (RFC 7693)." .

spdx:checksumAlgorithm_blake2b384 a owl:Class ;
    rdfs:label "blake2b384" ;
    rdfs:subClassOf lokf:ChecksumAlgorithm ;
    skos:definition "BLAKE2b with a 384-bit digest (RFC 7693)." .

spdx:checksumAlgorithm_blake2b512 a owl:Class ;
    rdfs:label "blake2b512" ;
    rdfs:subClassOf lokf:ChecksumAlgorithm ;
    skos:definition "BLAKE2b with a 512-bit digest (RFC 7693)." .

spdx:checksumAlgorithm_md5 a owl:Class ;
    rdfs:label "md5" ;
    rdfs:subClassOf lokf:ChecksumAlgorithm ;
    skos:definition "MD5 (RFC 1321); identifies bytes but no longer resists tampering." .

spdx:checksumAlgorithm_sha1 a owl:Class ;
    rdfs:label "sha1" ;
    rdfs:subClassOf lokf:ChecksumAlgorithm ;
    skos:definition "SHA-1 (FIPS 180-4); identifies bytes but no longer resists tampering." .

spdx:checksumAlgorithm_sha224 a owl:Class ;
    rdfs:label "sha224" ;
    rdfs:subClassOf lokf:ChecksumAlgorithm ;
    skos:definition "SHA-224 (FIPS 180-4)." .

spdx:checksumAlgorithm_sha256 a owl:Class ;
    rdfs:label "sha256" ;
    rdfs:subClassOf lokf:ChecksumAlgorithm ;
    skos:definition "SHA-256 (FIPS 180-4)." .

spdx:checksumAlgorithm_sha384 a owl:Class ;
    rdfs:label "sha384" ;
    rdfs:subClassOf lokf:ChecksumAlgorithm ;
    skos:definition "SHA-384 (FIPS 180-4)." .

spdx:checksumAlgorithm_sha3_256 a owl:Class ;
    rdfs:label "sha3_256" ;
    rdfs:subClassOf lokf:ChecksumAlgorithm ;
    skos:definition "SHA3-256 (FIPS 202)." .

spdx:checksumAlgorithm_sha3_384 a owl:Class ;
    rdfs:label "sha3_384" ;
    rdfs:subClassOf lokf:ChecksumAlgorithm ;
    skos:definition "SHA3-384 (FIPS 202)." .

spdx:checksumAlgorithm_sha3_512 a owl:Class ;
    rdfs:label "sha3_512" ;
    rdfs:subClassOf lokf:ChecksumAlgorithm ;
    skos:definition "SHA3-512 (FIPS 202)." .

spdx:checksumAlgorithm_sha512 a owl:Class ;
    rdfs:label "sha512" ;
    rdfs:subClassOf lokf:ChecksumAlgorithm ;
    skos:definition "SHA-512 (FIPS 180-4)." .

rdfs:isDefinedBy a owl:Class ;
    rdfs:label "definedBy" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The concept is formally defined by the target." .

xsd:hexBinary a rdfs:Datatype ;
    owl:equivalentClass xsd:string .

xsd:nonNegativeInteger a rdfs:Datatype ;
    owl:equivalentClass [ a rdfs:Datatype ;
            owl:intersectionOf ( xsd:integer [ a rdfs:Datatype ;
                        owl:onDatatype xsd:integer ;
                        owl:withRestrictions ( [ xsd:minInclusive 0 ] ) ] ) ] .

org:member a owl:Class ;
    rdfs:label "holder" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The target agent holds this concept (a role)." .

prov:wasRevisionOf a owl:Class ;
    rdfs:label "wasRevisionOf" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The concept is a revised version of the target: a derivation that keeps substantial content of the original." ;
    lokf:inverse_title "Has revision" .

lokf:Audience a owl:Class ;
    rdfs:label "Audience" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom [ a rdfs:Datatype ;
                    owl:intersectionOf ( xsd:integer [ a rdfs:Datatype ;
                                owl:onDatatype xsd:integer ;
                                owl:withRestrictions ( [ xsd:minInclusive 0 ] ) ] ) ] ;
            owl:onProperty lokf:suggestedMaxAge ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:audienceType ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:suggestedMaxAge ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:suggestedMinAge ],
        [ a owl:Restriction ;
            owl:allValuesFrom [ a rdfs:Datatype ;
                    owl:intersectionOf ( xsd:integer [ a rdfs:Datatype ;
                                owl:onDatatype xsd:integer ;
                                owl:withRestrictions ( [ xsd:minInclusive 0 ] ) ] ) ] ;
            owl:onProperty lokf:suggestedMinAge ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:suggestedMaxAge ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:audienceType ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:audienceType ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:suggestedMinAge ] ;
    skos:closeMatch dcterms:AgentClass ;
    skos:definition "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." ;
    skos:exactMatch schema1:PeopleAudience ;
    skos:inScheme lokf:schema .

lokf:BooleanParameter a owl:Class ;
    rdfs:label "boolean" ;
    rdfs:subClassOf lokf:Parameter,
        lokf:ParameterType ;
    lokf:xsd_value_space xsd:boolean,
        "xsd:boolean" .

lokf:Citation a owl:Class ;
    rdfs:label "Citation" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:description ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:url ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:title ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:description ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:title ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:url ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:anyURI ;
            owl:onProperty lokf:url ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:title ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:description ] ;
    skos:closeMatch dcterms:BibliographicResource ;
    skos:definition "A reference to an external source supporting a claim in a concept's body. Attached via the schema:citation predicate." ;
    skos:exactMatch schema1:CreativeWork ;
    skos:inScheme lokf:schema .

lokf:DateParameter a owl:Class ;
    rdfs:label "date" ;
    rdfs:subClassOf lokf:Parameter,
        lokf:ParameterType ;
    lokf:xsd_value_space xsd:date,
        "xsd:date" .

lokf:DatetimeParameter a owl:Class ;
    rdfs:label "datetime" ;
    rdfs:subClassOf lokf:Parameter,
        lokf:ParameterType ;
    lokf:xsd_value_space xsd:dateTime,
        "xsd:dateTime" .

lokf:Distribution a owl:Class ;
    rdfs:label "Distribution" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:checksum ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:description ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:description ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:media_type ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:checksum ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:media_type ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:name ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Checksum ;
            owl:onProperty lokf:checksum ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:access_url ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:anyURI ;
            owl:onProperty lokf:access_url ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:media_type ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:name ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:access_url ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:description ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:byte_size ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:name ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:nonNegativeInteger ;
            owl:onProperty lokf:byte_size ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:byte_size ] ;
    skos:definition "A specific accessible form of a Dataset (a file, feed, or endpoint). Maps to dcat:Distribution." ;
    skos:exactMatch dcat:Distribution ;
    skos:inScheme lokf:schema .

lokf:Field a owl:Class ;
    rdfs:label "Field" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:description ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:constraints ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:unit ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:is_key ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:unit ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:description ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:datatype ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:constraints ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:is_key ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:datatype ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:FieldType ;
            owl:onProperty lokf:datatype ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:description ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:boolean ;
            owl:onProperty lokf:is_key ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:name ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:name ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:unit ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:name ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:constraints ] ;
    skos:definition "A single column / property within a Table or Dataset schema. Maps to schema:PropertyValue." ;
    skos:exactMatch schema1:PropertyValue ;
    skos:inScheme lokf:schema .

lokf:Generation a owl:Class ;
    rdfs:label "Generation" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:revision ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:at ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:by ],
        [ a owl:Restriction ;
            owl:allValuesFrom [ a rdfs:Datatype ;
                    owl:intersectionOf ( xsd:string [ a rdfs:Datatype ;
                                owl:onDatatype xsd:string ;
                                owl:withRestrictions ( [ xsd:pattern "^(human|process):\\S+$|^[^\\s/]+/[^\\s/]+$" ] ) ] ) ] ;
            owl:onProperty lokf:by ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:dateTime ;
            owl:onProperty lokf:at ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:at ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:revision ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:revision ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:by ] ;
    skos:closeMatch schema1:CreateAction ;
    skos:definition "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." ;
    skos:exactMatch prov:Activity ;
    skos:inScheme lokf:schema .

<https://w3id.org/lokf/HttpMethod#DELETE> a owl:Class ;
    rdfs:label "DELETE" ;
    rdfs:subClassOf lokf:HttpMethod ;
    skos:definition "Remove the resource." .

<https://w3id.org/lokf/HttpMethod#GET> a owl:Class ;
    rdfs:label "GET" ;
    rdfs:subClassOf lokf:HttpMethod ;
    skos:definition "Retrieve a representation of the resource." .

<https://w3id.org/lokf/HttpMethod#HEAD> a owl:Class ;
    rdfs:label "HEAD" ;
    rdfs:subClassOf lokf:HttpMethod ;
    skos:definition "Like GET, but returns headers only, no body." .

<https://w3id.org/lokf/HttpMethod#OPTIONS> a owl:Class ;
    rdfs:label "OPTIONS" ;
    rdfs:subClassOf lokf:HttpMethod ;
    skos:definition "Describe the communication options for the resource." .

<https://w3id.org/lokf/HttpMethod#PATCH> a owl:Class ;
    rdfs:label "PATCH" ;
    rdfs:subClassOf lokf:HttpMethod ;
    skos:definition "Apply a partial modification to the resource." .

<https://w3id.org/lokf/HttpMethod#POST> a owl:Class ;
    rdfs:label "POST" ;
    rdfs:subClassOf lokf:HttpMethod ;
    skos:definition "Submit data to be processed, often creating a resource." .

<https://w3id.org/lokf/HttpMethod#PUT> a owl:Class ;
    rdfs:label "PUT" ;
    rdfs:subClassOf lokf:HttpMethod ;
    skos:definition "Replace the resource with the supplied representation." .

lokf:IntegerParameter a owl:Class ;
    rdfs:label "integer" ;
    rdfs:subClassOf lokf:Parameter,
        lokf:ParameterType ;
    lokf:xsd_value_space xsd:integer,
        "xsd:integer" .

lokf:JsonParameter a owl:Class ;
    rdfs:label "json" ;
    rdfs:subClassOf lokf:Parameter,
        lokf:ParameterType ;
    lokf:xsd_value_space rdf:JSON,
        "rdf:JSON" .

lokf:NumberParameter a owl:Class ;
    rdfs:label "number" ;
    rdfs:subClassOf lokf:Parameter,
        lokf:ParameterType ;
    lokf:xsd_value_space xsd:decimal,
        "xsd:decimal" .

lokf:Relation a owl:Class ;
    rdfs:label "Relation" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:predicate ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:relation_label ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:RelationType ;
            owl:onProperty lokf:predicate ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:relation_label ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:target ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:target ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:relation_label ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:predicate ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:target ] ;
    skos:definition "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)." ;
    skos:exactMatch rdf:Statement ;
    skos:inScheme lokf:schema .

lokf:Source a owl:Class ;
    rdfs:label "Source" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom xsd:integer ;
            owl:onProperty lokf:usage_count ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:usage_window ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:last_modified ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:id ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:id ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:title ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:excerpt ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:excerpt ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:resource ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:usage_count ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:last_modified ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:author ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:title ],
        [ a owl:Restriction ;
            owl:allValuesFrom [ a rdfs:Datatype ;
                    owl:intersectionOf ( xsd:string [ a rdfs:Datatype ;
                                owl:onDatatype xsd:string ;
                                owl:withRestrictions ( [ xsd:pattern "^[^\\s:/]+:\\S+$|^[^\\s/]+/[^\\s/]+$" ] ) ] ) ] ;
            owl:onProperty lokf:author ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:dateTime ;
            owl:onProperty lokf:last_modified ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:usage_window ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:id ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:UsageWindow ;
            owl:onProperty lokf:usage_window ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:title ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:resource ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:excerpt ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:resource ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:usage_count ] ;
    skos:closeMatch dcterms:BibliographicResource,
        prov:Entity ;
    skos:definition "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." ;
    skos:exactMatch schema1:CreativeWork ;
    skos:inScheme lokf:schema .

lokf:StringParameter a owl:Class ;
    rdfs:label "string" ;
    rdfs:subClassOf lokf:Parameter,
        lokf:ParameterType ;
    lokf:xsd_value_space xsd:string,
        "xsd:string" .

lokf:TimeParameter a owl:Class ;
    rdfs:label "time" ;
    rdfs:subClassOf lokf:Parameter,
        lokf:ParameterType ;
    lokf:xsd_value_space xsd:time,
        "xsd:time" .

lokf:UriParameter a owl:Class ;
    rdfs:label "uri" ;
    rdfs:subClassOf lokf:Parameter,
        lokf:ParameterType ;
    lokf:xsd_value_space xsd:anyURI,
        "xsd:anyURI" .

lokf:about a owl:ObjectProperty ;
    rdfs:label "about" ;
    rdfs:range lokf:Concept ;
    skos:closeMatch foaf:primaryTopic ;
    skos:definition "The subject matter this concept is about." ;
    skos:inScheme lokf:schema ;
    lokf:inverse_title "Subject of" .

lokf:citations a owl:ObjectProperty ;
    rdfs:label "citations" ;
    rdfs:range lokf:Citation ;
    skos:definition "External sources supporting claims in the body." ;
    skos:inScheme lokf:schema .

lokf:concepts a owl:ObjectProperty ;
    rdfs:label "concepts" ;
    rdfs:range lokf:Concept ;
    skos:definition "The concepts contained in a bundle." ;
    skos:inScheme lokf:schema .

lokf:definedBy a owl:ObjectProperty ;
    rdfs:label "definedBy" ;
    rdfs:range lokf:Concept ;
    skos:definition "A resource that formally defines this concept." ;
    skos:inScheme lokf:schema ;
    lokf:inverse_title "Defines" .

lokf:derivedFrom a owl:ObjectProperty ;
    rdfs:label "derivedFrom" ;
    rdfs:range lokf:Concept ;
    skos:definition "An entity this concept was derived from (provenance)." ;
    skos:inScheme lokf:schema ;
    lokf:inverse_title "Has derivative" .

lokf:distribution a owl:ObjectProperty ;
    rdfs:label "distribution" ;
    rdfs:range lokf:Distribution ;
    skos:definition "Accessible forms of the dataset." ;
    skos:inScheme lokf:schema .

lokf:exclusions a owl:ObjectProperty ;
    rdfs:label "exclusions" ;
    rdfs:range lokf:Exclusion ;
    skos:definition "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." ;
    skos:inScheme lokf:schema .

lokf:fields a owl:ObjectProperty ;
    rdfs:label "fields" ;
    rdfs:range lokf:Field ;
    skos:definition "The columns / properties that make up a dataset's schema." ;
    skos:inScheme lokf:schema .

lokf:hasPart a owl:ObjectProperty ;
    rdfs:label "hasPart" ;
    rdfs:range lokf:Concept ;
    skos:closeMatch dcterms:hasPart ;
    skos:definition "A concept that is a part of this concept." ;
    skos:inScheme lokf:schema ;
    lokf:inverse_title "Is part of" .

lokf:holder a owl:ObjectProperty ;
    rdfs:label "holder" ;
    rdfs:range lokf:Concept ;
    skos:closeMatch schema1:member ;
    skos:definition "The agent (typically a Person) who holds the role." ;
    skos:inScheme lokf:schema ;
    lokf:inverse_title "Holds" .

lokf:isPartOf a owl:ObjectProperty ;
    rdfs:label "isPartOf" ;
    rdfs:range lokf:Concept ;
    skos:closeMatch schema1:isPartOf ;
    skos:definition "The target concept that this concept is a part of." ;
    skos:inScheme lokf:schema ;
    lokf:inverse_title "Has part" .

lokf:isReplacedBy a owl:ObjectProperty ;
    rdfs:label "isReplacedBy" ;
    rdfs:range lokf:Concept ;
    skos:definition "A concept that supersedes this one, without asserting equivalence." ;
    skos:inScheme lokf:schema ;
    lokf:inverse_title "Replaces" .

lokf:joinsWith a owl:Class ;
    rdfs:label "joinsWith" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The concept (a table) is joined with the target." ;
    lokf:inverse_title "Joins with" .

lokf:memberOf a owl:ObjectProperty ;
    rdfs:label "memberOf" ;
    rdfs:range lokf:Concept ;
    skos:closeMatch org:organization ;
    skos:definition "The organization within which the role is held." ;
    skos:inScheme lokf:schema ;
    lokf:inverse_title "Has member" .

lokf:parameters a owl:ObjectProperty ;
    rdfs:label "parameters" ;
    rdfs:range lokf:Parameter ;
    skos:definition "The typed, named holes the agent may fill — the ONLY surface the agent may bind. Binding semantics follow `runtime`." ;
    skos:inScheme lokf:schema ;
    skos:note "Minted in lokf, mirroring the existing `fields` -> lokf:field idiom: schema.org attaches PropertyValueSpecifications only through the Actions -input/-output annotation syntax, which is not a reusable property." .

lokf:receipt a owl:DatatypeProperty ;
    rdfs:label "receipt" ;
    rdfs:range xsd:string ;
    skos:definition "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." ;
    skos:inScheme lokf:schema .

lokf:references a owl:ObjectProperty ;
    rdfs:label "references" ;
    rdfs:range lokf:Concept ;
    skos:definition "A concept or resource this concept refers to." ;
    skos:inScheme lokf:schema ;
    lokf:inverse_title "Referenced by" .

lokf:refuted a owl:ObjectProperty ;
    rdfs:label "refuted" ;
    rdfs:range lokf:Refutation ;
    rdfs:seeAlso <https://github.com/GoogleCloudPlatform/open-knowledge-format/issues/13> ;
    skos:closeMatch prov:wasInfluencedBy ;
    skos:definition "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." ;
    skos:editorialNote "Proposed for OKF §5.2 as GoogleCloudPlatform/open-knowledge-format#13, under this name. Kept in lokf_semantic until OKF adopts it, then moved to okf_v02." ;
    skos:inScheme lokf:schema ;
    skos:note "A bare `{ by, at, reason }` mapping is read as a one-element list, as `verified` is; the LOKF loader normalizes it before validation.",
        "Minted in lokf, as `verified` is." .

lokf:relatedTo a owl:ObjectProperty ;
    rdfs:label "relatedTo" ;
    rdfs:range lokf:Concept ;
    skos:closeMatch skos:related ;
    skos:definition "A generic association to another concept." ;
    skos:inScheme lokf:schema ;
    lokf:inverse_title "Related to" .

lokf:relations a owl:ObjectProperty ;
    rdfs:label "relations" ;
    rdfs:range lokf:Relation ;
    skos:definition "Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target)." ;
    skos:inScheme lokf:schema .

lokf:sameAs a owl:ObjectProperty ;
    rdfs:label "sameAs" ;
    rdfs:range lokf:Concept ;
    skos:closeMatch owl:sameAs ;
    skos:definition "An IRI asserting this concept is the same entity as another." ;
    skos:inScheme lokf:schema ;
    lokf:inverse_title "Same as" .

lokf:source a owl:ObjectProperty ;
    rdfs:label "source" ;
    rdfs:range lokf:Concept ;
    skos:definition "A resource from which this concept is derived or sourced." ;
    skos:inScheme lokf:schema ;
    lokf:inverse_title "Source for" .

lokf:sources a owl:ObjectProperty ;
    rdfs:label "sources" ;
    rdfs:range lokf:Source ;
    skos:closeMatch dcterms:source,
        prov:wasDerivedFrom ;
    skos:definition "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." ;
    skos:inScheme lokf:schema ;
    skos:note "schema:isBasedOn is primary rather than prov:wasDerivedFrom because the existing `derivedFrom` slot already owns that predicate; two frontmatter keys sharing one IRI would make JSON-LD compaction and round-tripping ambiguous. prov:wasDerivedFrom is recorded as a close mapping, and the derivation reading stays queryable via it." .

lokf:tags a owl:DatatypeProperty ;
    rdfs:label "tags" ;
    skos:closeMatch dcat:keyword ;
    skos:definition "Short cross-cutting keywords for categorization." ;
    skos:inScheme lokf:schema .

lokf:verified a owl:ObjectProperty ;
    rdfs:label "verified" ;
    rdfs:range lokf:Verification ;
    skos:closeMatch prov:wasInfluencedBy ;
    skos:definition "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." ;
    skos:inScheme lokf:schema ;
    skos:note "A bare `{ by, at }` mapping MUST be read as a one-element list; the LOKF loader normalizes the bare form before LinkML validation.",
        "Minted in lokf: no established vocabulary has an entity-to-verification-event property." .

dcterms:source a owl:Class ;
    rdfs:label "source" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The concept is sourced from the target." .

schema1:Article a owl:Class ;
    rdfs:label "explanation" ;
    rdfs:seeAlso <https://diataxis.fr/explanation/> ;
    rdfs:subClassOf lokf:DiataxisMode ;
    skos:altLabel "background",
        "conceptual guide",
        "discussion",
        "topics" ;
    skos:definition "Understanding-oriented; discursive treatment of a subject, that permits reflection and deepens comprehension." ;
    skos:editorialNote "Answers \"Why…?\" / \"Can you tell me about…?\" - reader is *studying* by *thinking*. The mode you can read away from the keyboard, and the place for alternatives, counter-examples, and context." ;
    lokf:diataxis_acquisition_application "acquisition" ;
    lokf:diataxis_action_cognition "cognition" .

schema1:LearningResource a owl:Class ;
    rdfs:label "tutorial" ;
    rdfs:seeAlso <https://diataxis.fr/tutorials/> ;
    rdfs:subClassOf lokf:DiataxisMode ;
    skos:altLabel "getting started",
        "lesson" ;
    skos:definition "Learning-oriented; a lesson that lets a beginner acquire a skill by doing." ;
    skos:editorialNote "Answers \"Can you teach me to…?\" - reader is *studying* by *doing*. Choose over how-to when the reader is a novice and the aim is learning, not a specific task. A tutorial is not the place for explanation - link an Explanation instead." ;
    lokf:diataxis_acquisition_application "acquisition" ;
    lokf:diataxis_action_cognition "action" .

rdf:JSON a owl:Class ;
    rdfs:label "json" ;
    rdfs:subClassOf lokf:FieldType .

xsd:date a owl:Class ;
    rdfs:label "date" ;
    rdfs:subClassOf lokf:FieldType .

xsd:decimal a owl:Class ;
    rdfs:label "number" ;
    rdfs:subClassOf lokf:FieldType .

xsd:time a owl:Class ;
    rdfs:label "time" ;
    rdfs:subClassOf lokf:FieldType .

owl:sameAs a owl:Class ;
    rdfs:label "sameAs" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The concept is the same entity as the target." .

prov:wasAttributedTo a owl:Class ;
    rdfs:label "wasAttributedTo" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The concept was attributed to the target agent." ;
    lokf:inverse_title "Responsible for" .

prov:wasDerivedFrom a owl:Class ;
    rdfs:label "derivedFrom" ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The concept was derived from the target." .

lokf:Attester a owl:Class ;
    rdfs:label "Attester" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:resource ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:anyURI ;
            owl:onProperty lokf:resource ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:resource ] ;
    skos:closeMatch schema1:EntryPoint,
        schema1:SoftwareSourceCode ;
    skos:definition "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." ;
    skos:exactMatch lokf:Attester ;
    skos:inScheme lokf:schema .

lokf:Exclusion a owl:Class ;
    rdfs:label "Exclusion" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:resource ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:by ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:by ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:reason ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:reason ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:resource ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:resource ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:reason ],
        [ a owl:Restriction ;
            owl:allValuesFrom [ a rdfs:Datatype ;
                    owl:intersectionOf ( xsd:string [ a rdfs:Datatype ;
                                owl:onDatatype xsd:string ;
                                owl:withRestrictions ( [ xsd:pattern "^(human|process):\\S+$|^[^\\s/]+/[^\\s/]+$" ] ) ] ) ] ;
            owl:onProperty lokf:by ] ;
    skos:definition "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." ;
    skos:editorialNote "It is not a source, so it never projects as schema:isBasedOn." ;
    skos:exactMatch lokf:Exclusion ;
    skos:inScheme lokf:schema .

lokf:Executor a owl:Class ;
    rdfs:label "Executor" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:receipt ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:anyURI ;
            owl:onProperty lokf:resource ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:resource ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:receipt ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:resource ] ;
    skos:closeMatch schema1:EntryPoint ;
    skos:definition "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." ;
    skos:exactMatch lokf:Executor ;
    skos:inScheme lokf:schema .

lokf:GlossaryTerm a owl:Class ;
    rdfs:label "GlossaryTerm" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:abbreviation ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:definition ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:abbreviation ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:definition ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:abbreviation ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:definition ],
        lokf:Concept ;
    skos:definition "A defined term in a controlled vocabulary or glossary. Maps to schema:DefinedTerm and skos:Concept." ;
    skos:exactMatch schema1:DefinedTerm,
        skos:Concept ;
    skos:inScheme lokf:schema .

lokf:Organization a owl:Class ;
    rdfs:label "Organization" ;
    rdfs:subClassOf lokf:Agent,
        lokf:Concept ;
    skos:definition "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." ;
    skos:exactMatch schema1:Organization,
        prov:Organization,
        foaf:Organization ;
    skos:inScheme lokf:schema .

lokf:Person a owl:Class ;
    rdfs:label "Person" ;
    rdfs:subClassOf lokf:Agent,
        lokf:Concept ;
    skos:definition "An individual person. Usable both as an inline Agent value (author, publisher) and as a standalone Concept document with a body and typed relations." ;
    skos:exactMatch schema1:Person,
        prov:Person,
        foaf:Person ;
    skos:inScheme lokf:schema .

lokf:Refutation a owl:Class ;
    rdfs:label "Refutation" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:revision ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:at ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:reason ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:dateTime ;
            owl:onProperty lokf:at ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:revision ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:reason ],
        [ a owl:Restriction ;
            owl:allValuesFrom [ a rdfs:Datatype ;
                    owl:intersectionOf ( xsd:string [ a rdfs:Datatype ;
                                owl:onDatatype xsd:string ;
                                owl:withRestrictions ( [ xsd:pattern "^(human|process):\\S+$|^[^\\s/]+/[^\\s/]+$" ] ) ] ) ] ;
            owl:onProperty lokf:by ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:at ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:by ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:revision ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:by ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:reason ],
        prov:Activity ;
    skos:closeMatch schema1:DisagreeAction,
        prov:Activity ;
    skos:definition "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." ;
    skos:exactMatch lokf:Refutation ;
    skos:inScheme lokf:schema .

lokf:Revision a owl:Class ;
    rdfs:label "Revision" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom xsd:dateTime ;
            owl:onProperty lokf:at ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:at ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:revision ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:revision ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:at ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:by ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:by ],
        [ a owl:Restriction ;
            owl:allValuesFrom [ a rdfs:Datatype ;
                    owl:intersectionOf ( xsd:string [ a rdfs:Datatype ;
                                owl:onDatatype xsd:string ;
                                owl:withRestrictions ( [ xsd:pattern "^(human|process):\\S+$|^[^\\s/]+/[^\\s/]+$" ] ) ] ) ] ;
            owl:onProperty lokf:by ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:revision ],
        prov:Activity ;
    skos:closeMatch schema1:UpdateAction,
        prov:Activity ;
    skos:definition "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." ;
    skos:exactMatch lokf:Revision ;
    skos:inScheme lokf:schema .

lokf:Role a owl:Class ;
    rdfs:label "Role" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:roleName ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:roleName ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:endDate ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:memberOf ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:endDate ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:roleName ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:holder ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:holder ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:startDate ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:memberOf ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:endDate ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:startDate ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:startDate ],
        lokf:Concept ;
    skos:closeMatch schema1:Role,
        vivo:Position,
        org:Role ;
    skos:definition "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." ;
    skos:exactMatch schema1:OrganizationRole ;
    skos:inScheme lokf:schema .

lokf:Service a owl:Class ;
    rdfs:label "Service" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom xsd:anyURI ;
            owl:onProperty lokf:endpoint ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:documentation ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:http_method ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:http_method ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:anyURI ;
            owl:onProperty lokf:documentation ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:HttpMethod ;
            owl:onProperty lokf:http_method ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:documentation ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:endpoint ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:endpoint ],
        lokf:Concept ;
    skos:closeMatch schema1:SoftwareApplication ;
    skos:definition "A callable service or API endpoint." ;
    skos:exactMatch schema1:WebAPI ;
    skos:inScheme lokf:schema .

lokf:Table a owl:Class ;
    rdfs:label "Table" ;
    rdfs:subClassOf lokf:Dataset ;
    skos:closeMatch schema1:Dataset,
        dcat:Dataset ;
    skos:definition "A structured, tabular dataset (e.g. a warehouse table or view) whose columns are described by Field objects under `fields`." ;
    skos:exactMatch lokf:Table ;
    skos:inScheme lokf:schema .

lokf:UsageWindow a owl:Class ;
    rdfs:label "UsageWindow" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom xsd:dateTime ;
            owl:onProperty lokf:from ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:to ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:to ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:from ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:from ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:dateTime ;
            owl:onProperty lokf:to ] ;
    skos:definition "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." ;
    skos:exactMatch dcterms:PeriodOfTime ;
    skos:inScheme lokf:schema .

lokf:Verification a owl:Class ;
    rdfs:label "Verification" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom xsd:dateTime ;
            owl:onProperty lokf:at ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:revision ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:by ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:at ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:by ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:at ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:revision ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:revision ],
        [ a owl:Restriction ;
            owl:allValuesFrom [ a rdfs:Datatype ;
                    owl:intersectionOf ( xsd:string [ a rdfs:Datatype ;
                                owl:onDatatype xsd:string ;
                                owl:withRestrictions ( [ xsd:pattern "^(human|process):\\S+$|^[^\\s/]+/[^\\s/]+$" ] ) ] ) ] ;
            owl:onProperty lokf:by ],
        prov:Activity ;
    skos:closeMatch schema1:CheckAction,
        prov:Activity ;
    skos:definition "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." ;
    skos:exactMatch lokf:Verification ;
    skos:inScheme lokf:schema .

lokf:abbreviation a owl:DatatypeProperty ;
    rdfs:label "abbreviation" ;
    skos:closeMatch skos:altLabel ;
    skos:definition "A short form or acronym for a term." ;
    skos:inScheme lokf:schema .

lokf:access_url a owl:DatatypeProperty ;
    rdfs:label "access_url" ;
    rdfs:range xsd:anyURI ;
    skos:definition "A URL that gives access to a distribution." ;
    skos:inScheme lokf:schema .

lokf:additionalType a owl:DatatypeProperty ;
    rdfs:label "additionalType" ;
    rdfs:range xsd:string ;
    skos:definition "The producer's own `type` string when it names no LOKF class." ;
    skos:inScheme lokf:schema ;
    skos:note "Set by the RDF projection, not normally authored. `lokf validate` still rejects an undeclared `type`; this slot is how the permissive consumers (`convert`, `query`, `serve`) honour OKF §11.",
        "The concept is then typed `lokf:Concept` (SPEC §8) and the original spelling is kept here, so an OKF type such as `BigQuery Table` survives the RDF projection." .

lokf:attester a owl:ObjectProperty ;
    rdfs:label "attester" ;
    rdfs:range lokf:Attester ;
    skos:definition "The deterministic, non-LLM verdict check over a receipt." ;
    skos:inScheme lokf:schema .

lokf:audience a owl:ObjectProperty ;
    rdfs:label "audience" ;
    rdfs:range lokf:Audience ;
    skos:definition "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." ;
    skos:exactMatch dcterms:audience ;
    skos:inScheme lokf:schema .

lokf:audienceType a owl:DatatypeProperty ;
    rdfs:label "audienceType" ;
    skos:definition "The kind of reader, in words, such as `students` or `dyslexic readers`." ;
    skos:inScheme lokf:schema .

lokf:base_iri a owl:DatatypeProperty ;
    rdfs:label "base_iri" ;
    rdfs:range [ a rdfs:Datatype ;
            owl:intersectionOf ( xsd:anyURI [ a rdfs:Datatype ;
                        owl:onDatatype xsd:string ;
                        owl:withRestrictions ( [ xsd:pattern "^https?://\\S+[/#]$" ] ) ] ) ] ;
    rdfs:seeAlso <https://www.w3.org/Provider/Style/URI> ;
    skos:definition "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/`)." ;
    skos:inScheme lokf:schema ;
    skos:note "It need not resolve to a live page (a 404 is valid) — only a well-formed absolute IRI with an authority is required. A resolvable \"Cool URI\" is the ideal, not a requirement." .

lokf:byte_size a owl:DatatypeProperty ;
    rdfs:label "byte_size" ;
    rdfs:range xsd:nonNegativeInteger ;
    skos:definition "The size of the distribution in bytes." ;
    skos:inScheme lokf:schema .

lokf:checksum a owl:ObjectProperty ;
    rdfs:label "checksum" ;
    rdfs:range lokf:Checksum ;
    skos:definition "A digest of the distribution's bytes, for checking a download." ;
    skos:inScheme lokf:schema .

lokf:computation a owl:DatatypeProperty ;
    rdfs:label "computation" ;
    rdfs:range xsd:anyURI ;
    skos:closeMatch schema1:contentUrl ;
    skos:definition "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." ;
    skos:inScheme lokf:schema .

lokf:constraints a owl:DatatypeProperty ;
    rdfs:label "constraints" ;
    skos:definition "Free-text or expression describing constraints on a field." ;
    skos:inScheme lokf:schema .

lokf:context a owl:DatatypeProperty ;
    rdfs:label "context" ;
    rdfs:range xsd:anyURI ;
    skos:definition "The URL of the JSON-LD @context to attach to this bundle's concepts to interpret their frontmatter as Linked Data." ;
    skos:inScheme lokf:schema .

lokf:created a owl:DatatypeProperty ;
    rdfs:label "created" ;
    rdfs:range xsd:dateTime ;
    skos:definition "ISO 8601 datetime the concept was created." ;
    skos:exactMatch dcterms:created ;
    skos:inScheme lokf:schema .

lokf:datatype a owl:ObjectProperty ;
    rdfs:label "datatype" ;
    rdfs:range lokf:FieldType ;
    skos:closeMatch schema1:rangeIncludes ;
    skos:definition "The data type of a field." ;
    skos:inScheme lokf:schema .

lokf:definition a owl:DatatypeProperty ;
    rdfs:label "definition" ;
    skos:definition "The formal definition of a term." ;
    skos:inScheme lokf:schema .

lokf:dependsOn a owl:ObjectProperty ;
    rdfs:label "dependsOn" ;
    rdfs:range lokf:Concept ;
    skos:closeMatch lokf:dependsOn ;
    skos:definition "A concept this concept depends on." ;
    skos:inScheme lokf:schema ;
    lokf:inverse_title "Required by" .

lokf:documentation a owl:DatatypeProperty ;
    rdfs:label "documentation" ;
    rdfs:range xsd:anyURI ;
    skos:definition "A link to the service's documentation." ;
    skos:inScheme lokf:schema .

lokf:educationalLevel a owl:DatatypeProperty ;
    rdfs:label "educationalLevel" ;
    rdfs:range xsd:string ;
    skos:closeMatch dcterms:educationLevel,
        lrmi:educationalLevel ;
    skos:definition "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." ;
    skos:inScheme lokf:schema .

lokf:email a owl:DatatypeProperty ;
    rdfs:label "email" ;
    rdfs:range [ a rdfs:Datatype ;
            owl:onDatatype xsd:string ;
            owl:withRestrictions ( [ xsd:pattern "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$" ] ) ] ;
    skos:closeMatch foaf:mbox ;
    skos:definition "Contact email address." ;
    skos:inScheme lokf:schema .

lokf:endDate a owl:DatatypeProperty ;
    rdfs:label "endDate" ;
    skos:definition "The date the role ended; omit for a role still held." ;
    skos:inScheme lokf:schema .

lokf:endpoint a owl:DatatypeProperty ;
    rdfs:label "endpoint" ;
    rdfs:range xsd:anyURI ;
    skos:closeMatch schema1:contentUrl ;
    skos:definition "The base URL or invocation endpoint of a service." ;
    skos:inScheme lokf:schema .

lokf:excerpt a owl:DatatypeProperty ;
    rdfs:label "excerpt" ;
    rdfs:range xsd:string ;
    rdfs:seeAlso <https://github.com/GoogleCloudPlatform/knowledge-catalog/issues/438>,
        <https://github.com/linkml/linkml-reference-validator> ;
    skos:altLabel "supporting_text" ;
    skos:definition "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." ;
    skos:editorialNote "Proposed for OKF §5.1 as GoogleCloudPlatform/knowledge-catalog#438, under this name. Kept in lokf_semantic until OKF adopts it, then moved to okf_v02. Shipped as `supporting_text` in 0.8.0 only.",
        "`implements: linkml:excerpt` marks the slot as text a reference validator can look for in `resource`; it does not make it required.",
        "`lokf validate --check-excerpts` finds it in a local `resource`, whitespace collapsed and case folded, `...` joining at most two spans in source order inside one heading section (SPEC §9)." ;
    skos:inScheme lokf:schema .

lokf:executor a owl:ObjectProperty ;
    rdfs:label "executor" ;
    rdfs:range lokf:Executor ;
    skos:definition "How the computation is run and what evidence a run must return." ;
    skos:inScheme lokf:schema .

lokf:formula a owl:DatatypeProperty ;
    rdfs:label "formula" ;
    skos:definition "The calculation or definition expression for a metric." ;
    skos:inScheme lokf:schema .

lokf:from a owl:DatatypeProperty ;
    rdfs:label "from" ;
    rdfs:range xsd:dateTime ;
    skos:closeMatch schema1:startDate ;
    skos:definition "Start (inclusive) of a usage window, an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
    skos:inScheme lokf:schema ;
    skos:note "dcat:startDate is defined by DCAT 2 precisely for dcterms:PeriodOfTime — exactly this shape. `from` is a Python reserved word: the authored YAML key and JSON-LD term stay `from`, but generated Python needs the induced attribute aliased. LinkML currently generates `from_` without mapping the authored `from` key when loading dataclasses (https://github.com/linkml/linkml/pull/4083). LOKF's build patches its own generated module; domain vocabularies importing LOKF and generating their own dataclasses do not receive that patch. Keep the authored key `from`; after an upstream release fixes loading, update the LinkML minimum and remove the local workaround and expected failure in tests/test_keyword_dataclasses.py." .

lokf:generated a owl:ObjectProperty ;
    rdfs:label "generated" ;
    rdfs:range lokf:Generation ;
    skos:definition "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." ;
    skos:inScheme lokf:schema .

lokf:genre a owl:ObjectProperty ;
    rdfs:label "genre" ;
    rdfs:range lokf:DiataxisMode ;
    rdfs:seeAlso <https://diataxis.fr/> ;
    skos:altLabel "diataxis_mode",
        "documentation_mode" ;
    skos:definition "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*." ;
    skos:inScheme lokf:schema ;
    skos:note "Consumers MUST tolerate absent or unknown values.",
        "Orthogonal to `type`, so the same subject can appear in several modes: a `Dataset` whose body lists its columns is `genre: reference`, while an `Explanation` *about* that dataset is `genre: explanation`. Keep one mode per concept - if a body drifts between teaching, task steps, and background, split it and link the parts with `references`/`about`." .

lokf:http_method a owl:ObjectProperty ;
    rdfs:label "http_method" ;
    rdfs:range lokf:HttpMethod ;
    skos:definition "The HTTP method used to invoke the service, if applicable." ;
    skos:inScheme lokf:schema .

lokf:is_key a owl:DatatypeProperty ;
    rdfs:label "is_key" ;
    rdfs:range xsd:boolean ;
    skos:definition "Whether the field is (part of) the primary key." ;
    skos:inScheme lokf:schema .

lokf:last_modified a owl:DatatypeProperty ;
    rdfs:label "last_modified" ;
    rdfs:range xsd:dateTime ;
    skos:definition "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)." ;
    skos:exactMatch dcterms:modified ;
    skos:inScheme lokf:schema .

lokf:lokf_version a owl:DatatypeProperty ;
    rdfs:label "lokf_version" ;
    skos:definition "The LOKF version the bundle targets (e.g. \"0.2\")." ;
    skos:inScheme lokf:schema .

lokf:media_type a owl:DatatypeProperty ;
    rdfs:label "media_type" ;
    skos:definition "The media (MIME) type of a distribution." ;
    skos:inScheme lokf:schema .

lokf:okf_version a owl:DatatypeProperty ;
    rdfs:label "okf_version" ;
    skos:definition "The OKF version the bundle remains compatible with (e.g. \"0.2\")." ;
    skos:inScheme lokf:schema .

lokf:predicate a owl:ObjectProperty ;
    rdfs:label "predicate" ;
    rdfs:range lokf:RelationType ;
    skos:definition "The relationship type. SHOULD be drawn from the RelationType vocabulary." ;
    skos:inScheme lokf:schema .

lokf:publisher a owl:ObjectProperty ;
    rdfs:label "publisher" ;
    rdfs:range lokf:Agent ;
    skos:closeMatch dcterms:publisher ;
    skos:definition "The agent responsible for making the bundle available." ;
    skos:inScheme lokf:schema .

lokf:relation_label a owl:DatatypeProperty ;
    rdfs:label "relation_label" ;
    skos:definition "An optional human-readable label for the relationship." ;
    skos:inScheme lokf:schema .

lokf:required a owl:DatatypeProperty ;
    rdfs:label "required" ;
    rdfs:range xsd:boolean ;
    skos:definition "Whether a value for the parameter must be supplied." ;
    skos:inScheme lokf:schema .

lokf:revised a owl:ObjectProperty ;
    rdfs:label "revised" ;
    rdfs:range lokf:Revision ;
    rdfs:seeAlso <https://github.com/GoogleCloudPlatform/open-knowledge-format/issues/28> ;
    skos:closeMatch prov:wasInfluencedBy ;
    skos:definition "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." ;
    skos:editorialNote "Proposed for OKF §5.2 as GoogleCloudPlatform/open-knowledge-format#28, which settles `generated` as the immutable production event, under this name. Kept in lokf_semantic until OKF adopts it, then moved to okf_v02." ;
    skos:inScheme lokf:schema ;
    skos:note "Minted in lokf: PROV relates a revised entity to the one it revises (prov:wasRevisionOf), not an entity to the activity that revised it in place.",
        "`lokf validate` rejects a `revised.at` earlier than `generated.at`: an edit cannot come before production." .

lokf:roleName a owl:DatatypeProperty ;
    rdfs:label "roleName" ;
    skos:definition "The name/title of the role held (e.g. a job title)." ;
    skos:inScheme lokf:schema .

lokf:runtime a owl:DatatypeProperty ;
    rdfs:label "runtime" ;
    rdfs:range xsd:string ;
    skos:definition "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." ;
    skos:inScheme lokf:schema .

lokf:stale_after a owl:DatatypeProperty ;
    rdfs:label "stale_after" ;
    rdfs:range xsd:dateTime ;
    skos:closeMatch dcterms:valid ;
    skos:definition "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." ;
    skos:inScheme lokf:schema ;
    skos:note "schema:expires is the exact concept — a planned future expiry; prov:invalidatedAtTime would falsely assert the entity WAS invalidated, and dcterms:valid names a validity period only ambiguously." .

lokf:startDate a owl:DatatypeProperty ;
    rdfs:label "startDate" ;
    skos:closeMatch org:memberDuring ;
    skos:definition "The date the role began (ISO 8601 date or year)." ;
    skos:inScheme lokf:schema .

lokf:status a owl:ObjectProperty ;
    rdfs:label "status" ;
    rdfs:range lokf:ConceptStatus ;
    skos:closeMatch adms:status ;
    skos:definition "Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control." ;
    skos:inScheme lokf:schema ;
    skos:note "Absence is deliberately distinguishable from an explicit `status: stable` (a consumer-side default), so no `ifabsent` is set.",
        "schema:creativeWorkStatus is text-valued by design, so the flat JSON-LD context path emitting the literal is exactly conformant schema.org usage; the enum's ADMS meaning IRIs surface on the LinkML RDF/OWL/SHACL path." .

lokf:suggestedMaxAge a owl:DatatypeProperty ;
    rdfs:label "suggestedMaxAge" ;
    rdfs:range [ a rdfs:Datatype ;
            owl:intersectionOf ( xsd:integer [ a rdfs:Datatype ;
                        owl:onDatatype xsd:integer ;
                        owl:withRestrictions ( [ xsd:minInclusive 0 ] ) ] ) ] ;
    skos:definition "The oldest age, in years, the concept is written for." ;
    skos:inScheme lokf:schema .

lokf:suggestedMinAge a owl:DatatypeProperty ;
    rdfs:label "suggestedMinAge" ;
    rdfs:range [ a rdfs:Datatype ;
            owl:intersectionOf ( xsd:integer [ a rdfs:Datatype ;
                        owl:onDatatype xsd:integer ;
                        owl:withRestrictions ( [ xsd:minInclusive 0 ] ) ] ) ] ;
    skos:definition "The youngest age, in years, the concept is written for." ;
    skos:inScheme lokf:schema .

lokf:target a owl:ObjectProperty ;
    rdfs:label "target" ;
    rdfs:range lokf:Concept ;
    skos:definition "The IRI (or Concept ID) of the relationship's object." ;
    skos:inScheme lokf:schema .

lokf:timestamp a owl:DatatypeProperty ;
    rdfs:label "timestamp" ;
    rdfs:range xsd:dateTime ;
    skos:definition "ISO 8601 datetime of the last meaningful change." ;
    skos:exactMatch dcterms:modified ;
    skos:inScheme lokf:schema .

lokf:to a owl:DatatypeProperty ;
    rdfs:label "to" ;
    rdfs:range xsd:dateTime ;
    skos:closeMatch schema1:endDate ;
    skos:definition "End (inclusive) of a usage window, an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z." ;
    skos:inScheme lokf:schema .

lokf:typicalAgeRange a owl:DatatypeProperty ;
    rdfs:label "typicalAgeRange" ;
    rdfs:range [ a rdfs:Datatype ;
            owl:intersectionOf ( xsd:string [ a rdfs:Datatype ;
                        owl:onDatatype xsd:string ;
                        owl:withRestrictions ( [ xsd:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ] ) ] ) ] ;
    skos:definition "The typical age range of the concept's readers, as schema.org writes it: `8-12`, or `13-` for 13 and over." ;
    skos:exactMatch lrmi:typicalAgeRange ;
    skos:inScheme lokf:schema .

lokf:url a owl:DatatypeProperty ;
    rdfs:label "url" ;
    rdfs:range xsd:anyURI ;
    skos:definition "A URL." ;
    skos:inScheme lokf:schema .

lokf:usage_count a owl:DatatypeProperty ;
    rdfs:label "usage_count" ;
    rdfs:range xsd:integer ;
    skos:closeMatch schema1:userInteractionCount ;
    skos:definition "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." ;
    skos:inScheme lokf:schema ;
    skos:note "Minted in lokf: no established vocabulary has a bare-integer usage property (schema:userInteractionCount is domained to the InteractionCounter reification)." .

lokf:version a owl:DatatypeProperty ;
    rdfs:label "version" ;
    skos:closeMatch pav:version ;
    skos:definition "A version string for the concept's content." ;
    skos:inScheme lokf:schema .

lokf:AttestedComputation a owl:Class ;
    rdfs:label "AttestedComputation" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:computation ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:attester ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:executor ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Executor ;
            owl:onProperty lokf:executor ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:computation ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:runtime ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:parameters ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:anyURI ;
            owl:onProperty lokf:computation ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Parameter ;
            owl:onProperty lokf:parameters ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:attester ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:runtime ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:runtime ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:executor ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Attester ;
            owl:onProperty lokf:attester ],
        lokf:Concept ;
    skos:altLabel "Attested Computation" ;
    skos:broadMatch prov:Plan ;
    skos:closeMatch schema1:HowTo ;
    skos:definition "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." ;
    skos:exactMatch lokf:AttestedComputation ;
    skos:inScheme lokf:schema ;
    skos:note "Plain OKF writes `type: Attested Computation` (with a space). LOKF loaders MUST normalize the spaced form to this class name when resolving the type designator (the alias records the written form); LOKF-authored bundles SHOULD write `type: AttestedComputation`." .

lokf:Dataset a owl:Class ;
    rdfs:label "Dataset" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom lokf:Field ;
            owl:onProperty lokf:fields ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:fields ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Distribution ;
            owl:onProperty lokf:distribution ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:distribution ],
        lokf:Concept ;
    skos:definition "A collection of data, published or curated for access and reuse." ;
    skos:exactMatch schema1:Dataset,
        dcat:Dataset ;
    skos:inScheme lokf:schema .

lokf:Document a owl:Class ;
    rdfs:label "Document" ;
    rdfs:subClassOf lokf:Concept ;
    skos:closeMatch schema1:DigitalDocument ;
    skos:definition "A general knowledge document that does not fit a more specific type." ;
    skos:exactMatch lokf:Document ;
    skos:inScheme lokf:schema .

lokf:Explanation a owl:Class ;
    rdfs:label "Explanation" ;
    rdfs:seeAlso <https://diataxis.fr/explanation/> ;
    rdfs:subClassOf lokf:Concept ;
    skos:altLabel "background",
        "conceptual guide",
        "discussion",
        "topics" ;
    skos:closeMatch schema1:Article,
        schema1:CreativeWork ;
    skos:definition "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`." ;
    skos:exactMatch lokf:Explanation ;
    skos:inScheme lokf:schema ;
    skos:note "Pair with `genre: explanation`. Keep task steps and reference facts out - link those rather than folding them in." .

lokf:Metric a owl:Class ;
    rdfs:label "Metric" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:measures ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:unit ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:formula ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:formula ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:unit ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:formula ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:unit ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:measures ],
        lokf:Concept ;
    skos:closeMatch schema1:Observation,
        skos:Concept ;
    skos:definition "A precisely defined, measurable quantity — the canonical definition of a business or operational metric." ;
    skos:exactMatch lokf:Metric ;
    skos:inScheme lokf:schema .

lokf:Playbook a owl:Class ;
    rdfs:label "Playbook" ;
    rdfs:seeAlso <https://diataxis.fr/how-to-guides/> ;
    rdfs:subClassOf lokf:Concept ;
    skos:altLabel "how-to guide",
        "runbook" ;
    skos:definition "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." ;
    skos:exactMatch schema1:HowTo,
        lokf:Playbook ;
    skos:inScheme lokf:schema ;
    skos:note "Pair with `genre: how-to`. Assumes competence and targets one specific goal; to teach a beginner use a Tutorial, and keep background in an Explanation linked via `references`/`about` rather than explaining inline." .

lokf:Policy a owl:Class ;
    rdfs:label "Policy" ;
    rdfs:subClassOf lokf:Concept ;
    skos:closeMatch schema1:CreativeWork,
        schema1:DigitalDocument ;
    skos:definition "A governance, compliance, or operational policy document." ;
    skos:exactMatch lokf:Policy ;
    skos:inScheme lokf:schema .

lokf:Reference a owl:Class ;
    rdfs:label "Reference" ;
    rdfs:subClassOf lokf:Concept ;
    skos:closeMatch schema1:CreativeWork,
        schema1:WebPage ;
    skos:definition "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." ;
    skos:exactMatch lokf:Reference ;
    skos:inScheme lokf:schema .

lokf:Tutorial a owl:Class ;
    rdfs:label "Tutorial" ;
    rdfs:seeAlso <https://diataxis.fr/tutorials/> ;
    rdfs:subClassOf lokf:Concept ;
    skos:altLabel "getting started guide",
        "lesson" ;
    skos:closeMatch schema1:HowTo,
        schema1:LearningResource ;
    skos:definition "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`." ;
    skos:exactMatch lokf:Tutorial ;
    skos:inScheme lokf:schema ;
    skos:note "Pair with `genre: tutorial`. Unlike a Playbook/how-to it assumes no prior competence and aims at learning, not completing a particular task." .

lokf:author a owl:ObjectProperty ;
    rdfs:label "author" ;
    rdfs:range lokf:Agent ;
    skos:closeMatch dcterms:creator,
        prov:wasAttributedTo ;
    skos:definition "The agent(s) responsible for authoring the concept." ;
    skos:inScheme lokf:schema .

lokf:body a owl:DatatypeProperty ;
    rdfs:label "body" ;
    skos:closeMatch lokf:body ;
    skos:definition "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." ;
    skos:inScheme lokf:schema .

lokf:measures a owl:Class,
        owl:ObjectProperty ;
    rdfs:label "measures" ;
    rdfs:range lokf:Concept ;
    rdfs:subClassOf lokf:RelationType ;
    skos:definition "The concept (a metric) measures the target.",
        "What the metric measures (a concept IRI or description)." ;
    skos:inScheme lokf:schema ;
    lokf:inverse_title "Measured by" .

schema1:HowTo a owl:Class ;
    rdfs:label "how-to" ;
    rdfs:seeAlso <https://diataxis.fr/how-to-guides/> ;
    rdfs:subClassOf lokf:DiataxisMode ;
    skos:altLabel "guide",
        "recipe",
        "runbook" ;
    skos:definition "Goal-oriented; directions that guide an already-competent reader through a problem or towards a result." ;
    skos:editorialNote "Answers \"How do I…?\" - reader is *working* by *doing*. A recipe, not a lesson; it assumes competence and solves one real-world problem." ;
    lokf:diataxis_acquisition_application "application" ;
    lokf:diataxis_action_cognition "action" .

lokf:ConceptStatus a owl:Class ;
    rdfs:label "ConceptStatus" ;
    owl:unionOf ( adms_status:UnderDevelopment adms_status:Completed adms_status:Deprecated ) ;
    skos:definition "Lifecycle status of a concept (OKF v0.2 §5.4). Absent means stable. Each value maps to a real IRI in the ADMS status controlled vocabulary (http://purl.org/adms/status/, the vocabulary DCAT-AP mandates for adms:status). On the flat-context path the value serializes as a text literal — sanctioned usage of schema:creativeWorkStatus, which is deliberately text-valued; the IRIs surface on the LinkML RDF/OWL path." ;
    skos:inScheme lokf:schema ;
    linkml:permissible_values adms_status:Completed,
        adms_status:Deprecated,
        adms_status:UnderDevelopment .

lokf:DiataxisMode a owl:Class ;
    rdfs:label "DiataxisMode" ;
    rdfs:seeAlso <https://diataxis.fr/> ;
    owl:unionOf ( schema1:LearningResource schema1:HowTo schema1:APIReference schema1:Article ) ;
    skos:definition "The Diátaxis documentation mode of a concept's body - an orthogonal facet describing *how* the prose serves the reader, distinct from the concept's `type` (what it is *about*). Each value maps to a schema.org term. Optional: an absent value simply means the mode is unclassified, and consumers MUST treat an unknown value the same way rather than fail." ;
    skos:inScheme lokf:schema ;
    skos:note "Diátaxis is a widely-adopted framework that sorts documentation into four modes along two axes: action vs. cognition (doing vs. thinking) and acquisition vs. application (studying vs. working). Each permissible value carries its quadrant as machine-readable annotations (`diataxis_action_cognition`, `diataxis_acquisition_application`) so tools can reason about the map - e.g. a reader who is working and doing needs `how-to`." ;
    linkml:permissible_values schema1:APIReference,
        schema1:Article,
        schema1:HowTo,
        schema1:LearningResource .

lokf:license a owl:DatatypeProperty ;
    rdfs:label "license" ;
    rdfs:range xsd:anyURI ;
    skos:definition "The license under which the concept or bundle is offered." ;
    skos:inScheme lokf:schema .

lokf:reason a owl:DatatypeProperty ;
    rdfs:label "reason" ;
    rdfs:range xsd:string ;
    skos:definition "The grounds for a decision, in a sentence a reviewer can check: why a material was left out, or what a refutation found wrong." ;
    skos:inScheme lokf:schema .

lokf:unit a owl:DatatypeProperty ;
    rdfs:label "unit" ;
    skos:definition "The unit of measurement (e.g. USD, seconds, count)." ;
    skos:inScheme lokf:schema .

lokf:usage_window a owl:ObjectProperty ;
    rdfs:label "usage_window" ;
    rdfs:range lokf:UsageWindow ;
    skos:closeMatch dcterms:temporal ;
    skos:definition "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)." ;
    skos:inScheme lokf:schema ;
    skos:note "Minted in lokf: dcterms:temporal (and schema:temporalCoverage) assert the resource's own temporal coverage, not the measurement window of its usage signals — borrowing either would be a category error. dcterms:temporal is the nearest real term, kept as a close mapping." .

xsd:boolean a owl:Class ;
    rdfs:label "boolean" ;
    rdfs:subClassOf lokf:FieldType .

lokf:Agent a owl:Class ;
    rdfs:label "Agent" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:id ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:name ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:email ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:anyURI ;
            owl:onProperty lokf:id ],
        [ a owl:Restriction ;
            owl:allValuesFrom [ a rdfs:Datatype ;
                    owl:onDatatype xsd:string ;
                    owl:withRestrictions ( [ xsd:pattern "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$" ] ) ] ;
            owl:onProperty lokf:email ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:name ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:type ],
        [ owl:unionOf ( lokf:Organization lokf:Person ) ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:id ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:type ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:name ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:type ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:email ] ;
    skos:closeMatch schema1:Agent,
        foaf:Agent ;
    skos:definition "A person or organization responsible for a concept." ;
    skos:exactMatch prov:Agent ;
    skos:inScheme lokf:schema .

lokf:Checksum a owl:Class ;
    rdfs:label "Checksum" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:algorithm ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:ChecksumAlgorithm ;
            owl:onProperty lokf:algorithm ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:checksum_value ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:checksum_value ],
        [ a owl:Restriction ;
            owl:allValuesFrom [ a rdfs:Datatype ;
                    owl:intersectionOf ( xsd:hexBinary [ a rdfs:Datatype ;
                                owl:onDatatype xsd:string ;
                                owl:withRestrictions ( [ xsd: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})$" ] ) ] ) ] ;
            owl:onProperty lokf:checksum_value ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:algorithm ] ;
    skos:definition "A digest of a distribution's bytes, which a consumer recomputes before trusting them. Maps to spdx:Checksum, as DCAT 3 attaches it." ;
    skos:exactMatch spdx:Checksum ;
    skos:inScheme lokf:schema .

lokf:HttpMethod a owl:Class ;
    rdfs:label "HttpMethod" ;
    owl:unionOf ( <https://w3id.org/lokf/HttpMethod#GET> <https://w3id.org/lokf/HttpMethod#POST> <https://w3id.org/lokf/HttpMethod#PUT> <https://w3id.org/lokf/HttpMethod#PATCH> <https://w3id.org/lokf/HttpMethod#DELETE> <https://w3id.org/lokf/HttpMethod#HEAD> <https://w3id.org/lokf/HttpMethod#OPTIONS> ) ;
    skos:definition "The IANA HTTP request method registry, restricted to the methods a LOKF Service is realistically documented as being invoked with. Permissible value names are uppercase (unlike this schema's other enums) because the method name is a case-sensitive wire token, not an authoring convenience label." ;
    skos:inScheme lokf:schema ;
    linkml:permissible_values <https://w3id.org/lokf/HttpMethod#DELETE>,
        <https://w3id.org/lokf/HttpMethod#GET>,
        <https://w3id.org/lokf/HttpMethod#HEAD>,
        <https://w3id.org/lokf/HttpMethod#OPTIONS>,
        <https://w3id.org/lokf/HttpMethod#PATCH>,
        <https://w3id.org/lokf/HttpMethod#POST>,
        <https://w3id.org/lokf/HttpMethod#PUT> .

lokf:algorithm a owl:ObjectProperty ;
    rdfs:label "algorithm" ;
    rdfs:range lokf:ChecksumAlgorithm ;
    skos:definition "The algorithm that computed a checksum." ;
    skos:inScheme lokf:schema .

lokf:checksum_value a owl:DatatypeProperty ;
    rdfs:label "checksum_value" ;
    rdfs:range [ a rdfs:Datatype ;
            owl:intersectionOf ( xsd:hexBinary [ a rdfs:Datatype ;
                        owl:onDatatype xsd:string ;
                        owl:withRestrictions ( [ xsd: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})$" ] ) ] ) ] ;
    skos:definition "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)." ;
    skos:inScheme lokf:schema .

lokf:id a owl:DatatypeProperty ;
    rdfs:label "id" ;
    rdfs:range xsd:anyURI ;
    skos:definition "Optional stable key joining markdown footnote labels to this entry (e.g. `ga4-schema`).",
        "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." ;
    skos:editorialNote "The schema requires an id, unlike OKF. A concept file may leave it out, since the toolkit fills it from the base IRI and the Concept ID." ;
    skos:inScheme lokf:schema ;
    skos:note "Declared as a class-local attribute rather than the global identifier slot so it stays optional (LinkML's falsy-merge silently drops an `identifier: false` slot_usage override and generation then fails).",
        "Under the published flat context `id` maps to @id, so the value resolves against the bundle base and mints the source node's IRI — the same id used across concepts merges into one RDF node; schema:identifier applies only on the LinkML RDF-dump path." .

lokf:ParameterType a owl:Class ;
    rdfs:label "ParameterType" ;
    owl:unionOf ( lokf:StringParameter lokf:IntegerParameter lokf:NumberParameter lokf:BooleanParameter lokf:DateParameter lokf:DatetimeParameter lokf:TimeParameter lokf:UriParameter lokf:JsonParameter ) ;
    skos:definition "Datatypes for Attested Computation parameters. The permissible values mirror FieldType's authoring surface exactly (one datatype vocabulary for authors), but the meanings deliberately diverge: ParameterType values are written under the `type` key, whose flat-context alias is @type, so each value means a designed lokf Parameter-kind CLASS rather than an XSD datatype — `_:p rdf:type xsd:integer` would falsely type a non-literal node with a datatype (a class of literals), while `_:p rdf:type lokf:IntegerParameter` is true and OWL-DL-safe. Each value's XSD value space is carried as an annotation and asserted in the generated ontology, where every Parameter-kind class is declared a subclass of lokf:Parameter." ;
    skos:inScheme lokf:schema ;
    linkml:permissible_values lokf:BooleanParameter,
        lokf:DateParameter,
        lokf:DatetimeParameter,
        lokf:IntegerParameter,
        lokf:JsonParameter,
        lokf:NumberParameter,
        lokf:StringParameter,
        lokf:TimeParameter,
        lokf:UriParameter .

lokf:FieldType a owl:Class ;
    rdfs:label "FieldType" ;
    owl:unionOf ( xsd:string xsd:integer xsd:decimal xsd:boolean xsd:date xsd:dateTime xsd:time xsd:anyURI rdf:JSON ) ;
    skos:definition "Datatypes for dataset/table fields, each mapped to its XSD (or RDF) type." ;
    skos:inScheme lokf:schema ;
    linkml:permissible_values rdf:JSON,
        xsd:anyURI,
        xsd:boolean,
        xsd:date,
        xsd:dateTime,
        xsd:decimal,
        xsd:integer,
        xsd:string,
        xsd:time .

lokf:Parameter a owl:Class ;
    rdfs:label "Parameter" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom lokf:ParameterType ;
            owl:onProperty lokf:type ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:type ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:name ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:name ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:type ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:name ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:required ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:required ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:boolean ;
            owl:onProperty lokf:required ] ;
    skos:closeMatch schema1:PropertyValueSpecification ;
    skos:definition "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." ;
    skos:exactMatch lokf:Parameter ;
    skos:inScheme lokf:schema .

lokf:at a owl:DatatypeProperty ;
    rdfs:label "at" ;
    rdfs:range xsd:dateTime ;
    skos:closeMatch schema1:endTime,
        prov:atTime ;
    skos:definition "ISO 8601 datetime at which the event completed." ;
    skos:inScheme lokf:schema .

lokf:name a owl:DatatypeProperty ;
    rdfs:label "name" ;
    skos:definition "A name." ;
    skos:inScheme lokf:schema .

lokf:revision a owl:DatatypeProperty ;
    rdfs:label "revision" ;
    rdfs:range xsd:string ;
    rdfs:seeAlso <https://github.com/GoogleCloudPlatform/knowledge-catalog/issues/437> ;
    skos:definition "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." ;
    skos:editorialNote "Proposed for OKF §5.2 as GoogleCloudPlatform/knowledge-catalog#437, under this name. Kept in lokf_semantic until OKF adopts it, then moved to okf_v02. A per-source `checked: [{ resource, revision }]` list, for a concept with several sources, waits on that design." ;
    skos:inScheme lokf:schema ;
    skos:note "A literal on the event, not prov:used: the value is an opaque version token, not the IRI of an entity. pav:version describes the resource itself; here the subject is the act of checking it.",
        "Quote it in YAML. An all-digit commit id (`1234567`) is otherwise read as a number and fails the string range, and an ETag carries its own double quotes." .

lokf:title a owl:DatatypeProperty ;
    rdfs:label "title" ;
    skos:closeMatch dcterms:title,
        rdfs:label ;
    skos:definition "Human-readable display name." ;
    skos:inScheme lokf:schema .

lokf:ChecksumAlgorithm a owl:Class ;
    rdfs:label "ChecksumAlgorithm" ;
    owl:unionOf ( 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 ) ;
    skos:definition "Digest algorithms for a Checksum, each mapped to its SPDX individual. Prefer sha256 or stronger; sha1 and md5 identify bytes but no longer resist tampering." ;
    skos:inScheme lokf:schema ;
    linkml:permissible_values spdx:checksumAlgorithm_blake2b256,
        spdx:checksumAlgorithm_blake2b384,
        spdx:checksumAlgorithm_blake2b512,
        spdx:checksumAlgorithm_md5,
        spdx:checksumAlgorithm_sha1,
        spdx:checksumAlgorithm_sha224,
        spdx:checksumAlgorithm_sha256,
        spdx:checksumAlgorithm_sha384,
        spdx:checksumAlgorithm_sha3_256,
        spdx:checksumAlgorithm_sha3_384,
        spdx:checksumAlgorithm_sha3_512,
        spdx:checksumAlgorithm_sha512 .

xsd:integer a owl:Class ;
    rdfs:label "integer" ;
    rdfs:subClassOf lokf:FieldType .

lokf:by a owl:DatatypeProperty ;
    rdfs:label "by" ;
    rdfs:range [ a rdfs:Datatype ;
            owl:intersectionOf ( xsd:string [ a rdfs:Datatype ;
                        owl:onDatatype xsd:string ;
                        owl:withRestrictions ( [ xsd:pattern "^(human|process):\\S+$|^[^\\s/]+/[^\\s/]+$" ] ) ] ) ] ;
    skos:closeMatch schema1:agent ;
    skos:definition "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." ;
    skos:inScheme lokf:schema ;
    skos:note "prov:wasAssociatedWith is an object property (range prov:Agent); carrying a literal actor designator is a documented, RDF-consistent pragmatic flattening — chosen over coined actor IRIs because a flat JSON-LD context cannot rewrite strings into IRIs, and \"reference_agent/gemini-2.5-pro\" (no colon) would resolve as an unstable document-base-relative IRI, while \"human:kliu\" would silently become an absolute IRI in an unregistered URI scheme." .

lokf:description a owl:DatatypeProperty ;
    rdfs:label "description" ;
    skos:closeMatch dcterms:description ;
    skos:definition "A single-sentence summary of the concept." ;
    skos:inScheme lokf:schema .

lokf:resource a owl:DatatypeProperty ;
    rdfs:label "resource" ;
    rdfs:range xsd:anyURI ;
    skos:closeMatch dcat:landingPage,
        prov:specializationOf ;
    skos:definition "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." ;
    skos:inScheme lokf:schema .

lokf:RelationType a owl:Class ;
    rdfs:label "RelationType" ;
    owl:unionOf ( dcterms:isPartOf schema1:hasPart dcterms:references dcterms:requires prov:wasDerivedFrom dcterms:isReplacedBy prov:wasRevisionOf schema1:about owl:sameAs dcterms:relation prov:wasAttributedTo rdfs:isDefinedBy lokf:measures lokf:joinsWith dcterms:source schema1:memberOf org:member ) ;
    skos:definition "The recommended controlled vocabulary of relationship predicates for reified Relations. Each value carries a `meaning` mapping to its RDF predicate in schema.org, Dublin Core Terms, PROV-O, RDFS, or OWL." ;
    skos:inScheme lokf:schema ;
    linkml:permissible_values dcterms:isPartOf,
        dcterms:isReplacedBy,
        dcterms:references,
        dcterms:relation,
        dcterms:requires,
        dcterms:source,
        schema1:about,
        schema1:hasPart,
        schema1:memberOf,
        rdfs:isDefinedBy,
        owl:sameAs,
        org:member,
        prov:wasAttributedTo,
        prov:wasDerivedFrom,
        prov:wasRevisionOf,
        lokf:joinsWith,
        lokf:measures .

xsd:dateTime a owl:Class ;
    rdfs:label "datetime" ;
    rdfs:subClassOf lokf:FieldType .

lokf:type a owl:DatatypeProperty,
        owl:ObjectProperty ;
    rdfs:label "type" ;
    rdfs:range xsd:string ;
    skos:definition "The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm).",
        "The parameter's datatype, written with the authoring key `type` verbatim and drawn from ParameterType." ;
    skos:inScheme lokf:schema ;
    skos:note "Because the flat context aliases `type` to @type, the value expands as the node's rdf:type; every ParameterType value therefore means a designed lokf Parameter-kind class, so `type: integer` yields the true, OWL-DL-safe triple `_:p rdf:type lokf:IntegerParameter`. slot_uri rdf:type makes the LinkML RDF-dump path emit the same triple (enum meanings expand to their IRIs).",
        "Declared as a class-local attribute rather than slot_usage over the global type slot, because LinkML's falsy-merge silently drops a `designates_type: false` override and gen-python then hard-fails.",
        "Designates the JSON-LD @type / rdf:type. Consumers MUST tolerate unknown values by treating the concept as a generic lokf:Concept." .

xsd:anyURI a owl:Class ;
    rdfs:label "uri" ;
    rdfs:subClassOf lokf:FieldType .

lokf:Concept a owl:Class ;
    rdfs:label "Concept" ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:allValuesFrom lokf:Refutation ;
            owl:onProperty lokf:refuted ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:title ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Source ;
            owl:onProperty lokf:sources ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:anyURI ;
            owl:onProperty lokf:id ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:status ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:definedBy ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:tags ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:genre ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:relatedTo ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:relatedTo ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:revised ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:hasPart ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:version ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:educationalLevel ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:source ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:ConceptStatus ;
            owl:onProperty lokf:status ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:id ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Audience ;
            owl:onProperty lokf:audience ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Verification ;
            owl:onProperty lokf:verified ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:isReplacedBy ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:created ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:references ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:type ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:refuted ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:isPartOf ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:audience ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:type ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Exclusion ;
            owl:onProperty lokf:exclusions ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:about ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:dateTime ;
            owl:onProperty lokf:timestamp ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:anyURI ;
            owl:onProperty lokf:license ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:type ],
        [ owl:unionOf ( lokf:AttestedComputation lokf:Dataset lokf:Document lokf:Explanation lokf:GlossaryTerm lokf:Metric lokf:Playbook lokf:Policy lokf:Reference lokf:Role lokf:Service lokf:Tutorial ) ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:genre ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:version ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:educationalLevel ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:license ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:timestamp ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:typicalAgeRange ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:definedBy ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:references ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:typicalAgeRange ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:version ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:additionalType ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:license ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:derivedFrom ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:verified ],
        [ a owl:Restriction ;
            owl:minCardinality 1 ;
            owl:onProperty lokf:id ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:description ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:dependsOn ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:title ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Generation ;
            owl:onProperty lokf:generated ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:anyURI ;
            owl:onProperty lokf:resource ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:UsageWindow ;
            owl:onProperty lokf:usage_window ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Agent ;
            owl:onProperty lokf:author ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:resource ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:isReplacedBy ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:revised ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:additionalType ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:DiataxisMode ;
            owl:onProperty lokf:genre ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:citations ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:body ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:derivedFrom ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:dateTime ;
            owl:onProperty lokf:stale_after ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:sameAs ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:isPartOf ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:dependsOn ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:description ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Revision ;
            owl:onProperty lokf:revised ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:title ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:hasPart ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:sameAs ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:timestamp ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:dateTime ;
            owl:onProperty lokf:created ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:description ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Relation ;
            owl:onProperty lokf:relations ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:body ],
        [ a owl:Restriction ;
            owl:allValuesFrom xsd:string ;
            owl:onProperty lokf:tags ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:source ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:sources ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:stale_after ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:audience ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:generated ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:resource ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:created ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:usage_window ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:exclusions ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:additionalType ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:body ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:relations ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:generated ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:educationalLevel ],
        [ a owl:Restriction ;
            owl:minCardinality 0 ;
            owl:onProperty lokf:author ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:status ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:usage_window ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Citation ;
            owl:onProperty lokf:citations ],
        [ a owl:Restriction ;
            owl:allValuesFrom [ a rdfs:Datatype ;
                    owl:intersectionOf ( xsd:string [ a rdfs:Datatype ;
                                owl:onDatatype xsd:string ;
                                owl:withRestrictions ( [ xsd:pattern "^[0-9]{1,3}-([0-9]{1,3})?$" ] ) ] ) ] ;
            owl:onProperty lokf:typicalAgeRange ],
        [ a owl:Restriction ;
            owl:maxCardinality 1 ;
            owl:onProperty lokf:stale_after ],
        [ a owl:Restriction ;
            owl:allValuesFrom lokf:Concept ;
            owl:onProperty lokf:about ] ;
    skos:broadMatch schema1:CreativeWork,
        prov:Entity ;
    skos:definition "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." ;
    skos:exactMatch lokf:Concept ;
    skos:inScheme lokf:schema .

xsd:string a owl:Class ;
    rdfs:label "string" ;
    rdfs:subClassOf lokf:FieldType .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:Policy ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:Policy .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:Tutorial ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:Tutorial .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:Organization ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:Organization .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:Table ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:Table .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:Reference ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:Reference .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:Agent ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:Agent .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:Person ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:Person .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:Playbook ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:Playbook .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:AttestedComputation ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:AttestedComputation .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:Metric ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:Metric .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:Explanation ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:Explanation .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:Concept ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:Concept .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:Role ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:Role .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:Dataset ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:Dataset .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:GlossaryTerm ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:GlossaryTerm .

[] rdfs:subClassOf [ a owl:Restriction ;
            owl:onProperty lokf:checksum_value ;
            owl:someValuesFrom [ a rdfs:Datatype ;
                    owl:onDatatype xsd:string ;
                    owl:withRestrictions ( [ xsd:pattern "^[0-9a-f]{32}$" ] ) ] ] ;
    owl:intersectionOf ( [ a owl:Restriction ;
                owl:onProperty lokf:algorithm ;
                owl:someValuesFrom [ a rdfs:Datatype ;
                        owl:oneOf ( "md5" ) ] ] lokf:Checksum ) .

[] rdfs:subClassOf [ a owl:Restriction ;
            owl:onProperty lokf:checksum_value ;
            owl:someValuesFrom [ a rdfs:Datatype ;
                    owl:onDatatype xsd:string ;
                    owl:withRestrictions ( [ xsd:pattern "^[0-9a-f]{128}$" ] ) ] ] ;
    owl:intersectionOf ( [ a owl:Restriction ;
                owl:onProperty lokf:algorithm ;
                owl:someValuesFrom [ a rdfs:Datatype ;
                        owl:oneOf ( "sha512" "sha3_512" "blake2b512" ) ] ] lokf:Checksum ) .

[] rdfs:subClassOf [ a owl:Restriction ;
            owl:onProperty lokf:checksum_value ;
            owl:someValuesFrom [ a rdfs:Datatype ;
                    owl:onDatatype xsd:string ;
                    owl:withRestrictions ( [ xsd:pattern "^[0-9a-f]{64}$" ] ) ] ] ;
    owl:intersectionOf ( [ a owl:Restriction ;
                owl:onProperty lokf:algorithm ;
                owl:someValuesFrom [ a rdfs:Datatype ;
                        owl:oneOf ( "sha256" "sha3_256" "blake2b256" ) ] ] lokf:Checksum ) .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:Service ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:Service .

[] rdfs:subClassOf [ a owl:Restriction ;
            owl:onProperty lokf:checksum_value ;
            owl:someValuesFrom [ a rdfs:Datatype ;
                    owl:onDatatype xsd:string ;
                    owl:withRestrictions ( [ xsd:pattern "^[0-9a-f]{56}$" ] ) ] ] ;
    owl:intersectionOf ( [ a owl:Restriction ;
                owl:onProperty lokf:algorithm ;
                owl:someValuesFrom [ a rdfs:Datatype ;
                        owl:oneOf ( "sha224" ) ] ] lokf:Checksum ) .

[] rdfs:subClassOf [ a owl:Restriction ;
            owl:onProperty lokf:checksum_value ;
            owl:someValuesFrom [ a rdfs:Datatype ;
                    owl:onDatatype xsd:string ;
                    owl:withRestrictions ( [ xsd:pattern "^[0-9a-f]{40}$" ] ) ] ] ;
    owl:intersectionOf ( [ a owl:Restriction ;
                owl:onProperty lokf:algorithm ;
                owl:someValuesFrom [ a rdfs:Datatype ;
                        owl:oneOf ( "sha1" ) ] ] lokf:Checksum ) .

[] rdfs:subClassOf [ a owl:Restriction ;
            owl:onProperty lokf:checksum_value ;
            owl:someValuesFrom [ a rdfs:Datatype ;
                    owl:onDatatype xsd:string ;
                    owl:withRestrictions ( [ xsd:pattern "^[0-9a-f]{96}$" ] ) ] ] ;
    owl:intersectionOf ( [ a owl:Restriction ;
                owl:onProperty lokf:algorithm ;
                owl:someValuesFrom [ a rdfs:Datatype ;
                        owl:oneOf ( "sha384" "sha3_384" "blake2b384" ) ] ] lokf:Checksum ) .

[] a owl:Restriction ;
    rdfs:subClassOf lokf:Document ;
    owl:onProperty lokf:type ;
    owl:someValuesFrom lokf:Document .

