<feed xmlns="http://www.w3.org/2005/Atom" xmlns:foaf="http://xmlns.com/foaf/0.1/"><title>norman.walsh.name: Comments on /2009/09/22/RDFaForDocBook</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2009/09/22/RDFaForDocBook"/><id>http://norman.walsh.name/2009/09/22/RDFaForDocBook/comments.atom</id><updated>2012-02-13T08:11:00.129084Z</updated><entry><title>Comment 1 on /2009/09/22/RDFaForDocBook</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2009/09/22/RDFaForDocBook#comment0001"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0001</id><published>2009-09-22T19:27:41Z</published><updated>2009-09-22T19:27:41Z</updated><author><name>John Cowan</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Whenever you have a general vocabulary, you have the opportunity to speak flanken petunia abwehr stoogling.  Kemmer infamous prong that general vocabularies aren't worth having.</p>
  </div></content></entry><entry><title>Comment 2 on /2009/09/22/RDFaForDocBook</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2009/09/22/RDFaForDocBook#comment0002"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0002</id><published>2009-09-22T19:30:49Z</published><updated>2009-09-22T19:30:49Z</updated><author><name>Ed Davies</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>
      <i>First, lots of DocBook elements have more discrete semantics than HTML elements. We don't need to say...</i>
</p>
    <p>
This is quite likely true for RDFa about the document (metadata) but may well not be true when the RDFa is being used to mark up the actual content of the document in a machine readable manner.
</p>
    <p>
<i>Second, it would allow you to construct statements with conflicting or, at best, odd semantics...</i>
</p>
    <p>
Show me a language which doesn't allow the construction of conflicting or odd statements.
</p>
    <p>
<i>Second [Third?], Bob's example seems to suggest that it would encourage markup like this: ... which seems like a bad idea to me.</i>
</p>
    <p>
Sorry, what's wrong with that markup?  The paragraph is about a thing (named by a relative URI) which has a given title and creator name.  Is it just the absence of "connective tissue" in the example text you object to or is there something more fundamental?
</p>
    <p>
Somewhat tangentially, is there a definition anywhere for RDFa in SVG?  If there isn't then I hope there soon will be.  In general I think any XML format where individual parts (elements) can be said to be about real world things is a good candidate for RDFa.</p>
  </div></content></entry><entry><title>Comment 3 on /2009/09/22/RDFaForDocBook</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2009/09/22/RDFaForDocBook#comment0003"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0003</id><published>2009-09-23T09:53:46Z</published><updated>2009-09-23T09:53:46Z</updated><author><name>Bob DuCharme</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>&gt;you'd need a DocBook-specific tool to extract the metadata
</p>
    <p>
I'd rather not have to write new XSLT to handle every new document-type/metadata-format combination that comes along, which is probably why GRDDL never looked too attractive to me. A nice thing about the DocBook + RDFa combination is that you can continue to use the <a rel="nofollow" href="http://docbook.sourceforge.net/">same tools that you used before</a>, unmodified, to create HTML, PDF, etc. from your DocBook, and you can use pre-existing tools (e.g. Fabien Gandon's <a rel="nofollow" href="http://code.google.com/p/transformr/source/browse/trunk/xsl/RDFa2RDFXML.xsl?spec=svn51&amp;r=51">XSLT stylesheet</a>) with no modification to extract the RDFa metadata.
</p>
    <p>
The flexibility of RDFa means that there are both sensible and less sensible places to add those attributes. I'd forgotten about DocBook's editor element, and should have dug a little deeper before falling back on bibliomisc/phrase to name the document's editor. So much HTML usage of RDFa relies on the span element that to reproduce the examples from the RDFa Primer I immediately thought "What's the DocBook equivalent of that? Aha, phrase!" More knowledgable use of DocBook could take better advantage of RDFa than I did there.</p>
  </div></content></entry><entry><title>Comment 4 on /2009/09/22/RDFaForDocBook</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2009/09/22/RDFaForDocBook#comment0004"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0004</id><published>2009-09-23T10:30:17Z</published><updated>2009-09-23T10:30:17Z</updated><author><name>Egon Willighagen</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>I agree that DocBook is itself already the semantics to the document. It would be interesting to see a convertor map DocBook semantics into XHTML+RDFa semantics, using Dublin Core.
</p>
    <p>
That said, I do not see DocBook support all the ontologies that are around. For example, chemical ontologies, or FOAF. DocBook cannot ever support all domain ontologies. Then again, people could, of course, use matching domain schemata to add such semantics.
</p>
    <p>
Still, I would say there is enough use cases to have DocBook support RDFa.</p>
  </div></content></entry><entry><title>Comment 5 on /2009/09/22/RDFaForDocBook</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2009/09/22/RDFaForDocBook#comment0005"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0005</id><published>2009-09-28T15:09:10Z</published><updated>2009-09-28T15:09:10Z</updated><author><name>Derek W</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>We've been using DocBoock XML coupled with Cocoon since the early 2000 to publish our entire website.  It has worked wonderfully, we have added attributes to meet our specific needs at times.  Much of the data needed to create XHTML + RDFa is already marked up in DocBook, so as long as we can get our transforms to create the RDFa too were good, as mentioned above.  Then build the semantic web apps off the created XHTML + RDFa.
</p>
    <p>
How ever the issue comes in when we try to use the raw XML (DocBook) to create the semantic app.  We're working on moving our content store to a native XML DB (eXist) and also turn that into a SPARQL endpoint.  It seems that without RDF in the XML as DocBook/RDF our best search will only be what XQuery can give us out of our own content store.  Idea is that SPARQL will give us the links/query-ability to external data sources were looking for.</p>
  </div></content></entry><entry><title>Comment 6 on /2009/09/22/RDFaForDocBook</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2009/09/22/RDFaForDocBook#comment0006"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0006</id><published>2011-12-04T06:08:15Z</published><updated>2011-12-04T06:08:15Z</updated><author><name>Joshua Wulf</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>At present, I think that adding RDFa support would be of great
benefit. There is metadata about content that Docbook doesn't
encode, like workflow states, that would be great to have in the
Docbook source, rather than in an external record (where we
currently keep it).</p>
<p>Also, Docbook topics can participate in a semantic web with
RDFa. Domain-specific ontologies are used to locate information in
a semantic web, and RDFa-support in Docbook would enable these.</p>
<p>With Docbook 5 the RDFa can exist in the Docbook xml source, and
can be used to query the Docbook topics about their workflow state
and their location in the semantic web. If RDFa also flowed through
to html then it would enable the same SPARQL-based navigation of
the semantic web by end users and authors.</p></div></content></entry></feed>

