Changes between Version 4 and Version 5 of CMDI 1.2/Cues/Derived values
- Timestamp:
- 12/02/13 14:40:29 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CMDI 1.2/Cues/Derived values
v4 v5 9 9 Most metadata needs to be created manually but in some cases parts of it can be derived: either from the described resource (e.g. a lot of technical metadata: file size, encoding, bit rate, ...) or from other metadata values (e.g. language code -> language name), sometimes in combination with external data (age can be derived from the combination of date of birth (metadata) and the current date (external information)). 10 10 11 The actual derivation of values has to be carried out by the tool (i.e. the editor), obviously, but the logic will be largely profile or component specific. Therefore a unified method of specifying relations between metadata fields and resources, other metadata fields or 'environmental' values is needed, not unlike the display rules described in [[CMDI 1.2/Cues/Display information|Extended display information]]. An obvious way of representing these rules would be by means of something ''like'' RDF triples to indicate that the value of (element/resource/...) X provides a value for element Y if transformed in way T. The editor would then interpret these rules and apply them where applicable. 11 The actual derivation of values has to be carried out by the tool (i.e. the editor), obviously, but the logic will be largely profile or component specific. Therefore a unified method of specifying relations between metadata fields and resources, other metadata fields or 'environmental' values is needed, not unlike the display rules proposed for [[CMDI 1.2/Cues/Display information|extended display information]]. 12 An obvious way of representing these rules would be by means of something ''like'' RDF triples to indicate that the value of (element/resource/...) X provides a value for element Y if transformed in way T. The editor would then interpret these rules and apply them where applicable. 12 13 13 14 Examples of rules that might be supported: 14 15 * !CreationDate gets populated with the current date (format yyyy-mm-dd) 15 16 * !FileSize gets populated with the file size in bytes of the referenced resource 16 * !LanguageName gets filled in based on the value of LanguageCode and an external lookup table17 * The value of Actor.Age becomes the difference between the current data and the value of Actor. DateOfBirth in years (floored)17 * !LanguageName gets filled in based on the value of !LanguageCode and an external lookup table 18 * The value of Actor.Age becomes the difference between the current data and the value of Actor.!DateOfBirth in years (floored) 18 19 * .... 19 20 These examples illustrate the possibilities but also the potential complexity of such a rule based system.