@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:Q-211 a edu:Knobit ;
    rdfs:label "Recognises a uniqueness rule with no unique key behind it"@en ;
    dcterms:identifier "Q-211" ;
    dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
    dcterms:source "Review checklist 02-data-rules (data-quality), row 11; formerly data-modelling K-311"@en ;
    skos:altLabel "Uniqueness with nothing unique behind it (data rule)"@en ;
    skos:definition "A uniqueness rule marked as enforced, with no primary key or unique constraint covering those columns."@en ;
    skos:prefLabel "Recognises a uniqueness rule with no unique key behind it"@en ;
    edu:actionVerb "Recognises"@en ;
    edu:appliesKnowledge knobit:K-356,
        knobit:K-552 ;
    edu:assessmentCriterion "Flags the deficient case and passes the acceptable one. Deficient: `BR-2: no two accounts share an IBAN`, `enforcement: constraint`, and no `uk_` on that column Acceptable: A unique constraint on the natural key, or the rule reassigned to a DQ check with a threshold (`ANO-012`)"@en ;
    edu:assessmentMethod "skill-tests task: Loan application data rules (data rule anomaly skills)"@en ;
    edu:contextFunction <https://knobit.org/def/contextFunction/resultEvaluation> ;
    edu:creationMethod <https://knobit.org/def/creationMethod/aiGeneratedHumanEdited> ;
    edu:expectedResult "The rule and the missing primary key or unique constraint"@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 "uniqueness rule marked enforced"@en ;
    schema:creativeWorkStatus "accepted" ;
    schema:isPartOf register:data-quality .

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

knobit:K-356 rdfs:label "Explains rule enforcement mechanisms and platform enforcement"@en .

knobit:K-552 rdfs:label "Explains candidate key and prime attribute"@en .

