@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-611 a edu:Knobit ;
    rdfs:label "Recognises a surrogate value with meaning, reused or renumbered"@en ;
    dcterms:identifier "K-611" ;
    dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
    dcterms:source "Review checklist 04-physical, row 11; Codd 1979 §4; Karwin, Pseudokey Neat-Freak; S&W 6.3"@en ;
    skos:altLabel "Surrogate value with meaning, reused or renumbered (physical model)"@en ;
    skos:definition "A surrogate key whose value is shown to people, built from business data, reused after a delete, or renumbered to close gaps. Every reference held outside the table, in a file, a report or a letter, then points at the wrong row. Codd's surrogates are never shown to users and never controlled by them. A specific form of logical row 17."@en ;
    skos:prefLabel "Recognises a surrogate value with meaning, reused or renumbered"@en ;
    edu:actionVerb "Recognises"@en ;
    edu:appliesKnowledge knobit:K-160,
        knobit:K-568 ;
    edu:assessmentCriterion "Flags the deficient case and passes the acceptable one. Deficient: `account_id` printed on customer letters and renumbered after a purge; `loan_key` built as date plus sequence Acceptable: Identity or sequence values never reused, never displayed and with gaps accepted; the number customers see is a separate natural-key column with its own unique constraint"@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:dependsOnKnobit knobit:K-517 ;
    edu:expectedResult "The surrogate and where its value escapes"@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 "exposed or recycled surrogate value"@en ;
    schema:creativeWorkStatus "accepted" ;
    schema:isPartOf register:data-modelling .

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

knobit:K-160 rdfs:label "Explains persistent identifiers"@en .

knobit:K-517 rdfs:label "Recognises an unstable or meaningful primary key"@en .

knobit:K-568 rdfs:label "Explains natural keys, surrogate keys and key stability"@en .

