knobit.org

Recognises nulls left to chance in a check predicate

edu:Knobit

https://knobit.org/id/knobit/Q-314

Also as Turtle · JSON-LD · RDF/XML · AI benchmark on Skilirium

Context functionsResult evaluation
Knobit creation methodsAI generated, human edited
Knobit typesSkill
LCG purposesAssessing the learner's knowledge or skill state
LCG purposesSelecting an assessment task or learning activity
action verbRecognises en
applies knowledgeExplains null semantics and three-valued logic
assessment criterionFlags the deficient case and passes the acceptable one. Deficient: Copied from the CHECK: `interest_rate_type_code IN ('FIX','VAR')` on an optional column — every current account with no rate type fails. Or `WHERE account_currency_code NOT IN (SELECT currency_code FROM ref_currency)` with one null code in the reference table: no violation ever found Acceptable: `interest_rate_type_code IS NULL OR interest_rate_type_code IN (...)` where null is allowed, and a separate completeness check where it is not; `NOT EXISTS` instead of `NOT IN` en
assessment methodskill-tests task: Loan application data quality rules on Snowflake (DQ rule anomaly skills) en
conforms to profilehttps://oppekava.edu.ee/a/Knobitite_kirjeldamise_ja_seostamise_reeglid#LCG-KNOBIT-0.1
dcterms:identifierQ-314
dcterms:licensehttps://creativecommons.org/licenses/by/4.0/
dcterms:sourceReview checklist 03-dq-rules (data-quality), row 14; ISO 9075; Codd 1979; formerly data-modelling K-714 en
expected resultThe predicate and the explicit null decision en
owl:sameAshttps://bitbucket.org/reffa/ontology/id/knobit/data-modelling/07-dq-rules/14
rdfs:labelRecognises nulls left to chance in a check predicate en
schema:creativeWorkStatusaccepted
schema:isPartOfData quality management (DAMA-DMBOK2)
skos:altLabelNulls treated by accident (data quality rule) en
skos:definitionA predicate that evaluates to `UNKNOWN` for nulls, where nobody decided whether a null passes. A `CHECK` passes `UNKNOWN`; a DQ row predicate fails it; a violation query written as `WHERE NOT (expr)` silently drops it. And `NOT IN` against a subquery that returns a null matches nothing. en
skos:prefLabelRecognises nulls left to chance in a check predicate en
target objectpredicate evaluating to UNKNOWN en

Used by

includes knobitDerives data quality rules from the data rules and the physical model
includes knobitDevelop and deploy data quality operations: manage data quality rules
requires knobitDerive data quality rules