Include Page |
---|
| _newreleaseFedoraRepository |
---|
| _newreleaseFedoraRepository |
---|
|
Triples in the Resource Index
Section |
---|
Column |
---|
| The resource index stores system and user-controlled metadata about each object in the repository in the form of RDF triples. The number and type of triples stored depends on the content of the object. This document describes the triples that may exist in the resource index for a given object. The color of each row indicates how many of each kind of RDF triple can be expected. See the key on the right. |
Column |
---|
| HTML Table |
---|
border | 1 |
---|
rules | all |
---|
align | center |
---|
| Table Row (tr) |
---|
Table Cell (td) |
---|
bgcolor | #c0c0c0 |
---|
align | center |
---|
| Cardinality Key |
|
Table Row (tr) |
---|
Table Cell (td) |
---|
bgcolor | #ffff00 |
---|
align | center |
---|
| Zero or more |
|
Table Row (tr) |
---|
Table Cell (td) |
---|
bgcolor | #87CEFA |
---|
align | center |
---|
| Zero or one |
|
Table Row (tr) |
---|
Table Cell (td) |
---|
bgcolor | #90EE90 |
---|
align | center |
---|
| Exactly one |
|
Table Row (tr) |
---|
Table Cell (td) |
---|
bgcolor | #FFCC99 |
---|
align | center |
---|
| One or more |
|
|
|
|
Namespaces Used
For brevity, the URIs used in this document are shown in abbreviated form. To determine the unabbreviated form of any such URI, replace the Prefix with the associated Namespace URI below.
HTML Table |
---|
border | 1 |
---|
cellpadding | 4 |
---|
cellspacing | 1 |
---|
rules | all |
---|
|
Table Row (tr) |
---|
bgcolor | #c0c0c0 |
---|
align | center |
---|
| Table Cell (td) |
---|
Namespace URI |
|
|
Wiki Markup |
---|
{include:_newreleaseFedoraRepository}
h2. Triples in the Resource Index
{section}
{column:width=80%}The resource index stores system and user-controlled metadata about each object in the repository in the form of RDF triples. The number and type of triples stored depends on the content of the object. This document describes the triples that may exist in the resource index for a given object. The color of each row indicates how many of each kind of RDF triple can be expected. See the key on the right.
{column}
{column:width=20%}
{table:border=1|align=center|rules=all}
{tr}
{td:bgcolor=#c0c0c0|align=center}{*}Cardinality Key{*}{td}
{tr}{tr}
{td:bgcolor=#ffff00|align=center}Zero or more{td}
{tr}{tr}
{td:bgcolor=#87CEFA|align=center}Zero or one{td}
{tr}{tr}
{td:bgcolor=#90EE90|align=center}Exactly one{td}
{tr}{tr}
{td:bgcolor=#FFCC99|align=center}One or more{td}
{tr}
{table}
{column}
{section}
h2. Namespaces Used
For brevity, the URIs used in this document are shown in abbreviated form. To determine the unabbreviated form of any such URI, replace the *Prefix* with the associated *Namespace URI* below.
{table:border=1|cellspacing=1|cellpadding=4|rules=all}
{tr:align=center|bgcolor=#c0c0c0}
{td}{*}Prefix{*}{td}{td}{*}Namespace URI{*}{td}
{tr}{tr}
{td}dc:{td}{td}{nl}[]{nl}{td}
{tr}{tr}
{td} Table Row (tr) |
---|
Table Cell (td) |
---|
fedora-model: |
| {td}{td}{nl} Table Cell (td) |
---|
info:fedora/fedora-system:def/model# |
| {nl}{td}
{tr}{tr}
{td} Table Row (tr) |
---|
Table Cell (td) |
---|
fedora-view: |
| {td}{td}{nl} Table Cell (td) |
---|
info:fedora/fedora-system:def/view# |
| {nl}{td}
{tr}{tr}
{td}rdf:{td}{td}{nl}[]{nl}{td}
{tr}
{table}
h2. Breakdown
h4. Base Triples
The following triples will exist for any object, irrespective of its Datastream content.
{table:border=1|cellspacing=1|cellpadding=4|rules=all}
{tr:align=center|bgcolor=#c0c0c0}
{td}{*}Subject{*}{td}{td}{*}Predicate{*}{td}{td}{*}Object{*}{td}{td}{*}Cardinality{*}{td}
{tr}{tr:bgcolor=#90EE90}
{td:valign=top}info:fedora/$PID{td}{td}fedora-model:createdDate{td}{td}(date created in UTC){td}{td}Exactly One{td}
{tr}{tr:bgcolor=#90EE90}
{td:valign=top}info:fedora/$PID{td}{td:valign=top}fedora-view:lastModifiedDate{td}{td:valign=top}(date modified in UTC){td}{td:valign=top}Exactly One{td}
{tr}{tr:bgcolor=#90EE90}
{td:valign=top}info:fedora/$PID{td}{td:valign=top}fedora-model:state{td}{td:valign=top}fedora-model:Active
\\
fedora-model:Inactive
\\
fedora-model:Deleted{td}{td:valign=top}Exactly One{td}
{tr}{tr:bgcolor=#90EE90}
{td:valign=top}info:fedora/$PID{td}{td:valign=top}fedora-model:owner{td}{td:valign=top}(not used){td}{td:valign=top}Exactly One{td}
{tr}{tr:bgcolor=#90EE90}
{td:valign=top}info:fedora/$PID{td}{td:valign=top}fedora-model:label{td}{td:valign=top}(any string){td}{td:valign=top}Exactly One{td}
{tr}
{table}
h4. Dublin Core Triples
Every object in Fedora has a Dublin Core _("DC")_ Datastream. The following triples are derived from its content, which may consist of any number of each of the 15 unqualified Dublin Core elements. If unprovided at ingest, the DC Datastream will be automatically created with minimal information (a _dc:title_ and a _dc:identifier_).
{table:border=1|cellspacing=1|cellpadding=4|rules=all}
{tr:align=center|bgcolor=#c0c0c0}
{td}{*}Subject{*}{td}{td}{*}Predicate{*}{td}{td}{*}Object{*}{td}{td}{*}Cardinality{*}{td}
{tr}{tr:bgcolor=#FFCC99}
{td}info:fedora/$PID{td}{td}dc:title{td}{td}(any string){td}{td}One or More{td}
{tr}{tr:bgcolor=#FFCC99}
{td}info:fedora/$PID{td}{td}dc:identifier{td}{td}(any string){td}{td}One or More{td}
{tr}{tr:bgcolor=#ffff00}
{td}info:fedora/$PID{td}{td}(any other dc predicate){td}{td}(any string){td}{td}Zero or More{td}
{tr}
{table}
h4. RELS-EXT and RELS-INT Triples
{table:border=1|cellspacing=1|cellpadding=4|rules=all}
{tr:align=center|bgcolor=#c0c0c0}
{td}{*}Subject{*}{td}{td}{*}Predicate{*}{td}{td}{*}Object{*}{td}{td}{*}Cardinality{*}{td}
{tr}{tr:bgcolor=#ffff00}
{td}info:fedora/$PID{td}{td}(any non-reserved predicate){td}{td}(any URI or literal){td}{td}Zero or More{td}
{tr}
{table}
h4. Content Model Architecture Triples
Note: If not explicitly provided the Fedora Repository will assume there is a {{fedora-model:hasModel}} relation asserted from a Data Object to a system-supplied base CModel Object satisfying the cardinality constraint. This relation should be explicitly stated in the REL-EXT Datastream as a recommended practice. Also note that, while CModel, SDef, and SDep objects may be created without asserting their respective relations, they will not perform their functions without them.
Note: In Fedora 3.0, though permitted, it is not recommended that one SDep object be used to deploy a service for more than one CModel-SDef pair. Future versions of Fedora are likely to provide better support for this configuration.
{table:border=1|cellspacing=1|cellpadding=4|rules=all}
{tr:align=center|bgcolor=#c0c0c0}
{td}{*}Subject{*}{td}{td}{*}Predicate{*}{td}{td}{*}Object{*}{td}{td}{*}Cardinality{*}{td}
{tr}{tr:bgcolor=#FFCC99}
{td}info:fedora/$PID{td}{td}fedora-model:hasModel{td}{td}info:fedora/$CMODEL_PID{td}{td}One or More{td}
{tr}{tr:bgcolor=#ffff00}
{td}info:fedora/$CMODEL_PID{td}{td}fedora-model:hasService{td}{td}info:fedora/$SDEF_PID{td}{td}Zero or More{td}
{tr}{tr:bgcolor=#ffff00}
{td}info:fedora/$SDEP_PID{td}{td}fedora-model:isDeploymentOf{td}{td}info:fedora/$SDEF_PID{td}{td}Zero or More{td}
{tr}{tr:bgcolor=#ffff00}
{td}info:fedora/$SDEP_PID{td}{td}fedora-model:isContractorOf{td}{td}info:fedora/$CMODEL_PID{td}{td}Zero or More{td}
{tr}
{table}
h4. Datastream Triples
{table:border=1|cellspacing=1|cellpadding=4|rules=all}
{tr:align=center|bgcolor=#c0c0c0}
{td}{*}Subject{*}{td}{td}{*}Predicate{*}{td}{td}{*}Object{*}{td}{td}{*}Cardinality{*}{td}
{tr}{tr:bgcolor=#90EE90}
{td:valign=top}info:fedora/$PID{td}{td:valign=top}fedora-view:disseminates{td}{td:valign=top}info:fedora/$PID/$DSID{td}{td:valign=top}Exactly One{td}
{tr}{tr:bgcolor=#90EE90}
{td:valign=top}info:fedora/$PID/$DSID{td}{td:valign=top}fedora-view:disseminationType{td}{td:valign=top}info:fedora/*/$DSID{td}{td:valign=top}Exactly One{td}
{tr}{tr:bgcolor=#90EE90}
{td:valign=top}info:fedora/$PID/$DSID{td}{td:valign=top}fedora-view:mimeType{td}{td:valign=top}(any mime type string){td}{td:valign=top}Exactly One{td}
{tr}{tr:bgcolor=#90EE90}
{td:valign=top}info:fedora/$PID/$DSID{td}{td:valign=top}fedora-view:lastModifiedDate{td}{td:valign=top}(date modified in UTC){td}{td:valign=top}Exactly One{td}
{tr}{tr:bgcolor=#90EE90}
{td:valign=top}info:fedora/$PID/$DSID{td}{td:valign=top}fedora-model:state{td}{td:valign=top}fedora-model:Active
\\
fedora-model:Inactive
\\
fedora-model:Deleted{td}{td:valign=top}Exactly One{td}
{tr}{tr:bgcolor=#90EE90}
{td:valign=top}info:fedora/$PID/$DSID{td}{td:valign=top}fedora-view:isVolatile{td}{td:valign=top}(true if R or E, false if M or X){td}{td:valign=top}Exactly One{td}
{tr}
{table}
h2. *Calculating Triples/Object*
You can use the following table to estimate the number of triples for each kind of object in your Fedora repository.
{table:border=1|cellspacing=1|cellpadding=4|rules=all}
{tr:align=center|bgcolor=#c0c0c0}
{td}{*}Calculation Method{*}{td}{td}*\# Triples{*}{td}
{tr}{tr:bgcolor=#ffffff}
{td}
Every object automatically gets the following triples:
* Base: *6*
* Dublin Core (dc:title and dc:identifier): *2*
* Content Model Architecture (fedora-model:hasContentModel): *1*
* Datastream Triples (for DC): *6*
{td}{td:align=center}{*}15{*}{td}
{tr}{tr:bgcolor=#ffffff}
{td}If the DC datastream has any elements besides the standard dc:title and dc:identifier, *add 1* for each additional element.{td}{td}
{td}
{tr}{tr:bgcolor=#ffffff}
{td}If the object has a RELS-EXT and/or a RELS-INT datastream, *add 7*, then *add 1* for each statement asserted therein (except fedora-model:hasContentModel which has been counted above).{td}{td}
{td}
{tr}{tr:bgcolor=#ffffff}
{td}For each additional datastream, *add 7*.{td}{td}
{td}
{tr}
{table}
{include:_FC Wiki Copyright} |
Breakdown
Base Triples
The following triples will exist for any object, irrespective of its Datastream content.
HTML Table |
---|
border | 1 |
---|
cellpadding | 4 |
---|
cellspacing | 1 |
---|
rules | all |
---|
|
Table Row (tr) |
---|
bgcolor | #c0c0c0 |
---|
align | center |
---|
| Table Cell (td) |
---|
Cardinality |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
| info:fedora/$PID |
Table Cell (td) |
---|
fedora-model:createdDate |
Table Cell (td) |
---|
(date created in UTC) |
Table Cell (td) |
---|
Exactly One |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
| info:fedora/$PID |
Table Cell (td) |
---|
| fedora-view:lastModifiedDate |
Table Cell (td) |
---|
| (date modified in UTC) |
Table Cell (td) |
---|
| Exactly One |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
| info:fedora/$PID |
Table Cell (td) |
---|
| fedora-model:state |
Table Cell (td) |
---|
| fedora-model:Active fedora-model:Inactive fedora-model:Deleted |
Table Cell (td) |
---|
| Exactly One |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
| info:fedora/$PID |
Table Cell (td) |
---|
| fedora-model:owner |
Table Cell (td) |
---|
| (not used) |
Table Cell (td) |
---|
| Exactly One |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
| info:fedora/$PID |
Table Cell (td) |
---|
| fedora-model:label |
Table Cell (td) |
---|
| (any string) |
Table Cell (td) |
---|
| Exactly One |
|
|
Dublin Core Triples
Every object in Fedora has a Dublin Core ("DC") Datastream. The following triples are derived from its content, which may consist of any number of each of the 15 unqualified Dublin Core elements. If unprovided at ingest, the DC Datastream will be automatically created with minimal information (a dc:title and a dc:identifier).
HTML Table |
---|
border | 1 |
---|
cellpadding | 4 |
---|
cellspacing | 1 |
---|
rules | all |
---|
|
Table Row (tr) |
---|
bgcolor | #c0c0c0 |
---|
align | center |
---|
| Table Cell (td) |
---|
Cardinality |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
info:fedora/$PID |
Table Cell (td) |
---|
(any string) |
Table Cell (td) |
---|
One or More |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
info:fedora/$PID |
Table Cell (td) |
---|
dc:identifier |
Table Cell (td) |
---|
(any string) |
Table Cell (td) |
---|
One or More |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
info:fedora/$PID |
Table Cell (td) |
---|
(any other dc predicate) |
Table Cell (td) |
---|
(any string) |
Table Cell (td) |
---|
Zero or More |
|
|
RELS-EXT and RELS-INT Triples
HTML Table |
---|
border | 1 |
---|
cellpadding | 4 |
---|
cellspacing | 1 |
---|
rules | all |
---|
|
Table Row (tr) |
---|
bgcolor | #c0c0c0 |
---|
align | center |
---|
| Table Cell (td) |
---|
Cardinality |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
info:fedora/$PID |
Table Cell (td) |
---|
(any non-reserved predicate) |
Table Cell (td) |
---|
(any URI or literal) |
Table Cell (td) |
---|
Zero or More |
|
|
Content Model Architecture Triples
Note: If not explicitly provided the Fedora Repository will assume there is a fedora-model:hasModel
relation asserted from a Data Object to a system-supplied base CModel Object satisfying the cardinality constraint. This relation should be explicitly stated in the REL-EXT Datastream as a recommended practice. Also note that, while CModel, SDef, and SDep objects may be created without asserting their respective relations, they will not perform their functions without them.
Note: In Fedora 3.0, though permitted, it is not recommended that one SDep object be used to deploy a service for more than one CModel-SDef pair. Future versions of Fedora are likely to provide better support for this configuration.
HTML Table |
---|
border | 1 |
---|
cellpadding | 4 |
---|
cellspacing | 1 |
---|
rules | all |
---|
|
Table Row (tr) |
---|
bgcolor | #c0c0c0 |
---|
align | center |
---|
| Table Cell (td) |
---|
Cardinality |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
info:fedora/$PID |
Table Cell (td) |
---|
fedora-model:hasModel |
Table Cell (td) |
---|
info:fedora/$CMODEL_PID |
Table Cell (td) |
---|
One or More |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
info:fedora/$CMODEL_PID |
Table Cell (td) |
---|
fedora-model:hasService |
Table Cell (td) |
---|
info:fedora/$SDEF_PID |
Table Cell (td) |
---|
Zero or More |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
info:fedora/$SDEP_PID |
Table Cell (td) |
---|
fedora-model:isDeploymentOf |
Table Cell (td) |
---|
info:fedora/$SDEF_PID |
Table Cell (td) |
---|
Zero or More |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
info:fedora/$SDEP_PID |
Table Cell (td) |
---|
fedora-model:isContractorOf |
Table Cell (td) |
---|
info:fedora/$CMODEL_PID |
Table Cell (td) |
---|
Zero or More |
|
|
Datastream Triples
HTML Table |
---|
border | 1 |
---|
cellpadding | 4 |
---|
cellspacing | 1 |
---|
rules | all |
---|
|
Table Row (tr) |
---|
bgcolor | #c0c0c0 |
---|
align | center |
---|
| Table Cell (td) |
---|
Cardinality |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
| info:fedora/$PID |
Table Cell (td) |
---|
| fedora-view:disseminates |
Table Cell (td) |
---|
| info:fedora/$PID/$DSID |
Table Cell (td) |
---|
| Exactly One |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
| info:fedora/$PID/$DSID |
Table Cell (td) |
---|
| fedora-view:disseminationType |
Table Cell (td) |
---|
| info:fedora/*/$DSID |
Table Cell (td) |
---|
| Exactly One |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
| info:fedora/$PID/$DSID |
Table Cell (td) |
---|
| fedora-view:mimeType |
Table Cell (td) |
---|
| (any mime type string) |
Table Cell (td) |
---|
| Exactly One |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
| info:fedora/$PID/$DSID |
Table Cell (td) |
---|
| fedora-view:lastModifiedDate |
Table Cell (td) |
---|
| (date modified in UTC) |
Table Cell (td) |
---|
| Exactly One |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
| info:fedora/$PID/$DSID |
Table Cell (td) |
---|
| fedora-model:state |
Table Cell (td) |
---|
| fedora-model:Active fedora-model:Inactive fedora-model:Deleted |
Table Cell (td) |
---|
| Exactly One |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
| info:fedora/$PID/$DSID |
Table Cell (td) |
---|
| fedora-view:isVolatile |
Table Cell (td) |
---|
| (true if R or E, false if M or X) |
Table Cell (td) |
---|
| Exactly One |
|
|
Calculating Triples/Object
You can use the following table to estimate the number of triples for each kind of object in your Fedora repository.
HTML Table |
---|
border | 1 |
---|
cellpadding | 4 |
---|
cellspacing | 1 |
---|
rules | all |
---|
|
Table Row (tr) |
---|
bgcolor | #c0c0c0 |
---|
align | center |
---|
| Table Cell (td) |
---|
Calculation Method |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Every object automatically gets the following triples: - Base: 6
- Dublin Core (dc:title and dc:identifier): 2
- Content Model Architecture (fedora-model:hasContentModel): 1
- Datastream Triples (for DC): 6
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
If the DC datastream has any elements besides the standard dc:title and dc:identifier, add 1 for each additional element. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
If the object has a RELS-EXT and/or a RELS-INT datastream, add 7, then add 1 for each statement asserted therein (except fedora-model:hasContentModel which has been counted above). |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
For each additional datastream, add 7. |
|
|
Include Page |
---|
| _FC Wiki Copyright |
---|
| _FC Wiki Copyright |
---|
|