Data Requirements

From SemWebQuality.org
(Difference between revisions)
Jump to: navigation, search
Line 5: Line 5:
 
![http://semwebquality.org/ontologies/dq-constraints# DQ-Constraint Lib] for [http://spinrdf.org SPIN]
 
![http://semwebquality.org/ontologies/dq-constraints# DQ-Constraint Lib] for [http://spinrdf.org SPIN]
 
|-
 
|-
|Mandatory Property and Literal Rules  
+
|'''Mandatory Property and Literal Rules'''
 
|Properties and their literals become  
 
|Properties and their literals become  
 
mandatory, if the data is required for the  
 
mandatory, if the data is required for the  
Line 17: Line 17:
 
[[dqc:FunctionalDependentEmptyValueAll]]
 
[[dqc:FunctionalDependentEmptyValueAll]]
 
|-
 
|-
|Syntactic Rules
+
|'''Syntactic Rules '''
 
|Syntactic rules define the type of  
 
|Syntactic rules define the type of  
 
characters and/or the pattern of literal  
 
characters and/or the pattern of literal  
Line 26: Line 26:
 
|[[dqc:SyntaxConstraints]]
 
|[[dqc:SyntaxConstraints]]
 
|-
 
|-
|Functional Dependency Rules  
+
|'''Functional Dependency Rules'''
 
|Functional dependencies are  
 
|Functional dependencies are  
 
dependencies between the values of two  
 
dependencies between the values of two  
Line 36: Line 36:
 
|[[dqc:FunctionalDependencyConstraints]]
 
|[[dqc:FunctionalDependencyConstraints]]
 
|-
 
|-
|Legal Value Rules   
+
|'''Legal Value Rules'''  
 
|Legal value rules are the explicit  
 
|Legal value rules are the explicit  
 
definition of the allowed values for a  
 
definition of the allowed values for a  
Line 45: Line 45:
 
|[[dqc:LegalValueConstraints]]
 
|[[dqc:LegalValueConstraints]]
 
|-
 
|-
|Legal Value Range Rules  
+
|'''Legal Value Range Rules'''
 
|Legal value range rules are the explicit  
 
|Legal value range rules are the explicit  
 
definition of the allowed value range for  
 
definition of the allowed value range for  
Line 56: Line 56:
 
|[[dqc:ValueRangeConstraints]]
 
|[[dqc:ValueRangeConstraints]]
 
|-
 
|-
|Illegal Value Rules   
+
|'''Illegal Value Rules'''  
 
|Illegal value rules are the explicit  
 
|Illegal value rules are the explicit  
 
definition of the values that may not be  
 
definition of the values that may not be  
Line 64: Line 64:
 
|[[dqc:LegalValueConstraints]]
 
|[[dqc:LegalValueConstraints]]
 
|-
 
|-
|Illegal Value Range Rules  
+
|'''Illegal Value Range Rules'''
 
|Illegal value range rules are the explicit  
 
|Illegal value range rules are the explicit  
 
definition of prohibited value ranges for  
 
definition of prohibited value ranges for  
Line 74: Line 74:
 
|[[dqc:ValueRangeConstraints]]  
 
|[[dqc:ValueRangeConstraints]]  
 
|-
 
|-
|Unique Value Rules
+
|'''Unique Value Rules'''
 
|Unique value rules define properties that  
 
|Unique value rules define properties that  
 
may contain each literal value not more  
 
may contain each literal value not more  
Line 84: Line 84:
 
|[[dqc:UniquenessConstraints]]
 
|[[dqc:UniquenessConstraints]]
 
|-
 
|-
|Outdated Value Rules
+
|'''Outdated Value Rules'''
 
|Outdated value rules are rules that  
 
|Outdated value rules are rules that  
 
identify instances that represent an  
 
identify instances that represent an  

Revision as of 19:05, 9 August 2011

Data Quality Rule Definition Example DQ-Constraint Lib for SPIN
Mandatory Property and Literal Rules Properties and their literals become

mandatory, if the data is required for the task at hand.

The properties indicating the

geographical coordinates must exist and have values for all instances of the class foo:Location to be able to navigate to each location.

dqc:MissingElementConstraints

dqc:FunctionalDependentEmptyValueAll

Syntactic Rules Syntactic rules define the type of

characters and/or the pattern of literal values.

Literal values for the property

foo:country-name must only contain letters.

dqc:SyntaxConstraints
Functional Dependency Rules Functional dependencies are

dependencies between the values of two or more different properties.

The literal value for foo:city is

always dependent to the literal value for foo:country, since certain city names only exist in certain countries.

dqc:FunctionalDependencyConstraints
Legal Value Rules Legal value rules are the explicit

definition of the allowed values for a certain property.

The property foo:gender must only

contain the values “male”, “female”, “m”, or “f”.

dqc:LegalValueConstraints
Legal Value Range Rules Legal value range rules are the explicit

definition of the allowed value range for properties holding numerical values. A value range contains an upper and/or lower limit.

The property foo:population

must only contain values greater than zero.

dqc:ValueRangeConstraints
Illegal Value Rules Illegal value rules are the explicit

definition of the values that may not be assigned to a certain property.

The property foo:gender may never

contain the value “mail”.

dqc:LegalValueConstraints
Illegal Value Range Rules Illegal value range rules are the explicit

definition of prohibited value ranges for properties holding numerical values. A value range contains an upper and/or lower limit.

The property foo:population

must not contain values less than one.

dqc:ValueRangeConstraints
Unique Value Rules Unique value rules define properties that

may contain each literal value not more than once within a defined collection of values.

Each value for property foo:ISBN in

instances of class foo:Book may not occur more than once.

dqc:UniquenessConstraints
Outdated Value Rules Outdated value rules are rules that

identify instances that represent an outdated state of the corresponding real world entity.

Instances of the class foo:Offer are

outdated, if its value for foo:validThrough is elder than the current date and time.

Not covered yet
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox