@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-610 a edu:Knobit ;
    rdfs:label "Recognises a surrogate key without natural-key uniqueness"@en ;
    dcterms:identifier "K-610" ;
    dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
    dcterms:source "Review checklist 04-physical, row 10; Karwin, ID Required; S&W 6.3; Codd 1979 §4"@en ;
    skos:altLabel "Surrogate key without natural-key uniqueness (physical model)"@en ;
    skos:definition "A system-generated primary key added and the natural key not made a unique constraint. Nothing then stops the same thing being recorded twice. The physical form of logical row 18."@en ;
    skos:prefLabel "Recognises a surrogate key without natural-key uniqueness"@en ;
    edu:actionVerb "Recognises"@en ;
    edu:appliesKnowledge knobit:K-568 ;
    edu:assessmentCriterion "Flags the deficient case and passes the acceptable one. Deficient: `party` with `party_id` as identity primary key and `registry_code` with no unique constraint; a reload registers every company again Acceptable: `uk_party_registry_code` (with the identifier type, where the logical model has one); `PHY-020` adds the surrogate, the unique constraint is added by hand (`ANO-012` when a uniqueness rule claims schema enforcement, `PHY-016` for type-2 dimensions)"@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-518 ;
    edu:expectedResult "The natural key to make unique"@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 "surrogate primary key"@en ;
    schema:creativeWorkStatus "accepted" ;
    schema:isPartOf register:data-modelling .

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

knobit:K-518 rdfs:label "Recognises an entity identified only by a system-assigned key"@en .

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

