domain_model
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
domain_model [2011/02/02 17:03] – kai | domain_model [2011/03/29 22:50] (current) – [RDF Implementation] michael | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Domain Model ====== | ====== Domain Model ====== | ||
- | Final first draft version, | + | This page contains the description and documentation of the domain model that is proposed by the DC-Provenance task group. It is not yet finalized and currently regarded as work in progress. See the revision history of this page for earlier drafts. The group members |
+ | |||
+ | The main part of the current model is the definition of the classes and their relations, as illustrated in the following UML class diagram: | ||
{{domain-model-classes3.png|}} | {{domain-model-classes3.png|}} | ||
- | Namespaces: | + | The proposed model extends the [[http:// |
- | * dcam ([[http:// | + | |
- | * dcprov | + | |
- | Classes: | + | |
- | | + | * Description (from [[http:// |
- | * Description (from [[http:// | + | |
* Statement (from [[http:// | * Statement (from [[http:// | ||
- | * Annotation: One or more statements | + | * Annotation: One or more -> Statements |
- | * Annotation Set: A set of one or more annotations. | + | * Annotation Set: A set of one or more -> Annotations. Subclass of -> Description Set. |
- | The domain model shown in the diagram | + | The DC-PROV |
+ | - how the new Annotation entity (i.e., the entity comprising metadata provenance information) relates | ||
+ | - how an Annotation is associated with the metadata it provides information about. | ||
- | The first row reiterates the entities of the DCAM. The second row of the domain model contains | + | At this point, |
+ | ===== What is a metadata provenance annotation? ===== | ||
- | ====== Issues | + | As stated in the UML diagram, Annotation |
- | * Superclass | + | |
+ | This means that every Annotation Set is also a Description Set in the sense of the DCAM, and can be treated as such. So why not just stick with the DCAM entities? | ||
- | ====== Earlier versions for illustrative purposes (now obsolete) ====== | + | The motivation of deriving subclasses in the first place was that the main rationale of an annotation is to provide information about a Description Set, i.e., about // |
- | Version based on telco of Dec 22th: | + | Also, the Annotations created in the context |
- | {{https:// | + | ===== What does a metadata provenance annotation describe? ===== |
- | Source files ([[http:// | + | Annotations are associated only with Description Sets. Description Sets contain one or more descriptions. The relationship between Annotations and Description Sets (the " |
- | * https://dl.dropbox.com/ | + | |
+ | The " | ||
+ | The cardinality of 1 on the side of the Description Set indicates that an Annotation must only be related to a single Description Set. The same Annotation cannot be associated with more than one Description Set for two reasons; firstly, to be compliant with the DCAM definition of Description (" | ||
- | Version based on the telco of Dec 15th: | + | Annotations are aggregated in Annotation Sets, just as Descriptions are generally aggregated in Description Sets. The main difference between these lies, once more, in cardinality. Whereas |
- | {{https:// | + | The rationale for this cardinality constraint is mainly to enable basic discoverability of Annotations. Since (1) a variety of relationships are used for annotating description sets, and (2) not all entities associates in that manner with a Description Set may be metadata provenance related, the Annotation Set provides a general means of retrieving metadata provenance information. |
- | {{https:// | + | |
+ | In addition, this constraint ensures that Annotations can be further annotated by associating higher-level Annotations with a lower-level Annotation Set. | ||
- | Source files ([[http:// | + | @@The first row reiterates the entities of the DCAM. The second row of the domain model contains the new classes required by the metadata provenance application profile, which in itself are specifications of their corresponding DCAM counterparts. |
- | * https:// | + | |
- | * https:// | + | |
- | ---- | + | ===== What is the third level? ===== |
+ | Because an Annotation Set is a Description Set, an Annotation Set can itself be annotated by means of a further Annotation Set, i.e. we can capture provenance information for Annotation Sets as well. The model is able to handle an arbitrary number of meta-levels. | ||
- | Previous drafts: | + | ===== Vocabulary for the Annotations ===== |
+ | It has to be distinguished between the vocabulary that is introduced by the Domain Model (dcprov: namespace) and the vocabulary that is used to create the actual annotations. In the latter case, the common Dublin Core Vocabulary (dcterms) is used to state provenance information like creator, creation date, sources, contributors, | ||
- | {{https:// | + | The model for sure allows the use of arbitrary vocabularies as annotations and the mix of Dublin Core and other Vocabularies is perfectly ok, in the same way as it is common practice in usual application profiles. |
+ | ====== RDF Implementation ====== | ||
- | Source files ([[http:// | + | The abstract |
- | * https:// | + | |
- | * https:// | + | |
- | A comparison | + | # Named graph: http:// |
+ | @prefix dct: < | ||
+ | @prefix dctype: < | ||
+ | |||
+ | :MonaLisa dct:format dctype: | ||
+ | dct:creator : | ||
+ | |||
+ | # Named graph: http:// | ||
+ | @prefix dct: < | ||
+ | |||
+ | < | ||
+ | dct:creator :BnF . | ||
+ | |||
+ | < | ||
+ | |||
+ | These triples describe two separate RDF graphs. | ||
+ | |||
+ | {{:rdf-model.png|}} | ||
+ | |||
+ | The following table shows how some of the RDF resources map to their corresponding UML classes of the domain model. | ||
+ | |||
+ | ^ RDF ^ UML ^ | ||
+ | | :MonaLisa dct:creator : | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | |||
+ | Our example consists of two statements about the resource '': | ||
+ | |||
+ | Statements that are part of this graph are considered annotations, | ||
+ | ====== Issues and further Ideas ====== | ||
+ | * Superclass of Description Set necessary? Domain/ | ||
- | {{: | ||
domain_model.1296662639.txt.gz · Last modified: 2011/02/02 17:03 by kai