@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix edu: <https://knobit.org/def/> .
@prefix knobit: <https://knobit.org/id/knobit/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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-616 a edu:Knobit ;
    rdfs:label "Recognises a changeable value list fixed in the DDL"@en ;
    dcterms:identifier "K-616" ;
    dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
    dcterms:source "Review checklist 04-physical, row 16; Karwin, 31 Flavors; Fagin 1981"@en ;
    owl:sameAs <https://bitbucket.org/reffa/ontology/id/knobit/data-modelling/06-physical/16> ;
    skos:altLabel "Value list fixed in the DDL (physical model)"@en ;
    skos:definition "A value set implemented as `CHECK (... IN (...))` or an enum type although the business changes it. Adding a value needs a migration, a retired value cannot be forbidden for new rows while kept for old ones, and the labels live nowhere. A specific form of row 17: the domain is held in the schema rather than as data."@en ;
    skos:prefLabel "Recognises a changeable value list fixed in the DDL"@en ;
    edu:actionVerb "Recognises"@en ;
    edu:appliesKnowledge knobit:K-656 ;
    edu:assessmentCriterion "Flags the deficient case and passes the acceptable one. Deficient: `CHECK (account_status_code IN ('OPN','DOR','CLS'))`; the bank adds `BLK` for blocked accounts and rows are rejected until a release Acceptable: `ref_account_status` with code, label and validity dates, and a foreign key to it; `CHECK` lists only for value sets fixed by definition (an alethic rule, such as Y/N)"@en ;
    edu:assessmentMethod "skill-tests task: Loan application physical model on Snowflake (physical design anomaly skills)"@en ;
    edu:conformsToProfile <https://oppekava.edu.ee/a/Knobitite_kirjeldamise_ja_seostamise_reeglid#LCG-KNOBIT-0.1> ;
    edu:contextFunction <https://knobit.org/def/contextFunction/resultEvaluation> ;
    edu:creationMethod <https://knobit.org/def/creationMethod/aiGeneratedHumanEdited> ;
    edu:expectedResult "The list and the reference table to hold it"@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 "CHECK or enum value list"@en ;
    schema:creativeWorkStatus "accepted" ;
    schema:isPartOf register:data-modelling .

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

knobit:K-656 rdfs:label "Explains value sets held as reference data"@en .

