|
Size: 3673
Comment:
|
Size: 3642
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| === doms:ContentModel_DOMS === | == doms:ContentModel_DOMS == |
| Line 5: | Line 5: |
| The ONTOLOGY datastream. | The ONTOLOGY datastream. It says that all subscribing objects must have a "doms-relations:hasLicense" relation to a object of "doms:ContentModel_License". Also, it must have one or more "doms-relations:isPartOfCollection" relations to objects of "doms:ContentModel_Collection". |
| Line 51: | Line 52: |
| In humanreadable format it says that all subscribing objects must have a "doms-relations:hasLicense" relation to a object of "doms:ContentModel_License". Also, it must have one or more "doms-relations:isPartOfCollection" relations to objects of "doms:ContentModel_Collection". | |
| Line 84: | Line 84: |
doms:ContentModel_DOMS
ContentModel_DOMS is the root of the content model inheritance tree. All content models derive from this model. As all data objects in DOMS must have a content model, all data objects must adhere to the restrictions defined in this content model.
The ONTOLOGY datastream. It says that all subscribing objects must have a "doms-relations:hasLicense" relation to a object of "doms:ContentModel_License". Also, it must have one or more "doms-relations:isPartOfCollection" relations to objects of "doms:ContentModel_Collection".
<rdf:RDF
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xml:base="http://doms.statsbiblioteket.dk/relations/default/0/1/#">
<owl:Class rdf:about="info:fedora/doms:ContentModel_DOMS">
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="isPartOfCollection"/>
<owl:minCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</owl:minCardinality>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="isPartOfCollection"/>
<owl:allValuesFrom rdf:resource="info:fedora/doms:ContentModel_Collection"/>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="hasLicense"/>
<owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</owl:cardinality>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="hasLicense"/>
<owl:allValuesFrom rdf:resource="info:fedora/doms:ContentModel_License"/>
</owl:Restriction>
</rdfs:subClassOf>
</owl:Class>
<owl:ObjectProperty rdf:about="isPartOfCollection"/>
<owl:ObjectProperty rdf:about="hasLicense"/>
</rdf:RDF>DS-COMPOSITE datastream.
<dsCompositeModel
xmlns="info:fedora/fedora-system:def/dsCompositeModel#"
xmlns:schema="http://doms.statsbiblioteket.dk/types/dscompositeschema/0/1/#">
<dsTypeModel ID="DC">
<form MIME="text/xml"/>
<extensions name="DOMS">
<schema:schema type="xsd" datastream="DC_SCHEMA"/>
</extensions>
</dsTypeModel>
<dsTypeModel ID="POLICY">
<form MIME="text/xml"/>
</dsTypeModel>
<dsTypeModel ID="STATE">
<form MIME="text/xml"/>
<extensions name="DOMS">
<schema:schema type="xsd" datastream="STATE_SCHEMA"/>
</extensions>
</dsTypeModel>
<dsTypeModel ID="RELS-EXT"/>
</dsCompositeModel>In human readable format, this say that all subscribing objects must have the following datastreams "DC", "POLICY", "STATE" and "RELS-EXT". The "DC" stream must conform to the schema defined in the datastream "DC_SCHEMA", in "doms:ContentModel_DOMS". The "STATE" stream must conform to the schema in datastream "STATE_SCHEMA" in "doms:ContentModel_DOMS". To understand the use of the "STATE" datastream, see the FedoraTransactionsReplacement. The use of the "POLICY" stream is defined in FedoraLicensePolicies. The "AUDIT" stream is detailed in DomsAuditTrail.
The DC_SCHEMA stream is just an xml schema and looks like this -- REF to OAIDUBLINCORE XXXXX Regard this