<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>It Is A Mystery... &#187; Uncategorized</title>
	<atom:link href="http://www.pipian.com/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pipian.com</link>
	<description>A weblog about the mysteries and musings found in everyday life.</description>
	<lastBuildDate>Mon, 13 Dec 2010 21:01:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Google DataWiki and RDF/XML</title>
		<link>http://www.pipian.com/blog/2010/12/13/google-datawiki-and-rdfxml/</link>
		<comments>http://www.pipian.com/blog/2010/12/13/google-datawiki-and-rdfxml/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 21:01:36 +0000</pubDate>
		<dc:creator>Pipian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pipian.com/?p=80</guid>
		<description><![CDATA[While browsing Google Labs today just to see what&#8217;s going on over there, I ran across something rather interesting for the ReadWriteLinkedData folks: I then coded up a nice little service which converts the Atom feed offered by DataWiki to RDF/XML, although it&#8217;s a little bit of a kludge. But I did have a few [...]]]></description>
			<content:encoded><![CDATA[<p>While browsing Google Labs today just to see what&#8217;s going on over there, I ran across something rather interesting for the ReadWriteLinkedData folks:</p>
<p><a href="http://datawiki.googlelabs.com/"><img src="http://www.pipian.com/wp-content/uploads/2010/12/Screenshot-1.png" alt="" title="Google DataWiki" width="925" height="213" class="aligncenter size-full wp-image-86" /></a></p>
<p>I then coded up a <a href="http://telegraphis.net/data/datawiki/">nice little service which converts the Atom feed offered by DataWiki to RDF/XML</a>, although it&#8217;s a little bit of a kludge.  But I did have a few notes on the current state of things over with the DataWiki (many of these things are bugs and issues simply due to being in the early stages of DataWiki, so it&#8217;s not like they can&#8217;t be fixed!):</p>
<ol>
<li>
<p><strong>Dereferenceability is good.</strong>  Right now, although many of the URIs provided in the Atom feed can be dereferenced, most can&#8217;t even be dereferenced to XML, but only to HTML. The XML namespace of a particular wiki does not even link to a particularly useful description of the Wiki&#8217;s contents!  Although this might be alright for a simple XML feed, it&#8217;s not so nice for RDF, which likes links which can be dereferenced to something meaningful.</p>
<p>Pablo and the others working on DataWiki shouldn&#8217;t take this as a harsh criticism: this seems to be a common problem with people first introduced to RDF (and here, it wasn&#8217;t even in RDF to start!).  Indeed we&#8217;ve had the same discussion with the guys over at Facebook when they put out their <a href="http://ogp.me">Open Graph Protocol</a>, and successfully convinced them to put out a dereferenceable namespace URI.</p>
</li>
<li>
<p><strong>Describe your schema.</strong>  Granted, this dovetails nicely with the previous point, in that, once the schema is dereferenceable, it should actually have meaning.  Right now, the namespace of a particular wiki is just a base URI, without a fragment identifier.  This causes problems if I want to refer to the particular schema properties (e.g. name, comment, etc.).  Thus, I&#8217;ve taken the liberty of modifying the base namespace to add a fragment ID so as to be able to make the properties dereferenceable (even if they aren&#8217;t in practice).  Following the reference should (ideally) give some description, however.</p>
</li>
<li>
<p><strong>Pushback should be easy.</strong>  It should be possible to push back using any number of methods.  I should be able to find out what the schema looks like and push (such as through <a href="http://www.webdav.org/">WebDAV</a>, or <a href="http://rest.blueoxen.net/cgi-bin/wiki.pl">RESTful HTTP</a>, or <a href="http://www.w3.org/TR/rdf-sparql-query/">SPARQL</a>) back to the server.  Right now, it&#8217;s not trivial to actually push changes back with my converter, so I don&#8217;t do this.  But then, this ties into the bug where, currently, I can&#8217;t get XML data for individual data items, and as such, can&#8217;t dereference them.</li>
<li>
<p><strong>Datatyping is nice, but only if it&#8217;s done right.</strong>  Right now, there&#8217;s no way to determine how I should interpret a field.  Part of this is because datatypes aren&#8217;t supported yet.  Well, that&#8217;s fine, but I hope that in the future, I will be able to map whatever layman datatypes that are supported into corresponding <a href="http://www.w3.org/TR/xmlschema-2/">XML Schema Datatypes</a> and RDF Resources.  The latter is especially important if there are ever links between data-items, or we lose the whole point behind a Wiki (or Linked Data!).</p>
</li>
<li>
<p><strong>Remember web applications!</strong>  One thing I&#8217;ve tried to do with the converter is to keep it simple: it just uses an <a href="http://telegraphis.net/data/datawiki/datawiki.xsl">XSL transformation</a> (so anyone can reuse it with their own DataWiki).  I&#8217;ve also tried to play nicely with AJAX by enabling <a href="http://www.w3.org/TR/cors/">cross-origin requests (CORS)</a>.  Hopefully DataWiki can do the same.</p>
</li>
</ol>
<p>Anyway, this is rather exciting stuff, so I hope that this will keep rolling.  As <a href="http://semantic-mediawiki.org">Semantic MediaWiki</a> and the <a href="http://www.w3.org/DesignIssues/ReadWriteLinkedData.html">ReadWriteLinkedData</a> efforts have shown (not to mention <a href="http://projects.csail.mit.edu/datapress/">DataPress</a> and <a href="http://drupal.org/project/rdf">RDF support in Drupal 7</a>), there&#8217;s definitely a need to actually reveal meaningful data in a user-editable format.  With people in Google starting to take to the idea as well, I don&#8217;t think it will be too long before we start seeing this idea really take off for the public at large.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pipian.com/blog/2010/12/13/google-datawiki-and-rdfxml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

