Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

An RDF Metadata Model for OpenDocument Format 1.2

3,588 views

Published on

Published in: Technology, Education
  • Be the first to comment

An RDF Metadata Model for OpenDocument Format 1.2

  1. 1. A RDF Metadata Model for OpenDocument Format 1.2 <ul><li>Svante Schubert </li></ul><ul><ul><li>Software Engineer </li></ul></ul><ul><ul><ul><li>Sun Microsystems Inc. </li></ul></ul></ul>
  2. 2. About the Speaker <ul><li>Since 1999 working for Sun Microsystems on StarOffice </li></ul><ul><li>Since 2006 co-lead of OpenOffice XML project </li></ul><ul><li>Responsible for the XML based filters </li></ul><ul><li>Co-editor of the OASIS Metadata Specification </li></ul>
  3. 3. Agenda <ul><li>Metadata basics / existing standards </li></ul><ul><li>Metadata model of ODF 1.2 </li></ul><ul><li>Metadata support in OpenOffice.org 3 </li></ul>
  4. 4. Metadata Basics “ The solution to the overabundance of information is more information.” David Weinberger Everything Is Miscellaneous: The Power of the New Digital Disorder
  5. 5. Metadata Basics <ul><li>What is metadata? </li></ul><ul><ul><li>“Metadata is data about data” 1) </li></ul></ul><ul><li>Why do I need metadata? </li></ul><ul><ul><li>Enhanced search </li></ul></ul><ul><ul><li>Workflow </li></ul></ul><ul><ul><li>Accessibility </li></ul></ul><ul><ul><li>Citation </li></ul></ul><ul><ul><li>Bridge the semantic gap (e.g. zip vs. post code, native languages) </li></ul></ul><ul><ul><li>... </li></ul></ul>1) http://en.wikipedia.org/wiki/Metadata
  6. 6. Metadata Basics More Precise Metadata Definition <ul><li>What is metadata? </li></ul><ul><ul><li>Labels to identify/categorize your data </li></ul></ul><ul><ul><li>Related data </li></ul></ul><ul><li>Why do I need metadata? </li></ul><ul><ul><li>Metadata makes your data interpretable by other applications </li></ul></ul>
  7. 7. Metadata Basics Extending current ODF Metadata Support <ul><li>Why a new metadata model? </li></ul><ul><ul><li>Current ODF metadata related to document </li></ul></ul><ul><ul><li>Not extensible </li></ul></ul><ul><li>Content tagging by styles is not enough! </li></ul><ul><ul><li>Styles are not descriptive </li></ul></ul><ul><ul><li>Styles are not interchangeable with other applications </li></ul></ul>
  8. 8. Metadata Basics The Idea of the Semantic Web <ul><li>What is the Semantic Web / Data Web? </li></ul><ul><ul><li>A web, where software can find/combine/share information more easily </li></ul></ul><ul><li>Requirements of Semantic Web / Data Web </li></ul><ul><ul><li>Data annotated in a common way using metadata </li></ul></ul><ul><ul><li>Web applications acting upon standardized metadata </li></ul></ul>
  9. 9. Existing Metadata Standards Resource Description Framework (RDF) <ul><li>RDF/XML is W3C Recommendation (2004) </li></ul><ul><li>Resources </li></ul><ul><ul><li>Unique identification by IRI </li></ul></ul><ul><ul><li>Described by RDF statements </li></ul></ul><ul><li>RDF Statements - Triple: subject + predicate + object </li></ul><ul><ul><li>uri://sun/employees/svante foaf:name “Svante Schubert” . </li></ul></ul>
  10. 10. Existing Metadata Standards RDF Graphs... Based on http://www.w3.org/2000/Talks/1206-xml2k-tbl/slide6-0.html
  11. 11. Existing Metadata Standards ...superimpose Based on http://www.w3.org/2000/Talks/1206-xml2k-tbl/slide7-0.html
  12. 12. Existing Metadata Standards Web Ontology Language (OWL) <ul><li>Ontology (from Greek) </li></ul><ul><ul><li>Onto (being) </li></ul></ul><ul><ul><li>Logia (written/spoken discourse) </li></ul></ul><ul><li>Description of entities/concepts and their relations </li></ul><ul><ul><li>Like OO language using classes, properties, etc. </li></ul></ul><ul><li>ODF 1.2 includes OWL package description </li></ul><ul><ul><li>OWL Classes of pkg:Package, pkg:File, odf:Element </li></ul></ul>
  13. 13. Metadata Model of ODF 1.2 Metadata Files in the Package RDF file e.g. “/meta/data.rdf” Content file e.g. “/styles.xml” Meta data manifest “ /manifest.rdf” RDF file e.g. “/meta/cita.rdf” Content file e.g. “/content.xml”
  14. 14. Metadata Model of ODF 1.2 Metadata Files in the Package <ul><li>Content files (e.g. content.xml, styles.xml) </li></ul><ul><ul><li>About 50 ODF elements with xml:id attribute </li></ul></ul><ul><li>Metadata manifest (manifest.rdf) </li></ul><ul><ul><li>Heart of metadata model </li></ul></ul><ul><ul><li>Mapping from content's xml:id to RDF IRIs </li></ul></ul><ul><li>User RDF/XML files </li></ul><ul><ul><li>Metadata file possibly from an office extension </li></ul></ul>
  15. 15. Metadata Model of ODF 1.2 Metadata Files in the Package <table:table xml:id=” someID ”> ... Hospital Doctor Duty List ... </table:table> RDF files e.g.“/meta/data.rdf” <odf:ContentFile pkg:path=&quot; content.xml &quot;> <pkg:hasPart> <odf:Element rdf:about=&quot; uri:someIRI &quot; pkg:idref=&quot; someID &quot;/> Content files e.g. “/content.xml” <odf:Element rdf:about=&quot; uri:someIRI &quot;> <ex:workingHoursOf> <med:Doctors rdf:about=&quot; http://hospital-DB/doctors/ID116 &quot;> <med:fieldName xml:lang=&quot;en&quot;>Neurologist</med:fieldN. Meta data manifest “ /manifest.rdf”
  16. 16. Metadata Model of ODF 1.2 In Content Metadata <ul><li>If metadata is equal text/visual data </li></ul><ul><li>Reason: No data duplication </li></ul><ul><li>Used by ODF 5 elements: </li></ul><ul><ul><li>Bookmark start - <text:bookmark-start> </li></ul></ul><ul><ul><li>Heading - <text:h> </li></ul></ul><ul><ul><li>Metadata text - <text:meta> </li></ul></ul><ul><ul><li>Paragraph - <text:p> </li></ul></ul><ul><ul><li>Table cell - <table:table-cell> </li></ul></ul>
  17. 17. Metadata Model of ODF 1.2 In Content Metadata <text:p>The doctor's name was <text:meta m:about=” http://hospital-DB/doctors/ID116 ” m:property=” http://xmlns.com/foaf/0.1/name ”> Dr. J. Franklin</text:meta> RDF files e.g.“/meta/data.rdf” Content files e.g. “/content.xml” <med:Doctor rdf:about=&quot; http://hospital-DB/doctors/ID116 &quot;> <med:hasPatient> <med:Patient rdf:about=”http://hospital-DB/patients/IDA1”>
  18. 18. Metadata Model of ODF 1.2 Metadata Text Field <ul><li>ODF field “text:meta-field” based on metadata </li></ul><ul><ul><li>Appears within paragraph </li></ul></ul><ul><ul><li>Holds any paragraph content </li></ul></ul><ul><ul><li>Citation example: “According to [2]” </li></ul></ul><text:p>According to <text:meta-field xml:id=” someID ”> <text:style text:style-name=”s1”>[2]
  19. 19. Existing Metadata Standards Semantic Web Architecture Based on http://www.w3.org/2000/Talks/1206-xml2k-tbl/slide10-0.html
  20. 20. Existing Metadata Standards ODF in the Semantic Web Based on http://www.w3.org/2000/Talks/1206-xml2k-tbl/slide10-0.html
  21. 21. Metadata support in OOo 3 <ul><li>Support of metadata in the ODF 1.2 package </li></ul><ul><li>API for metadata extension developers </li></ul><ul><ul><li>Providing UNO APIs to access metadata </li></ul></ul><ul><ul><li>Wrapping existing opensource tools Some possible choices: Jena, Sesame, librdf, RDF Twig </li></ul></ul><ul><li>Possibility of a generic metadata extension </li></ul><ul><ul><li>Import / Create your own RDF vocabulary </li></ul></ul><ul><ul><li>Relate vocabulary to ODF content by GUI </li></ul></ul>
  22. 22. More Information <ul><li>Contact me here at OOoCon 2007 </li></ul><ul><li>Download latest docs: http://www.oasis-open.org/committees/ documents.php?wg_abbrev=office-metadata </li></ul><ul><li>RDF N3 Tutorial: http://www.w3.org/2000/10/swap/Primer </li></ul><ul><li>RDF Converter: http://www.mindswap.org/2002/rdfconvert/ </li></ul><ul><li>http://blogs.sun.com/GullFOSS </li></ul>
  23. 23. Thank you – Questions & Answers <ul><li>Svante Schubert </li></ul><ul><ul><li>[email_address] </li></ul></ul>

×