Warning:
This wiki has been archived and is now read-only.

User:Rcygania2/Normalization Requirement

From RDF Data Shapes Working Group
Jump to: navigation, search

This is a proposed requirement for SHACL.

The requirement is that certain constraint violations should not trigger an error or other kind of validation failure, but rather should trigger some sort of rule that fixes up the data, perhaps along with a warning or notice.

Use cases

  • schema.org accepts text where Person or Organization is expected. Normalisation would stick the text into a name property on an anonymous resource.
  • The stronger version of requirement “Property Default Value
  • Coercing properties to a datatype, e.g., replace "true" => "true"^^xsd:boolean
  • Rules, such as “infer full name property from first name property and last name property”