Michael Stahl wrote:
> Imho, given that ODF already has a quite powerful mechanism for
> extension (RDF), any other proposed extension mechanisms should be
> closely scrutinized as to whether they actually add some expressive
> power, or merely add additional complexity by introducing different ways
*LOL*
Michael, with respect, proposing to use RDF and few lines of SPARQL
query over XPath oneliner seems like adding complexity to me, not vice
versa.
RDF (and related SemWeb technologies) is what it is. But I don't think
that you can sell it as advantage of ODF 1.2 that you can use few
triplets and few lines of SPARQL instead of just one attribute and one
short XPath expression. This migh attract few SemWeb addicts in the
world, but it will make normal developer quite scary.
It is good that ODF has general metadata mechanism based on RDF. But
mapping everything to RDF datamodel is overkill.
> Having just read a couple of the weblog articles that Doug has posted
> here in another mail about the customXml feature of OOXML, i do not see
> anything that would be obviously impossible to do with RDF metadata.
> The main difference between the two approaches is the data model:
> with customXml, the metadata is an XML tree, while with RDF, it is an
> RDF graph. Granted, some data is expressed more easily with a flexible
> graph, and other data more easily with a strict hierarchy, but i don't
> think that would be a deal-breaker either way.
It is much much easier to query XML tree (be it using customXML or my
private extensions) then to query RDF graph. I don't know any single
language which has integrated SPARQL engine in its standard libraries.
But I know dozen of languages that have integrated XPath.
> Furthermore:
> RDF metadata allow us to specify not only data that describes data (i.e.
> metadata), but we can iterate this another time to get data that
> describes data that describes data.
Surely. One can ever come with ontology to describe ODF documents and
model complete document using only RDF graph without using ODF at all ;-D
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
------------------------------------------------------------------
Professional XML consulting and training services
DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------