@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-803 a edu:Knobit ;
    rdfs:label "Recognises an object in the SQL missing from the model"@en ;
    dcterms:identifier "K-803" ;
    dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
    dcterms:source "Review checklist 05-ddl, row 3; BCBS 239; this skill"@en ;
    skos:altLabel "Object in the SQL that is not in the model (generated DDL)"@en ;
    skos:definition "A table, view, index, sequence or trigger in `08-ddl/` with no counterpart in the model. It was added for one urgent reason and is now invisible to every later review, every other dialect and every new environment."@en ;
    skos:prefLabel "Recognises an object in the SQL missing from the model"@en ;
    edu:actionVerb "Recognises"@en ;
    edu:appliesKnowledge knobit:K-851,
        knobit:K-914 ;
    edu:assessmentCriterion "Flags the deficient case and passes the acceptable one. Deficient: `ix_fact_payment_value_date_key` created by hand on Postgres to rescue a month-end report; it is in no other target's output and in no model, and the next environment is built without it Acceptable: The index in the model's `indexes`, so it appears in every target's output — commented out where the engine has none (row 13) — and in the ERD"@en ;
    edu:assessmentMethod "skill-tests task: Generated DDL review, Postgres and Snowflake (DDL review skills)"@en ;
    edu:contextFunction <https://knobit.org/def/contextFunction/resultEvaluation> ;
    edu:creationMethod <https://knobit.org/def/creationMethod/aiGeneratedHumanEdited> ;
    edu:expectedResult "The object and its place in the model"@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 "table, view, index, sequence or trigger"@en ;
    schema:creativeWorkStatus "accepted" ;
    schema:isPartOf register:data-modelling .

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

knobit:K-851 rdfs:label "Explains generated artefacts and their single source of truth"@en .

knobit:K-914 rdfs:label "Explains forward and reverse engineering of data models"@en .

