[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office] RDF support?
On 12.10.2015 15:32, Jos van den Oever wrote: > On Saturday 10 October 2015 21:03:17 Patrick Durusau wrote: >> Greetings! >> >> Is RDF support on the roadmap for any of the implementers of ODF? >> >> Despite my misgivings about RDF, it would clearly be superior to current >> metadata support in office software in general. >> >> Not that I think we need to make changes but if we could encourage such >> support sooner rather than later, it could make a selling point for ODF. >> > > Calligra has RDF support and even a built-in sparql engine. It is not used > widely I think. > LibreOffice has support for loading and saving. I do not know if there is an API > for accessing and changing the metadata. yes there is: https://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/RDF_metadata in summary we have in Writer xml:id support on the most important elements, support for text:meta and text:meta-field elements, plus a generic RDF API for extensions/macros with an in-memory RDF store and ODF import/export for all that. the most important missing feature is copy/paste: when some content element is copied, the copy/paste of the RDF metadata referencing that element via its xml:id is left completely unspecified by ODF, which is unlikely to yield similar results in different implementations. (the problem is that the RDF graphs have arbitrary connections and have no "natural hierarchy" (they are not trees), and of course by the very nature of the feature ODF implementations cannot assume particular semantics of the RDF properties that happen to be used in some file.) there is also no UI for RDF metadata, but that is sort of intentional: the feature is mostly intended to be used by extensions. unfortunately currently nobody is working on it. -- Michael Stahl | Software Engineer Platform Engineering - Desktop Team Red Hat Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com Red Hat GmbH, http://www.de.redhat.com/ Sitz: Grasbrunn, Handelsregister: Amtsgericht München, HRB 153243 Geschäftsführer: Charles Cachera, Michael Cunningham, Michael O'Neill, Charles Peters