Warning:
This wiki has been archived and is now read-only.
OMM ToC Draft
Contents
Proposal: Table of Contents (ToC)
Mandatory Elements
The ToC is composed of records, which contain meta data from the OMM-blocks. Each record of the ToC contains the following mandatory elements:
- Title
- Date
- BlockId
- Namespace
Additional Elements
In addition to these mandatory elements the following elements will be used:
- Creator
- Format
- Type
- Subject
The account of these elements is defined in the section "Block Meta Data". A ToC-block is identified with the namespace http://www.w3.org/om/toc and contains the same meta data as ordinary OMM-Blocks (title, date, blockid, namespace, ...). The data of this blocks contains the ToC-records in XML-format (see ToC-example). To describe a virtual ToC the data section of the OMM-block remains empty and it is up to the application to create the ToC on the fly by reading and sorting the metadata of all OMM-blocks.
Example
<?xml version="1.0" encoding="utf-8" ?> - <toc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:om="http://www.w3.org/om/elements/1.0/"> - <om:element> <dc:title>SemProM core data</dc:title> <dc:date>2011-03-24</dc:date> <om:namespace>http://www.semprom.org/core/1.0/</om:namespace> <om:blockid>31</om:blockid> </om:element> - <om:element> <dc:title>SemProM identifiers</dc:title> <dc:date>2011-04-24</dc:date> <om:namespace>http://www.semprom.org/ids/1.0/</om:namespace> <om:blockid>567</om:blockid> </om:element> - <om:element> <dc:title>SemProM structure data</dc:title> <dc:date>2011-06-06</dc:date> <om:namespace>http://www.semprom.org/structure/1.0/</om:namespace> <om:blockid>328</om:blockid> <dc:format>application/octet-stream</dc:format> </om:element> - <om:element> <dc:title>Front view</dc:title> <dc:date>2011-06-13</dc:date> <om:namespace>http://www.w3.org/om/none/</om:namespace> <om:blockid>321</om:blockid> <dc:format>image/jpeg</dc:format> <dc:type>image</dc:type> </om:element> - <om:element> <dc:title>Back view</dc:title> <dc:date>2011-06-13</dc:date> <om:namespace>http://www.w3.org/om/none/</om:namespace> <om:blockid>312</om:blockid> <dc:format>image/gif</dc:format> <dc:type>image</dc:type> </om:element> - <om:element> <dc:title>Operating manual</dc:title> <dc:date>2011-06-14</dc:date> <om:namespace>http://www.w3.org/om/none/</om:namespace> <om:blockid>333</om:blockid> <dc:format>application/pdf</dc:format> <dc:creator>Siemens AG</dc:creator> </om:element> </toc>
See also additional example at meta data page.
Mapping to SemProM Metaformat Version 1.0
- Title is a new element
- Date can be mapped to the Creation-Date of the block
- BlockId can be mapped to the BlockId of the block
- Namespace can be mapped to the BlockType of the block
- Creator can be mapped to the Creation-Author of the block
- Format can be mapped to the ContentType of the block
- Type is a new element
- Subject can be mapped to the Meta Tags of the blocks
This approach allows a mapping from the SemProM Metaformat to the OMM-format but not necessarily vice versa.