@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix edu: <https://knobit.org/def/> .
@prefix knobit: <https://knobit.org/id/knobit/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix register: <https://knobit.org/id/register/> .
@prefix schema: <https://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .

knobit:K-608 a edu:Knobit ;
    rdfs:label "Recognises a hierarchy encoded redundantly"@en ;
    dcterms:identifier "K-608" ;
    dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
    dcterms:source "Review checklist 04-physical, row 8; Karwin, Naive Trees; S&W 12.6; Codd 1971"@en ;
    skos:altLabel "Hierarchy encoded redundantly (physical model)"@en ;
    skos:definition "A recursive relationship stored as a path string or nested-set numbers. The structure is held many times over, moving one node rewrites all its descendants, and no foreign key checks the encoding. A specific form of row 3."@en ;
    skos:prefLabel "Recognises a hierarchy encoded redundantly"@en ;
    edu:actionVerb "Recognises"@en ;
    edu:appliesKnowledge knobit:K-565 ;
    edu:assessmentCriterion "Flags the deficient case and passes the acceptable one. Deficient: `branch.path = '/1/4/17/'` with no foreign key on the parts; moving branch 4 under another region rewrites every row below it, and a mistyped path loads Acceptable: `parent_branch_id` with a foreign key as the system of record; a path, nested set or closure table only as a derived structure with `derivation` and a DQ rule. A closure table has foreign keys on both columns"@en ;
    edu:assessmentMethod "skill-tests task: Loan application physical model on Snowflake (physical design anomaly skills)"@en ;
    edu:contextFunction <https://knobit.org/def/contextFunction/resultEvaluation> ;
    edu:creationMethod <https://knobit.org/def/creationMethod/aiGeneratedHumanEdited> ;
    edu:expectedResult "The encoding and what keeps it consistent"@en ;
    edu:graphRelevance <https://knobit.org/def/graphRelevance/learnerState>,
        <https://knobit.org/def/graphRelevance/taskSelection> ;
    edu:knobitType <https://knobit.org/def/knobitType/skill> ;
    edu:targetObject "path string or nested-set encoding"@en ;
    schema:creativeWorkStatus "accepted" ;
    schema:isPartOf register:data-modelling .

edu:Knobit rdfs:label "Knobit"@en,
        "Knobit"@et .

knobit:K-565 rdfs:label "Explains derived data and point-in-time snapshots"@en .

