<?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>webr3.org &#187; Resource</title>
	<atom:link href="http://webr3.org/blog/tag/resource/feed/" rel="self" type="application/rss+xml" />
	<link>http://webr3.org/blog</link>
	<description>brain&#039;s on fire!</description>
	<lastBuildDate>Tue, 19 Jul 2011 15:38:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Uniform Data</title>
		<link>http://webr3.org/blog/semantic-web/uniform-data/</link>
		<comments>http://webr3.org/blog/semantic-web/uniform-data/#comments</comments>
		<pubDate>Fri, 29 Apr 2011 17:49:16 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[semantic web]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Data management]]></category>
		<category><![CDATA[deployable technologies]]></category>
		<category><![CDATA[deployed technology]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[FOAF]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[linked data]]></category>
		<category><![CDATA[mobile devices]]></category>
		<category><![CDATA[Ontology]]></category>
		<category><![CDATA[RDBMS]]></category>
		<category><![CDATA[rdf]]></category>
		<category><![CDATA[RDF Schema]]></category>
		<category><![CDATA[RDFLib]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Resource Description Framework]]></category>
		<category><![CDATA[semantic web adoption]]></category>
		<category><![CDATA[semantic web compatible]]></category>
		<category><![CDATA[sensor networks]]></category>
		<category><![CDATA[social web]]></category>
		<category><![CDATA[Technology/Internet]]></category>
		<category><![CDATA[Versa]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[Web Developers]]></category>
		<category><![CDATA[Web Ontology Language]]></category>
		<category><![CDATA[Web services]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XML schema]]></category>

		<guid isPermaLink="false">http://webr3.org/blog/?p=488</guid>
		<description><![CDATA[Why a need for uniform data?
a) The web is currently converging around web applications and mobile devices, a lot of focus is being placed on sensor networks, internet of things, and augmented reality to display information. Simply, how can these applications make use of published data readily from multiple sources if that data is not [...]]]></description>
			<content:encoded><![CDATA[<h3>Why a need for uniform data?</h3>
<p>a) The web is currently converging around web applications and mobile devices, a lot of focus is being placed on sensor networks, internet of things, and augmented reality to display information. Simply, how can these applications make use of published data readily from multiple sources if that data is not in a uniform standard?</p>
<p>b) The core web which people use on a daily basis is ever more silo focussed, and the size of those silo's is ever increasing - the social sector is a great example of this, and whilst there are core movements to create a more federated and distributed social web, a key blockage in the way is a lack of uniform data, often new formats are being developed, or poorly modelled application (rather than domain) specific models are making it out on to the web, and interoperability is several times harder than it could be, given the presence of uniform data. This has significant social and economic repercussions.</p>
<p>c) Time, a significant amount of time is invested daily by thousands (if not millions) in to re-solving the same old problems, creating a schema for this, a model for that, learning the same lessons countless people have learned before them, often the learning curve spans several years. A standard way to publish and share reusable model specific schemas (/not/ format specific like XML schema and JSON schema) would save vast amounts of developer time per annum. In addition to having significant economic impacts this would also lend to far more innovation (since more time free to innovate!) within an already important and innovative sector.</p>
<h3>Why not "plain" RDF?</h3>
<p>RDF has failed to be understood, adopted or loved by the general masses of the web, even many who use RDF often do not fully understand it and have many issues. Adoption has been... let's just say not good.</p>
<p>There are 3196 APIs on ProgrammableWeb, out of those:</p>
<ul>
<li>2152 produce XML</li>
<li>1255 produce JSON</li>
<li>36 produce RDF</li>
</ul>
<p>Perhaps more indicative though, is that those 36 are spread over 6 years, with only 1 updated so far this year, meanwhile there have been 58 new JSON based APIs in the last month alone.</p>
<p>Over on stack overflow, there have been 1,569,512 questions asked, 273 that's 0.017% of them, are RDF related.</p>
<p>The numbers are pretty clear, for all RDF's merits, and the countless benefits of the uniformity of RDF, it's just not being adopted.</p>
<p>To use RDF correctly requires RDF tooling, and not just tooling to parse the data (like JSON, and common usage of XML), but to use the data, to handle triples and graphs and queries, all of which requires significant investment in skills, time, and deployable technologies.</p>
<p>Further more, RDF data published using multiple different ontologies is difficult for people to use, the infrastructure and tooling simply doesn't exist to follow ones nose around the web and make practical use of several thousand different ontologies, that level of understanding is  a good generation away, and for now all it does is serve as a blockage to adoption, and primarily as a blockage to people actually using or presenting the data. Time and time again we have seen a rallying around core ontologies, with successful mixing and matching happening more at the ontology level, than the data level. For now applications will be looking for mentions of Classes and Properties they "understand" (have a hard coded usage for).</p>
<p>Additionally, these difficulties in usage have lead to a second layer of centralization on the web, one which was borne from RDF, and rather ironically many of the architectural benefits of uniformity and universality are being lost. That is SPARQL, we are seeing a huge increase in SPARQL enabled datastores on the web, each of which holds a specific set of data, and each of which has key resource limitations. Practically this means that:<br />
 - clients are tightly coupled to servers<br />
 - all processing and storage weight is being handled by the servers<br />
 - data on the wire is non uniform<br />
 - clients are not using the web of data, rather they are using a datasource on the web, a datasilo.<br />
This is a pattern which is not optimized for anybody, servers, clients, developers, data, the web, the network.</p>
<p>The core benefits of a web of linked data have not realized, RDF has failed to deliver them, primarily due to complexity and tooling requirements. SPARQL (positioned on the server/silo) is only compounding matters. That's not to say it cannot deliver them, or that these technologies are bad, only that they have not delivered the core benefits, yet.</p>
<p>Perhaps another way to put it, is that if you break things like RDBMS and Classes and Objects down you can get to triples of some sort (EAV, RDF, or to atomic relations / predicate based logic), and RDF did just this, however it was done in such a way that the data format (RDF) required a full new stack of technologies to /use/ the data, rather than being a uniform data format acting as a bridge between say classes and objects and RDBMS, a webized data model; that is to say, you can't really use "it" (RDF, the model people don't really speak of) with 95% of the deployed technology out there, you can provide an RDF view of the data from that technology, map it to RDF, but you cannot easily pull it back in and use it, and unusable data, isn't much use. There are many shades of grey between, but it's certainly more at the unusable end of the spectrum.</p>
<h3>What can we do?</h3>
<p>If we look at what people already do, a large proportion of web developers (most) continue to publish data via web services as XML and JSON, the common process is simple, create a schema, document it somewhere out of band (perhaps call it API documentation), publish data using that schema in some arbitrary way as XML and JSON. On the client side the same process continues, find a new API, get an XML or JSON parser, map the data as described by the API to some classes and start using it. All of this is needless work, they are showing us what works, what they can do, and how they can work with data easily. Tersely, they are missing the benefits of Uniform Data.</p>
<p>We can bring the benefits of uniform data to the current web 2.0, class and objects, rdbms, xml and json focussed web.</p>
<p>We can not only address these core issues, and bring the benefits of linked data and the semantic web to the general developer population, but we can also:<br />
 - ensure it's RDF and traditional semantic web compatible (giving "us" mountains of useful every-day data)<br />
 - provide that clear migration path to the "full" semantic web that's missing now.<br />
 - increase semantic web adoption exponentially, bringing big benefits without the high cost.</p>
<h3>Approaches</h3>
<p>There are two key approaches I can personally see to this:</p>
<ol>
<li>Webize Classes and Objects (Java style POJOs, Data Objects, subset of UML)</li>
<li>Provide a Classes and Objects view over RDF</li>
</ol>
<p>The first of these approaches - providing an abstract syntax for classes and objects and then defining mappings for that to XML and JSON - would bring the benefits of OWL 2 and XSD to schemas, and the benefits of "linked data" to both the schemas (/class blueprints) and instance data. It would allow data validation rules to be augmented on from sources external to the schema, it could be codified in libraries across multiple languages, it could also serve as a translation layer between Classes and Objects, NoSQL, and RDBMS, and other formats such as CSV. Additionally it would lend each schema openly being mapped to vendor specific databases, as well as vendor neutral schemas such as ANSI SQL. Furthermore, it would also lend to innovation in each layer, for example standardized queries for each kind of data could be created, with translations of those to each specific vendor or to well defined standardized languages, and even codified to work in memory in libraries (for example within instance methods or to run on GPU enabled hardware and languages). Many benefits could come from webizing what the masses already do. Other examples include providing an opportunity to refine the core datatypes on the web in a serialization agnostic way (think xsd types merged with webidl types), ensuring the correct entailments for equality are baked in to the core, providing first level support for things like lists and sets, providing a foundation upon which diff, patch, versioning can all be accomplished, providing canonicalized forms so that encryption and a data signing can be accomplished... and more I'm sure.</p>
<p>The second of these approaches has less wide scale benefits, but would provide a more usable abstraction layer on top of RDF, which is currently (dare I say painfully) missing. This would ultimately make working with data more familiar, a codified example could be:</p>
<pre><code>
var person = new Class('foaf:Person');      // external class definitions loaded from the web
person.load('http://example.org/bob#me');   // instance data loaded
print(person.name);                         // simple access to pre-known properties
person.validate();                          // in built validation from OWL 2
                                            // and XSD data type restrictions

// work with a schema class at a time..

var man = new Class('gender:Male');         // different class for different data
man.load('http://example.org/bob#me');      // same data
print(man.wife);                            // different, domain specific properties
man.expand();                               // full entailment regimes support to get
                                            // the most from schema definitions 

</code></pre>
<p>The best approach will become clear as time progresses, for now I'm keen and happy to work on either or both.</p>
<p>Just some musings..</p>
]]></content:encoded>
			<wfw:commentRss>http://webr3.org/blog/semantic-web/uniform-data/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>A simple overview of httpRange-14</title>
		<link>http://webr3.org/blog/semantic-web/a-simple-overview-of-httprange-14/</link>
		<comments>http://webr3.org/blog/semantic-web/a-simple-overview-of-httprange-14/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 00:14:03 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[semantic web]]></category>
		<category><![CDATA[Canton of Uri]]></category>
		<category><![CDATA[Communication]]></category>
		<category><![CDATA[Dereferenceable Uniform Resource Identifier]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Uniform Resource Identifier]]></category>
		<category><![CDATA[URI scheme]]></category>
		<category><![CDATA[YT]]></category>

		<guid isPermaLink="false">http://webr3.org/blog/?p=470</guid>
		<description><![CDATA[Complicated issue eh? it's certainly consumed a great deal of my time for over a year.
So, here's a simple-ish summary of the problem - disclaimer, all IMHO of course:
Outline:
&#160;&#160;&#160;   each URI &#60;u&#62; is bound to a thing T by a set of agents SA (this is the naming process)
&#160;&#160;&#160;   &#60;u&#62; refers [...]]]></description>
			<content:encoded><![CDATA[<p>Complicated issue eh? it's certainly consumed a <em>great deal</em> of my time for over a year.</p>
<p>So, here's a simple-ish summary of the problem - disclaimer, all IMHO of course:</p>
<h3>Outline:</h3>
<p>&nbsp;&nbsp;&nbsp;   each URI &lt;u&gt; is bound to a thing T by a set of agents SA (this is the naming process)<br />
&nbsp;&nbsp;&nbsp;   &lt;u&gt; refers to T </p>
<p>&nbsp;&nbsp;&nbsp;   some URIs are bound to a set of representations SR over time by the dereferencing process (i.e. GET a URI)<br />
&nbsp;&nbsp;&nbsp;   &lt;u&gt; refers to T, SR</p>
<p>Let's assign the name XT to this class of URIs which are bound to both a T and an SR. (things which name something, and which you can GET content+meta by dereferencing)</p>
<p>Where T == SR this forms a subclass of XT which we'll call YT (just means that the URI is used to refer to the thing you GET, like a web page or an image)</p>
<h3>The opposing views:</h3>
<ol>
<li>for all &lt;u&gt; in XT, T == SR<br />
(all members XT are members of YT, doesn't account for T != SR - this is an information resource theory)</p>
</li>
<li>SR is bound to T not &lt;u&gt;<br />
(means T == SR &amp;&amp; T != SR - this is the content+meta gives information about the thing theory, slash uris name anything)</p>
</li>
<li>&lt;u&gt; is bound to T, and T != SR<br />
(SR is unbound to any name, or bound to "some other name" - this is the &lt;u&gt; :retrieved_from "u" approach, or content-location = graph uri)</p>
</li>
<li>&lt;u&gt; is bound to SR, and T != SR<br />
(T is unbound to any name, or bound to "some other name" - can't see what it equates to but it's a theory)</p>
</li>
<li>&lt;u&gt; is bound to T, SR and T != SR<br />
(can't use deref URIs as names - URI collision, or the chimera theory, this is where information about &lt;u&gt; consists of info about both the information and the real world thing named. Practically it's the same as view 2)</li>
</ol>
<h3>Summary:</h3>
<p>View 1, is the httpRange-14 solution (accounting for view 3 with the 303 solution too). View 2 is implied by the REST dissertation (actually so is 1 and 3..). View 3 is the "we don't normally talk about the document" view. All of them have issues for somebody.</p>
]]></content:encoded>
			<wfw:commentRss>http://webr3.org/blog/semantic-web/a-simple-overview-of-httprange-14/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Maybe we don&#039;t need Named Graphs</title>
		<link>http://webr3.org/blog/semantic-web/maybe-we-dont-need-named-graphs/</link>
		<comments>http://webr3.org/blog/semantic-web/maybe-we-dont-need-named-graphs/#comments</comments>
		<pubDate>Sun, 16 May 2010 15:48:27 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[linked data]]></category>
		<category><![CDATA[semantic web]]></category>
		<category><![CDATA[ACL]]></category>
		<category><![CDATA[ACL processor]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Graph]]></category>
		<category><![CDATA[Graph theory]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Online social networking]]></category>
		<category><![CDATA[rdf]]></category>
		<category><![CDATA[RDFLib]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Resource Description Framework]]></category>
		<category><![CDATA[Semantically-Interlinked Online Communities]]></category>
		<category><![CDATA[SPARQL]]></category>
		<category><![CDATA[Tim Berners-Lee]]></category>
		<category><![CDATA[Uniform Resource Identifier]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[web server administrators]]></category>
		<category><![CDATA[web servers]]></category>
		<category><![CDATA[Web services]]></category>
		<category><![CDATA[Web standards]]></category>
		<category><![CDATA[World Wide Web]]></category>

		<guid isPermaLink="false">http://webr3.org/blog/?p=332</guid>
		<description><![CDATA[In this post I'll put forward an argument that perhaps the "web of linked data", and thus RDF(2)/OWL(2), doesn't need any concept of Named Graphs.
This is quite a dry subject, and I could be wrong (in fact in some ways I want to be proved wrong, this is how we learn), but do read on [...]]]></description>
			<content:encoded><![CDATA[<p>In this post I'll put forward an argument that perhaps the "web of linked data", and thus RDF(2)/OWL(2), doesn't need any concept of Named Graphs.</p>
<p>This is quite a dry subject, and I could be wrong (in fact in some ways I want to be proved wrong, this is how we learn), but do read on if you're interested.</p>
<h3>Example</h3>
<p>Over the past few months I've hit on a number of occasions where I was convinced I needed Named Graphs in order to address the task at hand.</p>
<p>A notable example is the scenario where using WebAccessControl and the ACL ontology, a system would have to figure out just who should be given access to a resource, and who should be denied.</p>
<p>In this example I'll cover the notion of ACL for "groups" in a linked data world.</p>
<p>The task at hand is to allow access if:<br />
<code>the graph serialized within the document obtained by dereferencing the URI of the group states the &lt;webid#me> is a member.</code></p>
<p>Otherwise written as:<br />
<code>if we dereference &lt;groups#admin> does the graph returned include the following { &lt;groups#admin> sioc:has_member &lt;webid#me> }</code></p>
<p>Or in SPARQL:</p>
<pre>ASK
GRAPH &lt;groups> {
  &lt;groups#admin> sioc:has_member &lt;webid#me>
}</pre>
<p>In this example we *do not* want to dereference the users webid to see if the graph returned specifies that { &lt;webid#me> sioc:member_of &lt;groups#admin> } , or indeed consider the open world possibilities that another yet unknown graph could assert that the user is a member of our admin group, as that would breach security.</p>
<h4>The ACL</h4>
<p>To proceed with the example, consider the following ACL:</p>
<pre>[] a acl:Authorization ;
	acl:accessTo &lt;https://example.org/sensitive> ;
 	acl:agentClass :mygroup ;
 	acl:mode acl:Read .

:mygroup owl:equivalentClass [
 	a owl:Restriction ;
 	owl:hasValue &lt;groups#admin> ;
 	owl:onProperty [ owl:inverseOf sioc:has_member ];
 	] .
</pre>
<h4>The Problem</h4>
<p>The problem proposed by this ACL is that any of the following four sets of triples would infer that &lt;webid#me> would qualify as an instance of :mygroup (or a member of &lt;groups#admin> if you prefer).</p>
<ul>
<li>
<pre>&lt;webid#me> sioc:member_of &lt;groups#admin> .</pre>
<li>
<pre>&lt;webid#me> _:x &lt;groups#admin> .
_:x owl:inverseOf sioc:has_member .</pre>
</li>
<li>
<pre>&lt;groups#admin> sioc:has_member &lt;webid#me> .</pre>
</li>
<li>
<pre>&lt;groups#admin> _:y &lt;webid#me> .
_:y owl:inverseOf sioc:member_of .</pre>
</li>
</ul>
<p>In other words, the ACL does not specify a "Named Graph" to query, and at the moment, no way exists to specify with (OWL or RDF) which "Named Graph" to query / trust.</p>
<p>This, point in case, is one example where I saw the need for Named Graphs in RDF and OWL.</p>
<h4>Another way of looking at it</h4>
<p>You will have noticed the notion of "Named Graphs" creeping in above, seems like a logical thing to say, especially when you consider that to process this ACL and grant access you'd probably use SPARQL, and specify a Named Graph to query over. However, much of what follows arose because I'd decided not to use SPARQL, and rather to code an ACL processor in my preferred language.</p>
<p>If you consider the situation, the ACL processor which decides if access should be granted or not, must implicitly "trust" the document which contains the serialized ACL graph. That is to say, that it must by extension trust any resources pointed to by said ACL, and if it doesn't then the ACL isn't fit for the purpose.</p>
<p>It's also important to note that "trust" is context specific, in this case we trust the resources pointed to by the ACL for the purpose of WebAccessControl.</p>
<p>One could then pretty quickly conclude that in this scenario the ACL processor already know's how to process the ACL, it must only use resources it trusts, therefore it must only  allow access if <code>the graph serialized within the document obtained by dereferencing the URI of the group states the &lt;webid#me> is a member.</code> </p>
<p>(because &lt;groups#admin> is specified in the ACL, and thus by extension, trusted)</p>
<h4>Named Graphs in SPARQL</h4>
<p>The aforementioned logic would also apply if I was using SPARQL to process the ACL, it would equate to the ACL processor asking:</p>
<pre>ASK
GRAPH &lt;groups> {
  &lt;groups#admin> sioc:has_member &lt;webid#me>
}</pre>
<p>But again this is very context specific to the example, let's consider for a moment that the URI for the group could have been a non-fragment URI, &lt;groups/admin> for example.</p>
<p>This leads us to an important problem, when we dereference &lt;groups/admin> it would have to 303 See Other through to a different URI, let's say &lt;data/groups/admin> - which would then mean that the Named Graph to be used was &lt;data/groups/admin> - this URI, you may note, we do not know when we are writing our ACL; so if we ASKed the above SPARQL, the results would always come back negative, since their is no GRAPH &lt;groups>.</p>
<p>The URI of the Named Graph issue is compounded by modern web servers and publishing practises, because &lt;data/groups/admin> could easily be content negotiated (or rewritten), thus giving various final URI's of &lt;data/groups/admin> or &lt;data/groups/admin.rdf> or &lt;data/groups/admin.ttl> or &lt;data/groups/admin.n3> and so forth. One could quite easily (and often does) end up with the same Graph repeated multiple times within a quad store, all under "different" "Named Graphs".</p>
<p>I'll expand on a possible way of addressing this problem further on.</p>
<h4>Directionality</h4>
<p>Previously I mentioned that the ACL processor didn't have a problem with the above ACL, because it by nature trusted all resources which were mentioned in the ACL graph. However, again this is very context specific.</p>
<p>Let's consider for a moment an inverted ACL, where we want to allow access if:<br />
<code>the graph serialized within the document obtained by dereferencing the URI of the users <strong>webid</strong> states that &lt;webid#me> is a sioc:member_of &lt;groups#admin>.</code></p>
<p>We don't know the users webid ahead of time when we write the ACL, so again we have no way of writing how to trust a resource - it is critical to note that even if RDF(2) did support the concept of Named Graphs, it still wouldn't address the situation because we wouldn't know the Named Graph ahead of time, in order to trust it!</p>
<p>If we now consider the following ACL:</p>
<pre>[] a acl:Authorization ;
	acl:accessTo &lt;https://example.org/sensitive> ;
 	acl:agentClass :mygroup ;
 	acl:mode acl:Read .

:mygroup owl:equivalentClass [
 	a owl:Restriction ;
 	owl:hasValue &lt;groups#admin> ;
 	owl:onProperty sioc:member_of;
 	] .
</pre>
<p>The outcome of our previous logic concludes that again we should be querying the "trusted" resource &lt;groups#admin>, which gives us another problem, that's not the resource we want to be asking in this scenario.</p>
<p>The only thing that remains, and I'll later argue the only thing that ever matters in a web of linked data, is direction.</p>
<p>If we analyse the first ACL closer, we can see that we ultimately used the direction inferred by the presence of owl:inverseOf to place &lt;groups#admin> in the subject position, rather than the value/object position it could have been in, indicated by the presence of owl:hasValue. (bare with me).</p>
<p>In this example, we can use the strong semantics of owl:hasValue (and lack of owl:inverseOf) to place &lt;groups#admin> in the value/object position, and thus our ACL processor can come to the outcome we want, which is to look for the a triple with the meaning { &lt;webid#access> sioc:member_of &lt;groups#admin> }, and that means dereferencing the URI in the subject position, in other words asking the graph serialized in the document returned by GETting &lt;webid> if it contains such a triple.</p>
<p>I've applied some understanding to OWL that quite simply isn't there though, as I earlier stated both ACL examples could easily equate to looking for any one of those four sets of triples.</p>
<p>However, this is the point - machine understanding of data is in the domain of the machine, the application doing the processing. And "truth" or "trust" is entirely context specific.</p>
<p>I'm increasingly convinced that the combined context of the data in a graph and the context under which that graph is being queried, specifies or infers in which direction you want to be reading, and directionality can be determined with linked data by dereferencing whichever uri you place on the left / in the subject position.</p>
<p>I recently found that Tim Berners-Lee wrote about this in a blog post entitled <a href="http://dig.csail.mit.edu/breadcrumbs/node/72">Backward and Forward links in RDF just as important</a>:</p>
<blockquote><p>One meme of RDF ethos is that the direction one choses for a given property is arbitrary: it doesn't matter whether one defines "parent" or "child"; "employee" or "employer". This philosophy (from the Enquire design of 1980) is that one should not favor one way over another. One day, you may be interested in following the link one way, another day, or somene else, the other way.</p></blockquote>
<p>Key here is the sentence "One day, you may be interested in following the link one way, another day, or somene else, the other way.", and that is exactly what all these examples are doing, following a link one way, or the other way.</p>
<p>To conclude this part, in every scenario thus far where I've thought I needed Named Graphs, it turns out that I in-fact needed directionality - and because I'm dealing with Linked Data, whatever I place in the subject position defines the URI which I need to dereference, and ultimately the Graph(s) which are considered when resolving the answer to the question being ASKed.</p>
<p>I'd thus suggest that "Named Graphs", do not exist in a web of data, they are needed in N3 and when using rules, because all data is often in a single file, however that is not the case for Linked Data, where we dereference.</p>
<h3>Back to SPARQL and Named Graphs</h3>
<p>Previously I mentioned the complications with the way we currently use named graphs in SPARQL and in our quad stores, where the URI we end up using could literally be, anything; and often we get duplicate data under different graphs.</p>
<p>To address this, I'd suggest that what we should be storing as the graph ?g value, is not some made up "named graph" but rather: <code>the dereferenced URI which we initially requested</code>.</p>
<ul>
<li>in the case of &lt;group#admins> this would be &lt;group>.
<li>in the case of &lt;group/admins> this would be &lt;group/admins></li>
</ul>
<p>To clarify, *never* the URI that a GET request finally resolves to, and *always* the initial dereferenced URI we requested.</p>
<p>The above ensure that we'd never have duplicate data in our quad stores again, that SPARQL queries including a FROM clause always dereferenced, that publishers and web server administrators were free to relocate and restructure their data, and ultimately make for a much nicer, healthier web of data.</p>
<p>Cool URIs don't change, and they wouldn't, just because the final document serializing a graph may move to a different URI, doesn't mean the original URI has to change.</p>
<h3>Conclusion</h3>
<p>Apologies for the length of the post, but I figured everything needed covered, in context. Simply put we need to focus less on Named Graphs (which IMHO aren't needed) and focus more on directionality. Every problem I've encountered thus far is covered by what Tim said years ago: "One day, you may be interested in following the link one way, another day, or somene else, the other way."</p>
<p>Comments?</p>
]]></content:encoded>
			<wfw:commentRss>http://webr3.org/blog/semantic-web/maybe-we-dont-need-named-graphs/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Restarting Linked Data from scratch, part 2</title>
		<link>http://webr3.org/blog/linked-data/restarting-linked-data-from-scratch-part-2/</link>
		<comments>http://webr3.org/blog/linked-data/restarting-linked-data-from-scratch-part-2/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 02:02:22 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[linked data]]></category>
		<category><![CDATA[atompub style protocol]]></category>
		<category><![CDATA[author]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Content negotiation]]></category>
		<category><![CDATA[DTD]]></category>
		<category><![CDATA[FOAF]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[Los Angeles]]></category>
		<category><![CDATA[manager]]></category>
		<category><![CDATA[Markup languages]]></category>
		<category><![CDATA[rdf]]></category>
		<category><![CDATA[RDFa]]></category>
		<category><![CDATA[representation chain]]></category>
		<category><![CDATA[Representational State Transfer]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Roy T. Fielding]]></category>
		<category><![CDATA[semantic web]]></category>
		<category><![CDATA[Technology/Internet]]></category>
		<category><![CDATA[web browsers]]></category>
		<category><![CDATA[Web standards]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://webr3.org/blog/?p=278</guid>
		<description><![CDATA[This post is part of a series, following on from my earlier post Restarting Linked Data from scratch, part 1. In this post I'm going to take the first step by trying to approach publishing and exposing linked data RESTfully.
I'm assuming that if you are reading this, you know what linked data is, and REST [...]]]></description>
			<content:encoded><![CDATA[<p>This post is part of a series, following on from my earlier post <a href="http://webr3.org/blog/linked-data/restarting-linked-data-from-scratch-part-1/">Restarting Linked Data from scratch, part 1</a>. In this post I'm going to take the first step by trying to approach publishing and exposing linked data RESTfully.</p>
<p>I'm assuming that if you are reading this, you know what linked data is, and REST as per the dissertation of Roy T. Fielding. If not go do some reading :)</p>
<h3>Interface Constraints</h3>
<p>REST is defined by four interface constraints:</p>
<ol>
<li>identification of resources</li>
<li>manipulation of resources through representations</li>
<li>self-descriptive messages</li>
<li>hypermedia as the engine of application state.</li>
</ol>
<p>From here I'll look at each of these four constraints and build up the approach as I go.</p>
<h3>What a resource is</h3>
<p>Quoting extensively from <a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm#sec_5_2_1_1">  REST 5.2.1.1 Resources and Resource Identifiers</a>:</p>
<blockquote><p>The key abstraction of information in REST is a resource. Any information that can be named can be a resource: a document or image, a temporal service (e.g. "today's weather in Los Angeles"), a collection of other resources, a non-virtual object (e.g. a person), and so on. In other words, any concept that might be the target of an author's hypertext reference must fit within the definition of a resource...</p>
<p>A resource is a conceptual mapping to a set of entities, not the entity that corresponds to the mapping at any particular point in time...</p>
<p>The values in the set may be resource representations and/or resource identifiers...</p>
<p>A resource can map to the empty set, which allows references to be made to a concept before any realization of that concept exists...</p>
<p>The only thing that is required to be static for a resource is the semantics of the mapping, since the semantics is what distinguishes one resource from another...
</p></blockquote>
<h3>What a representation is</h3>
<p>Again, quoting extensively from <a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm#sec_5_2_1_2">  REST 5.2.1.2 Representations</a>:</p>
<blockquote><p>
... A representation is a sequence of bytes, plus representation metadata to describe those bytes. Other commonly used but less precise names for a representation include: document, file, and HTTP message entity, instance, or variant...</p>
<p>If the value set of a resource at a given time consists of multiple representations, content negotiation may be used to select the best representation for inclusion in a given message...</p>
<p>The data format of a representation is known as a media type
</p></blockquote>
<h2>Identification of resources</h2>
<p>To do this properly I need to identify some resources, so for this I'm going to work with "Something" :)</p>
<ul>
<li><strong>"Something"</strong> - a resource, a non-virtual object</li>
</ul>
<p>At any point in time I have a description of Something which has multiple representations in different mediatypes, all semantically matching or equivalent:</p>
<ul>
<li><strong>"something.rdf"</strong> - representation of Something with mediatype RDF+XML</li>
<li><strong>"something.n3"</strong> - representation of Something with mediatype  RDF+N3</li>
<li><strong>"something.en.html"</strong> - representation of Something, in english, with mediatype text/html</li>
<li><strong>"something.de.html"</strong> representation of Something, in german, with mediatype text/html</li>
</ul>
<p>Each one of those representations is also a resource because they can be the target of a hyperlink. Of course by resource I mean a conceptual mapping to each of the things listed, and I haven't assigned URIs but will..</p>
<p>To be able to make this set of representations manageable and to indicate they are in a set, I'm going to add in another resource which is a collection of resources, which can be considered a set of these equivalent representations of Something at a fixed point in time. For the purpose of this exercise, that point in time is today.</p>
<ul>
<li><strong>"Something-20100311"</strong> - a resource which is a collection of equivalent representations of Something on the 11th March 2010.</li>
</ul>
<p>Additionally, for the sake of argument, I'm going to say that a new set of representations (or version) is added every day - to handle this I then need one more resource, a collection of resources, where each resource in the collection is itself a collection of resources (<em>one of the aforementioned and including the example "Something-20100311"</em>). This will give me a conceptual mapping which covers time, and therefore everything I could need.</p>
<ul>
<li><strong>"Somethings"</strong> - a resource which is a collection of resources, see above for full description!</li>
</ul>
<p>Finally, I'm going to add in two shortcut resources which have no representation and are simply conceptual maps to the first and most current sets of representations.</p>
<ul>
<li><strong>"first"</strong> - a resource which always maps to the first collection of representations of Something.</li>
<li><strong>"latest"</strong> - a resource which maps to the most recent collection of representations of Something.</li>
</ul>
<h4>Giving the resources URIs</h4>
<p>Now to assign some URIs for this use case, there is no set structure and I'm not going to define one because it is up to each server (or manager of) to control it's own URI space, but for the sake of this exercise I'll define mine as follows:</p>
<p><code><br />
base: http://data.webr3.org<br />
  ...<br />
  /d/Something<br />
  /rg/Somethings<br />
  /rg/Somethings/first<br />
  /rg/Somethings/latest<br />
  /rg/Somethings/Something-20100311<br />
  /rg/Somethings/Something-20100311/something.rdf<br />
  /rg/Somethings/Something-20100311/something.n3<br />
  /rg/Somethings/Something-20100311/something.en.html<br />
  /rg/Somethings/Something-20100311/something.de.html<br />
  ...<br />
  /rg/Somethings/Something-20100305<br />
  /rg/Somethings/Something-20100305/something.rdf<br />
  /rg/Somethings/Something-20100305/something.n3<br />
  /rg/Somethings/Something-20100305/something.en.html<br />
  /rg/Somethings/Something-20100305/something.de.html<br />
  ...<br />
</code></p>
<p>From the above you can see that every possible representation has its own URI, in addition every collection of equivalent representations has its own URI, as does the collection of all those collections; and so does "Something" our non virtual object.</p>
<p>Also we've exposed multiple resources which could also be RESTful CRUD access points operating on an atompub style protocol. Small sentence, big potential, will cover approaches and protocols in later posts.</p>
<h2>The Key resource</h2>
<p>The most important thing, which I haven't yet covered, is that we've exposed a key resource, namely <code>/rg/Somethings</code>. This is a resource at the top of the representation chain which can be used to expose content negotiation, be it server or agent driven (or a mix of both), and regardless of the mappings and levels of collection further down the line this can always be a single point of entry to get representations.</p>
<p>I'll cover just how in a moment, but for now something important.</p>
<h3>Important</h3>
<p>I've had to give a fixed example just to make some progress, but we have to remember that every system has different needs, in some cases it may be that there is only a single fixed representation for a resource, whilst in others each strand of representation (like something.de.html) may take it's own versioning / temporal path. This could indicate that a structure such as the following may be in order:<br />
<code><br />
  ...<br />
  /d/Something<br />
  /rg/Somethings<br />
  /rg/Somethings/first<br />
  /rg/Somethings/latest<br />
  /rg/Somethings/Something-20100311<br />
  /rg/Somethings/Something-20100305<br />
  /rg/Somethings/Something-rdf<br />
  /rg/Somethings/Something-rdf/20100311.rdf<br />
  /rg/Somethings/Something-rdf/20100305.rdf<br />
  /rg/Somethings/Something-html-en<br />
  /rg/Somethings/Something-html-en/20100311.html<br />
  /rg/Somethings/Something-html-en/20100305.html<br />
  /rg/Somethings/Something-html-de<br />
  /rg/Somethings/Something-html-de/20100308.html<br />
  /rg/Somethings/Something-html-de/20100303.html<br />
</code></p>
<p>The above highlights that whilst we may have added more resources, the core resources are still the same; remember that they are "conceptual maps", meaning that Something-20100311 may "map" to the version of en-html on the 11th and de-html on the 8th, because the de version was written first, then translated to english and from there rdf and so forth, but they are all semantically equivalent, containing the same information even though they were created at different times.</p>
<p>The Conceptual Maps are as follows, from what I can tell this should always cover any use-case, no matter how complex.</p>
<p><code><br />
Thing 1-1 CollectionOfCollections<br />
CollectionOfCollections 1-* CollectionOfEquivalentRepresentations<br />
CollectionOfEquivalentRepresentations 1-* Representation<br />
</code></p>
<p>aside:<em>At times like this I wish I'd had a chance to study computer science so that I could express these things formally, so you'll have to make sense of it as best you can :( sorry.</em></p>
<h2>Exposing via Content Negotiation</h2>
<p>In my research so far, I've been able to figure out how to expose all of the aforementioned via HTTP, RESTfully using content negotiation in a manner which seems to be transparent to existing web browsers, but exposes all the information needed in a manner that is visible to machines; without using any additional extensions headers. As follows:</p>
<p><strong>1</strong> The client does a normal GET request on our "Something", notice that no content negotiation is happening yet, we are simply asserting via a 303 "that the requested resource does not have a representation of its own that can be transferred by the server over HTTP."<br />
<code><br />
#Request<br />
GET /d/Something HTTP/1.1<br />
Host: data.webr3.org<br />
Accept: text/html;q=0.5, application/rdf+xml<br />
<br/><br />
#Response<br />
HTTP/1.1 303 See Other<br />
Location: http://data.webr3.org/rg/Somethings<br />
</code></p>
<p><strong>2</strong>The client does a GET on the URI we specified in the Location field, namely to our key resource that can be used for content negotiation over all the representations.<br />
<code><br />
#Request<br />
GET /rg/Somethings HTTP/1.1<br />
Host: data.webr3.org<br />
Accept: text/html;q=0.5, application/rdf+xml<br />
<br/><br />
#Response<br />
HTTP/1.1 300 Multiple Choices<br />
Location: http://data.webr3.org/rg/Somethings/latest<br />
Content-Type: application/xhtml+xml<br />
Content-Length: 17400<br />
<br/><br />
&lt;?xml version="1.0" encoding="UTF-8"?><br />
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"<br />
    "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"><br />
&lt;html xmlns="http://www.w3.org/1999/xhtml"<br />
    xmlns:foaf="http://xmlns.com/foaf/0.1/"<br />
    xmlns:dc="http://purl.org/dc/elements/1.1/"<br />
    version="XHTML+RDFa 1.0" xml:lang="en"><br />
...<br />
</code></p>
<p>Here's where it gets interesting and clients can take different routes; first the route of the typical user agent:</p>
<h3>User Agent Route</h3>
<p><code><br />
#Request<br />
GET /rg/Somethings/latest HTTP/1.1<br />
Host: data.webr3.org<br />
Accept: text/html;q=0.5, application/rdf+xml<br />
<br/><br />
#Response<br />
HTTP/1.1 307 Temporary Redirect<br />
Location: http://data.webr3.org/rg/Somethings/Something-20100311<br />
<br/><br />
#Request<br />
GET /rg/Somethings/Something-20100311 HTTP/1.1<br />
Host: data.webr3.org<br />
Accept: text/html;q=0.5, application/rdf+xml<br />
<br/><br />
#Response<br />
HTTP/1.1 302 Found<br />
Vary: Accept<br />
ETag: W/"xyzzy"<br />
Last-Modified: Wed, 11 Mar 2010 12:45:26 GMT<br />
Content-Type: application/xhtml+xml<br />
Content-Length: 17400<br />
Content-Language: en<br />
Content-Location: http://data.webr3.org/rg/Somethings/Something-20100311/something.en.html<br />
<br/><br />
&lt;!DOCTYPE html...<br />
</code></p>
<p>First you can see that the user agent simply goes straight through to the most recent content and what they expect to see; which is nice, with additional Server driven content negotiation.</p>
<p>Further, we can see that full cache control is in there which as we know speeds up the net, and further still we have a rather nifty "weak" entity tag; this entity tag is shared by all representations which are semantically equal, and asserts they are equal via the entity tag. It's also worth noting that you could add this entity tag to your RDF graphs and further assert provenance which could come in very handy down the line for POST and PUT implementations.</p>
<p>To recap, common user agents just go straight through to the expected resource via server driven content negotiation and can take full advantage of cache / control data.</p>
<h3>The Machine Route</h3>
<p>Back at <strong>2</strong> the server returned a <code>300 Multiple Choices</code> as soon as <code>/rg/Somethings</code> was requested. All important was that the entity returned was XHTML+RDFa (<em>although this could have been Atom or similar..</em>), which means we can give both a human and machine readable list of all our various representations, the "machine" can then select which one it finds most fitting. The choices could be expressed using any suitable ontology; and further both <code>Alternative</code> and <code>Link</code> headers could be added if publishers wished.</p>
<p>I <em>think</em> that covers it all, if there are any errors or things I've missed please do let me know asap; but for now that'll do me - it's verbose, but I like verbose - prove it works then optimise it later :)</p>
]]></content:encoded>
			<wfw:commentRss>http://webr3.org/blog/linked-data/restarting-linked-data-from-scratch-part-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Restarting Linked Data from scratch, part 1</title>
		<link>http://webr3.org/blog/linked-data/restarting-linked-data-from-scratch-part-1/</link>
		<comments>http://webr3.org/blog/linked-data/restarting-linked-data-from-scratch-part-1/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 07:41:51 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[linked data]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[average web page]]></category>
		<category><![CDATA[Cache]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[client / server]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Control Data Systems Inc]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[important web caching]]></category>
		<category><![CDATA[Metadata]]></category>
		<category><![CDATA[Query languages]]></category>
		<category><![CDATA[rdf]]></category>
		<category><![CDATA[real web]]></category>
		<category><![CDATA[Representational State Transfer]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[RESTful protocol]]></category>
		<category><![CDATA[search engines]]></category>
		<category><![CDATA[semantic web]]></category>
		<category><![CDATA[SPARQL]]></category>
		<category><![CDATA[SPARUL]]></category>
		<category><![CDATA[Technology/Internet]]></category>
		<category><![CDATA[traffic site]]></category>
		<category><![CDATA[web application super fast]]></category>
		<category><![CDATA[web applications using desktop clients]]></category>
		<category><![CDATA[Web browser]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[web servers]]></category>
		<category><![CDATA[Web services]]></category>
		<category><![CDATA[World Wide Web]]></category>

		<guid isPermaLink="false">http://webr3.org/blog/?p=269</guid>
		<description><![CDATA[I'm going out on a limb and starting my whole journey through Linked Data and "Web 3.0" again - in order to address the challenges many in the community are facing, and which are "blocking" me. I'm going to take everything I've learned so far and go right back to grass roots with linked data.
I'm [...]]]></description>
			<content:encoded><![CDATA[<p>I'm going out on a limb and starting my whole journey through Linked Data and "Web 3.0" again - in order to address the challenges many in the community are facing, and which are "blocking" me. I'm going to take everything I've learned so far and go right back to grass roots with linked data.</p>
<p>I'm primarily documenting this journey for my own benefit, for reference and to unload it from my brain; but hopefully it'll be of use to the wider community and any feedback will be massively appreciated.</p>
<p>Here goes, I'll start by analysing the web thus far:</p>
<h2>The Web till now</h2>
<p>The power and the success of the web so far, <em>in my opinion</em>, has come from four main things:</p>
<ul>
<li>The URI</li>
<li>Hyperlink</li>
<li>The Resource</li>
<li>HTTP and it's RESTful design.</li>
</ul>
<p>More importantly it's the combination of the four working together that makes the web so great, because, they let you cut out everything else and go straight to the resource you want. This is a point that we need to concentrate on for a minute.</p>
<h3>Going straight to the resource</h3>
<p>Back at the start of the web, this allowed people to (for the first time) jump from a resource in the bowels of one companies hierarchy straight to another resource in a different companies hierarchy - very much like reading a book, looking at the references and suddenly having the book or paper it references right there in your lap - amazing to say the least.</p>
<p>Skip forwards a few years and we have the search engines, suddenly simply by typing a few keywords you can jump right to a resource (page/image/...) anywhere on the web. Fast forward some more and we get to web 2.0 where again people are amazed every time direct access to a resource is exposed. Yup.. all your web 2.0 is just this simple principal..</p>
<p>An RSS feed, well it lets you read a resource (a post) outside the context of the website and inside lets say google reader. You can rip a resource (video) out of youtube and embed it anywhere you like. You can interact with a web application super fast thanks to targeting a resource directly with say ajax and only updating that resource rather than updating the entire view (page). You can interact with web applications using desktop clients because they let you access one resource at a time; and so on and so forth, virtually every improvement you see on the web comes down to that one thing, directly accessing a resource (<em>and creating resources at a more granular level</em>).</p>
<h3>How we made the web <em>faster</em></h3>
<p>Negating the rather obvious upgrades in technology over the years, there is one primary thing that speeds up the web and virtually everything computer oriented, the cache.</p>
<p>Before all the web 2.0 stuff, resource caching was at an all time high and was making the web faster for all of us; caching at the resource level is enabled by HTTP and its RESTful design. Control Data allows us to limit how much information needs transferred over the web, request an image once and it gets transferred, request it a second time and thanks to caching and HTTP odds are very high that it won't get transferred again. When you consider that the average web page can easily have 30, 50, 300 images and static files embedded in it this is a huge speed increase, and frankly one we could not live without.</p>
<p>Skipping forwards to web 2.0 and the present day again, we've gone wild with caching; anybody who's been involved with a high traffic site will tell you that the only way to do it is to cache everything you can; from data in memory, through to code and op code caches. But this is only half the story.. a strange this has happened..</p>
<h3>How we made the web <em>slower</em></h3>
<p>Simply, we forgot HTTP and a RESTful web somehow - that all important web caching whether it be at intermediate servers or in a web browser, it's forgotten.</p>
<p>To illustrate, if you view an image and then view it again, it'll be there instantly - why? because last-modified, etag and other control data is sent by great web servers like apache for static files, until you force a refresh or the file changes on the server you'll simply get a 304 response telling whatever cache down the line to use it's own copy instead. Now, try jumping on to a web page, even this one and you'll find the whole thing is reloaded, every time. I'd estimate that circa 80% of all pages you visit are fully reloaded every single time you see them, if not more.</p>
<p>Here's the reason - most pages are generated by scripts now, and something that goes unnoticed by most developers is that the web server (like apache) hand over *full* control to the language runtimes, and in turn to the developer. In other words, unless developers are calculating, receiving and sending control data for each response, and validating every http message in to their scripts, then most of the benefits of HTTP and RESTful design are completely lost; <em>especially caching</em>.</p>
<p>Here's a fact, whether you agree with it or not, to me it is a fact: <em>the web has to be RESTful for it to work properly</em>, whether it's a web of documents, or a web of data, or both.</p>
<h2>Looking at the current state of Linked Data</h2>
<p>Linked Data is amazing because it takes the big four I mentioned earlier (URI, Hyperlink, Resource, HTTP) to a new level; we create resources at the most granular level possible, assign them URIs, link them together with <em>typed</em> hyperlinks then expose them via HTTP.</p>
<p>Notice I didn't mention REST in there? that's because I (and I'm not the only one) don't feel that Linked Data is currently RESTful. And as we can learn from web 2.0, unless this is addressed we'll face major problems down the line. In addition, because of this lack of RESTful-ness I feel like the data isn't linked; simply using URIs from different datasets on both sides of a triple does not link those datasets, well not from a client perspective anyway.</p>
<p>To expand and refining the issues:</p>
<h3>SPARQL Silos</h3>
<p>Issue one, is that SPARQL and the servers with RDF stores which power it are positioned at the wrong side of the client / server relationship imho. Because each major dataset effectively has it's own server and access point (<em>SPARQL interface</em>) it means that when you query it, it can only return the Linked Data which it stores. This leaves us three options at the minute:</p>
<ul>
<li>let that server pull in remote Linked Data and store it too (which makes the server fill up and slow down, and turns it in to a silo).</li>
<li>use one great big server that tries to store <em>all</em> the linked data (which feels like a silo all over again to me, not distributed at all).</li>
<li>Run our own server and only store limited data in it (limited.. and again a silo I guess)</li>
</ul>
<p>If we moved SPARQL to the client side however, then all it would need is a starting point from which it could traverse the web of data, only pulling in what it needed for a query. This may sound slow but if all data was exposed as resources like it should be, and with control data so it could be cached, this slow down would soon disappear; lesson from web 1 and 2!</p>
<p>With regards the caching, this could happen at traditional intermediate caches within the internet and at ISPs, locally in client side triples stores (like a browsers cache) or the existing big servers that attempt to store all the linked data could be repositioned as linked data caches.</p>
<p>For example a small RDF document could simply delegate seeAlso http://datacac.he/http://subject.uri and that linked data cache could return back all the information it knows about the subject by returning the RDF results of a SPARQL describe. This alone would be a HUGE speed up, prevent silos and create a real web of data.</p>
<p>In addition, this would keep all linked data transferred through the web in RDF format, and thus machine readable and typed. At the minute we have lots and lots of SPARQL queries, which essentially are just untyped junk data that a machine couldn't possibly understand - SPARQL results remove all the goodness from RDF and give us something that is domain and developer specific, not re-usable. Think about that for a moment..</p>
<p>Clarification: I'm not saying SPARQL + RDF stores shouldn't be on the server side, they should as they are needed in most cases, I'm simply saying that the primary interface to linked data shouldn't be SPARQL over HTTP to a remote SPARQL endpoint. Rather we should be accessing RDF documents, or entities if you like via HTTP.</p>
<h3>RESTful RDF</h3>
<p>Issue two, the focus has been on getting data on the web, finding ways to link it, access it, store and query these vast datasets; and the work done thus far is amazing! But now that's handled it's time to go back to basics and find ways of both getting and publishing Linked Data RESTfully, at a granular per resource level.</p>
<p>This means handling RDF like ATOM, and essentially making atompub all over for RDF (as many are thinking and working on). I feel that regardless of what's implemented behind the interface, and whether triples stores and SPARUL are used, we still need to manage RDF / Linked Data in terms of documents and entities for it to be RESTful.</p>
<p>An additional issue raised by this is loosing the notion of a quad, g s p o, Named Graphs are vastly important to linked data, but we need to get named graphs in to triples and out of quads so we are always working with RDF through HTTP.</p>
<p>Also worth noting that temporal, provenance, multi-language, multiple representations etc will all need handled too; without using any HTTP extensions; no point half baking it or making the solution dependant on drafts - needs to work with the Universal Interface!</p>
<h2>First Step</h2>
<p>The above means one of the first challenges and things I'll try to tackle, is to find a way to fit a RESTful RDF publishing and exposing protocol in to the shared http space on a web server; taking in to account things like content negotiation, multiple representations, versions / time varying representations, and backwards compatibility with the current web.</p>
<p>note: I'm not going to define the protocols, plenty of more intelligent people than me are working on these things, just leverage a space where a full RESTful protocol can work in unison with the way we currently do things so that it's transparent to browsers and visible to linked data clients. This should then allow a stable test environment to try out different ways of doing things and test that the current web doesn't break.</p>
<p>To be continued.. often and frequently. <em>I'm blocked on my current, v important project, and need to address these things</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://webr3.org/blog/linked-data/restarting-linked-data-from-scratch-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reading List : Web, Linked Data, REST, Semantic Web</title>
		<link>http://webr3.org/blog/internet/reading-list-web-linked-data-rest-semantic-web/</link>
		<comments>http://webr3.org/blog/internet/reading-list-web-linked-data-rest-semantic-web/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 02:03:17 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[1.1 Uniform HTTP Protocol]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Atom Publishing Protocol]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[Knowledge representation]]></category>
		<category><![CDATA[linked data]]></category>
		<category><![CDATA[Paging]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Query languages]]></category>
		<category><![CDATA[rdf]]></category>
		<category><![CDATA[Reification]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Roy T. Fielding]]></category>
		<category><![CDATA[Roy T. Fielding Dissertation]]></category>
		<category><![CDATA[semantic web]]></category>
		<category><![CDATA[Simple Knowledge Organization System]]></category>
		<category><![CDATA[Software engineering]]></category>
		<category><![CDATA[SPARQL]]></category>
		<category><![CDATA[Technology/Internet]]></category>
		<category><![CDATA[URIs Resources]]></category>
		<category><![CDATA[Web Access Control]]></category>
		<category><![CDATA[Web Architecture]]></category>
		<category><![CDATA[Web Resources     Named Graphs]]></category>
		<category><![CDATA[Web services]]></category>
		<category><![CDATA[Web Tutorial   Mindswap]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[write-enabled Web]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://webr3.org/blog/?p=264</guid>
		<description><![CDATA[Personally, I have two types of reading, the posts etc that I "tweet" and then the heavier reading I do over time; this is a list of the latter for the past month - hopefully it'll help somebody who's looking for the same kind of info I have been.
I've grouped all the links in to [...]]]></description>
			<content:encoded><![CDATA[<p>Personally, I have two types of reading, the posts etc that I "tweet" and then the heavier reading I do over time; this is a list of the latter for the past month - hopefully it'll help somebody who's looking for the same kind of info I have been.</p>
<p>I've grouped all the links in to two main sections, and then sub-grouped by how they make sense in my head! :)</p>
<h3>Web, HTTP and REST</h3>
<p>Roy T. Fielding Dissertation - <a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm" target="_blank">Architectural Styles and the Design of Network-based Software Architectures</a> Of particular relevance and note are chapters 4-6 (many only ever read chapter 5 and miss the context + summary *needed* in chapters 4 and 6!)</p>
<ul>
<li><a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/web_arch_domain.htm" target="_blank"> Chapter 4 - Designing the Web Architecture: Problems and Insights</a></li>
<li><a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm" target="_blank"> Chapter 5 - Representational State Transfer (REST)</a></li>
<li><a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/evaluation.htm" target="_blank"> Chapter 6 - Experience and Evaluation</a></li>
</ul>
<p><a href="http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven" target="_blank"> Roy T. Fielding - REST APIs must be hypertext-driven</a><br />
<a href="http://www.mail-archive.com/whatwg@lists.whatwg.org/msg12443.html" target="_blank"> Discussion on HTML5 and RESTful HTTP in browsers</a><br />
<a href="http://tech.groups.yahoo.com/group/rest-discuss/message/5168" target="_blank"> Discussion on URIs Resources and Switching content types w/ REST angle (v good)</a></p>
<p><a href="http://www.w3.org/Protocols/rfc2616/rfc2616.html" target="_blank">RFC 2616 HTTP/1.1</a> and the HTTPbis Working Group HTTP/1.1 update in parts:</p>
<ol>
<li><a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging" target="_blank">Messaging</a></li>
<li><a href="http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics" target="_blank">Semantics</a></li>
<li><a href="http://tools.ietf.org/html/draft-ietf-httpbis-p3-payload" target="_blank">Payload</a></li>
<li><a href="http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional" target="_blank">Conditional</a></li>
<li><a href="http://tools.ietf.org/html/draft-ietf-httpbis-p5-range" target="_blank">Range</a></li>
<li><a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache" target="_blank">Cache</a></li>
<li><a href="http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth" target="_blank">Authentication</a></li>
</ol>
<h3>Linked Data and the Semantic Web</h3>
<p><a href="http://esw.w3.org/topic/SweoIG/TaskForces/CommunityProjects/LinkingOpenData" target="_blank"> Linking Open Data Community Project</a><br />
<a href="http://esw.w3.org/topic/SweoIG/TaskForces/CommunityProjects/LinkingOpenData/Applications" target="_blank"> Linked Data Applications</a><br />
<a href="http://esw.w3.org/topic/TaskForces/CommunityProjects/LinkingOpenData/EquivalenceMining" target="_blank"> Equivalence Mining and Matching Frameworks</a><br />
<a href="http://esw.w3.org/topic/TaskForces/CommunityProjects/LinkingOpenData/SemWebClients" target="_blank"> Linked Data Browsers, Mashups and other Client Applications</a></p>
<p><a href="http://esw.w3.org/topic/DatasetDynamics" target="_blank"> Dataset Dynamics - On the Dynamics of Linked Datasets</a><br />
<a href="http://esw.w3.org/topic/WriteWebOfData" target="_blank"> Realizing a write-enabled Web of Data</a><br />
<a href="http://esw.w3.org/topic/WebAccessControl" target="_blank"> Web Access Control (WAC)</a>  - a decentralized system for allowing different users and groups various forms of access to resources where users and groups are identified by HTTP URIs.<br />
<a href="http://esw.w3.org/topic/WebAccessControl/Vocabulary" target="_blank"> Discussion of the WAC vocabulary</a><br />
<a href="http://www.w3.org/DesignIssues/CloudStorage.html" target="_blank"> Socially Aware Cloud Storage Design Note</a><br />
<a href="http://www.w3.org/2010/Talks/0303-socialcloud-tbl/" target="_blank"> Distributed Social Networking through Socially Aware Cloud Storage from TimBL</a><br />
<a href="http://esw.w3.org/topic/AwwswHome" target="_blank"> AWWSW - "Architecture of the World Wide Semantic Web" Task Force</a></p>
<p><a href="http://www.w3.org/TR/sparql11-http-rdf-update/" target="_blank"> SPARQL 1.1 Uniform HTTP Protocol for Managing RDF Graphs</a><br />
<a href="http://www4.wiwiss.fu-berlin.de/pubby/" target="_blank"> A Linked Data Frontend for SPARQL Endpoints</a><br />
<a href="http://www4.wiwiss.fu-berlin.de/bizer/rdfapi/index.html" target="_blank"> RAP - RDF API for PHP V0.9.6</a><br />
<a href="http://buzzword.org.uk/2009/posted-data/" target="_blank"> Inav the Terrible - An idea for posting RDF through HTTP.</a></p>
<p><a href="http://n2.talis.com/wiki/Changesets" target="_blank"> Talis Changesets</a><br />
<a href="http://triplify.org/vocabulary/update" target="_blank"> Triplify Update Vocabulary</a></p>
<p><a href="http://inkdroid.org/journal/2009/11/04/skos-as-atom/" target="_blank"> skos as atom</a></p>
<p><a href="http://tools.ietf.org/html/rfc4287" target="_blank"> RFC 4287 - The Atom Syndication Format</a><br />
<a href="http://tools.ietf.org/html/rfc5023" target="_blank"> RFC 5023 - The Atom Publishing Protocol</a><br />
<a href="http://ietfreport.isoc.org/all-ids/draft-snell-atompub-tombstones-06.txt" target="_blank"> AtomPub Tombstones - The Atom "deleted-entry" Element</a><br />
<a href="http://tools.ietf.org/html/rfc5005" target="_blank"> RFC 5005 - Feed Paging and Archiving</a><br />
<a href="http://tools.ietf.org/html/draft-brown-versioning-link-relations-07" target="_blank"> Versioning Link Relations - Link Relation Types for Simple Version Navigation between Web Resources</a></p>
<p><a href="http://www2005.org/cdrom/docs/p613.pdf" target="_blank"> Named Graphs, Provenance and Trust</a><br />
<a href="http://sunsite.informatik.rwth-aachen.de/Publications/CEUR-WS/Vol-521/paper1.pdf" target="_blank"> Accessing Site-Specific APIs Through Write-Wrappers From The Web of Data</a><br />
<a href="http://events.linkeddata.org/ldow2009/papers/ldow2009_paper18.pdf" target="_blank"> Provenance Information in the Web of Data - LDOW 2009 paper</a><br />
<a href="http://www.w3.org/2002/Talks/0910-rdf-reification/Overview.html" target="_blank"> Using Reification To Extend RDF</a> (historical reification approach)<br />
<a href="http://dig.csail.mit.edu/2009/presbrey/UAP.pdf" target="_blank"> RDF Policy-based URI Access Control for Content Authoring</a><br />
<a href="http://eprints.ecs.soton.ac.uk/18332/1/opm.pdf" target="_blank"> The Open Provenance Model Core Specification (v1.1)</a><br />
<a href="http://www.w3.org/2005/Incubator/prov/wiki/Main_Page" target="_blank"> W3C Provenance Incubator Group</a></p>
<p><a href="http://www.w3.org/History/" target="_blank"> History of the Web 1945, 1980 through 1997 on W3</a><br />
<a href="http://www.w3.org/TR/leiri/" target="_blank"> LEIRI - Legacy extended IRIs for XML resource identification</a> The type of "URI" used in xml:base<br />
<a href="http://www.slideshare.net/LeeFeigenbaum/cshals-2010-w3c-semanic-web-tutorial" target="_blank"> CSHALS 2010 W3C Semanic Web Tutorial</a><br />
<a href="http://www.mindswap.org/2002/rdfconvert/" target="_blank">Mindswap online RDF Converter</a><br />
<a href="http://www.w3.org/RDF/Validator/" target="_blank">W3 online RDF Validator</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webr3.org/blog/internet/reading-list-web-linked-data-rest-semantic-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTTP RFC paraphrased for the Web of Data</title>
		<link>http://webr3.org/blog/semantic-web/http-rfc-paraphrased-for-the-web-of-data/</link>
		<comments>http://webr3.org/blog/semantic-web/http-rfc-paraphrased-for-the-web-of-data/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 05:16:44 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[linked data]]></category>
		<category><![CDATA[semantic web]]></category>
		<category><![CDATA[application-level protocol]]></category>
		<category><![CDATA[Computer networking]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Dereferenceable Uniform Resource Identifier]]></category>
		<category><![CDATA[diverse applications]]></category>
		<category><![CDATA[generic protocol]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[HTTP Protocol]]></category>
		<category><![CDATA[hypermedia information systems]]></category>
		<category><![CDATA[Hypertext Transfer Protocol]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[Internet protocols]]></category>
		<category><![CDATA[Internet systems]]></category>
		<category><![CDATA[rdf]]></category>
		<category><![CDATA[Representational State Transfer]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Technology/Internet]]></category>
		<category><![CDATA[Uniform Resource Identifier]]></category>
		<category><![CDATA[Uniform Resource Locator]]></category>
		<category><![CDATA[URI scheme]]></category>
		<category><![CDATA[web of data]]></category>
		<category><![CDATA[World Wide Web]]></category>

		<guid isPermaLink="false">http://webr3.org/blog/?p=213</guid>
		<description><![CDATA[This post is all about gleaning as much useful information as possible from the HTTP Protocol RFC 2616 in order to answer simple and complex Web of Data related questions.
I've chosen the rather old RFC 2616 (1999!) at this time rather than the upcoming HTTPbis because I feel it's important to know where you are [...]]]></description>
			<content:encoded><![CDATA[<p>This post is all about gleaning as much useful information as possible from the <a href="http://www.w3.org/Protocols/rfc2616/rfc2616.html">HTTP Protocol RFC 2616</a> in order to answer simple and complex Web of Data related questions.</p>
<p>I've chosen the rather old <a href="http://www.w3.org/Protocols/rfc2616/rfc2616.html">RFC 2616</a> (1999!) at this time rather than the upcoming <a href="http://tools.ietf.org/wg/httpbis/">HTTPbis</a> because I feel it's important to know where you are coming from, and whilst many things about the Web of Data feel new, they are really age old principals and technologies which have never been used to their full potential. Further you won't be able to appreciate the refinements in HTTPbis if you don't know what it's refining.</p>
<p>Virtually everything from here on is just a snippet/quote or paraphrase of the RFC. Let's start with a simple one:</p>
<p><strong>Why use HTTP?</strong></p>
<blockquote><p>HTTP is an application-level protocol for distributed, collaborative, hypermedia information systems. ... HTTP allows an open-ended set of methods and headers that indicate the purpose of a request. ... HTTP is also used as a generic protocol for communication between user agents and proxies/gateways to other Internet systems ... HTTP allows basic hypermedia access to resources available from diverse applications. <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec1.html#sec1.1">source</a></p></blockquote>
<p>I do fully recommend reading the entire RFC and the new <a href="http://tools.ietf.org/wg/httpbis/">HTTPbis</a>, most questions can be answered by returning to these documents and reading what they say (it's all in the detail); here's some more info gleaned from the RFC:</p>
<p><strong>The difference between POST and PUT, URIs as Identifiers, and URIs to identify more than just documents.</strong></p>
<blockquote><p>The fundamental difference between the POST and PUT requests is reflected in the different meaning of the Request-URI. The URI in a POST request identifies the resource that will handle the enclosed entity. That resource might be a data-accepting process, a gateway to some other protocol, or a separate entity that accepts annotations. In contrast, the URI in a PUT request identifies the entity enclosed with the request -- the user agent knows what URI is intended .. <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.6">source</a></p></blockquote>
<p><strong>Using POST RESTfully for more than just form data</strong>.</p>
<blockquote><p>The POST method is used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line. POST is designed to allow a uniform method to cover the following functions: Annotation of existing resources; ... Extending a database through an append operation. The actual function performed by the POST method is determined by the server and is usually dependent on the Request-URI. The posted entity is subordinate to that URI in the same way that ... a record is subordinate to a database. <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5">source</a></p></blockquote>
<p><strong>What to do if something is created as a result of a POST request</strong>.</p>
<blockquote><p>If a resource has been created on the origin server, the response SHOULD be 201 (Created) and contain an entity which describes the status of the request and refers to the new resource, and a Location header. <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5">source</a></p></blockquote>
<p><strong>When to use a PUT request?</strong></p>
<blockquote><p>The PUT method requests that the enclosed entity be stored under the supplied Request-URI. <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5">source</a></p></blockquote>
<p><strong>How to handle a PUT</strong></p>
<blockquote><p>If the Request-URI refers to <strong>an already existing resource</strong>, the enclosed entity SHOULD be considered as a modified version of the one residing on the origin server.</p>
<p>If the Request-<strong>URI does not point to an existing resource</strong>, and that URI is capable of being defined as a new resource by the requesting user agent, the origin server can create the resource with that URI. If a new resource is created, the origin server MUST inform the user agent via the 201 (Created) response. If an existing resource is modified, either the 200 (OK) or 204 (No Content) response codes SHOULD be sent. <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5">source</a></p></blockquote>
<p><strong>if extra headers were sent?</strong></p>
<blockquote><p>Unless otherwise specified for a particular entity-header, the entity-headers in the PUT request SHOULD be applied to the resource created or modified by the PUT. <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5">source</a></p></blockquote>
<p><strong>and what if I want to save it somewhere other than the URI specified by the client?</strong></p>
<blockquote><p> If the server desires that the request be applied to a different URI, it MUST send a 301 (Moved Permanently) response. <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5">source</a></p></blockquote>
<p><strong>and if the PUT can't be done..</strong></p>
<blockquote><p>If the resource could not be created or modified with the Request-URI, an appropriate error response SHOULD be given that reflects the nature of the problem. <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5">source</a></p></blockquote>
<p><strong>can I use PUT with server side versioning?</strong></p>
<blockquote><p>A single resource MAY be identified by many different URIs. For example, an article might have a URI for identifying "the current version" which is separate from the URI identifying each particular version ... a PUT request on a general URI might result in several other URIs being defined by the origin server. <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5">source</a></p></blockquote>
<p><strong>how would I let a client know I implement server side versioning when they PUT?</strong></p>
<blockquote><p>If an existing resource is modified, either the 200 (OK) or 204 (No Content) response codes SHOULD be sent.. <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5">source</a></p></blockquote>
<p>200 indicates a message body in the response ;)</p>
<p><strong>and DELETE?</strong><br />
well it's short so you may as well read it all..</p>
<blockquote><p> The DELETE method requests that the origin server delete the resource identified by the Request-URI. This method MAY be overridden by human intervention (or other means) on the origin server. The client cannot be guaranteed that the operation has been carried out, even if the status code returned from the origin server indicates that the action has been completed successfully. However, the server SHOULD NOT indicate success unless, at the time the response is given, it intends to delete the resource or move it to an inaccessible location.</p>
<p>A successful response SHOULD be 200 (OK) if the response includes an entity describing the status, 202 (Accepted) if the action has not yet been enacted, or 204 (No Content) if the action has been enacted but the response does not include an entity. <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.7">source</a></p></blockquote>
<p>note that a response can be 200, meaning you can return a response message (like i have X other versions here [list] or delete them all by clicking here [form input which POSTs to a service] ), or an RDF response that can be interpreted by a client to do the aforementioned :)</p>
<p><strong>but can't I tunnel all actions through GET?</strong></p>
<blockquote><p>Safe Method .. GET .. SHOULD NOT have the significance of taking an action other than retrieval! <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.1.1">source</a></p></blockquote>
<p><em><strong>edit</strong>: removed small section about URI vs URL! Do however see the <a href="http://webr3.org/blog/semantic-web/http-rfc-paraphrased-for-the-web-of-data/comment-page-1/#comment-231">comment</a> from <a href="http://sw-app.org/about.html">Michael</a> which links to more information on the subject.</em></p>
<p><strong>Thanks for reading :)</strong><br />
There is much more information in the RFC, but those were some nicer points I found useful and relevant to current Web of Data topics &#038; discussions.</p>
]]></content:encoded>
			<wfw:commentRss>http://webr3.org/blog/semantic-web/http-rfc-paraphrased-for-the-web-of-data/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The end of Search? Linked Data, Semantic Web &amp; thoughts.</title>
		<link>http://webr3.org/blog/semantic-web/the-end-of-search-linked-data-semantic-web-and-my-vision/</link>
		<comments>http://webr3.org/blog/semantic-web/the-end-of-search-linked-data-semantic-web-and-my-vision/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 23:03:09 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[linked data]]></category>
		<category><![CDATA[semantic web]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[DBpedia]]></category>
		<category><![CDATA[FOAF]]></category>
		<category><![CDATA[Georgi Kobilarov]]></category>
		<category><![CDATA[Globally Unique Identifier]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[rdf]]></category>
		<category><![CDATA[RDFa]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[search engines]]></category>
		<category><![CDATA[software side]]></category>
		<category><![CDATA[Technology/Internet]]></category>
		<category><![CDATA[Uniform Resource Identifier]]></category>
		<category><![CDATA[Virtuoso Universal Server]]></category>

		<guid isPermaLink="false">http://webr3.org/blog/?p=164</guid>
		<description><![CDATA[Earlier today I was reading an interesting post by Georgi Kobilarov entitled "What’s wrong with the Linked Data world, part 1 - Keyword Search"; this particularly sparked my interest because in all honesty "search" had never came in to my vision of the semantic web / linked data world.
To me, the draw of linked data [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier today I was reading an interesting post by <a href="http://www.georgikobilarov.com/">Georgi Kobilarov</a> entitled "<a href="http://blog.georgikobilarov.com/2009/10/whats-wrong-with-the-linked-data-world-part-1-keyword-search/">What’s wrong with the Linked Data world, part 1 - Keyword Search</a>"; this particularly sparked my interest because in all honesty "search" had never came in to my vision of the semantic web / linked data world.</p>
<p>To me, the draw of linked data and the semantic web has always been exploration; the notion that even the most unskilled of publishers should be able to enrich their content via semi-automated software to the standards of a near perfect wikipedia article has always been the driving force. Additionally, content classification, relation, linkage, data centralization and the like are all major benefits which will make a vast difference to the usability of the web.</p>
<p>Search will always be a major part of the internet, at the moment we use search to find content on a specific subject, then search again to find more, and search again to find related or expanded info, help, facts, answers, whatever; however, in the future I hope to see search move to a less prominent role, one where we use search to find the most suitable "entry point" in to the web of linked data - and from there every other piece of related / expanded information is either on page, or a click (link) away.</p>
<p>Some major hurdles need to be jumped before we can get to that stage though, both through lack of organization and lack of appropriate software. Personally I have a mental blueprint / overview of what's needed (imho), and some very specific ideas on the software side, with any luck I'll get a chance to contribute + build some of this, we'll see.</p>
<p>Some thoughts of what's needed from my little brain.</p>
<p><strong>Linked Data Ping</strong><br />
A central service API which is pinged by all software as it publishes information with machine accessible content. (Needed way before (x)HTML+RDFa takes off). Provides a stream of all recent pings to be consumed (xmpp pub-sub?).</p>
<p><strong>Clustered Servers holding a centralized data GUID lookup and proxy.</strong><br />
In essence all resources on the net should be a linked pair of GUID to endpoint, each endpoint should contain a reference to the GUID, and each GUID should be a URI which redirects to the endpoint, endpoints change GUID/URI stays unique. In an ideal scenario when somebody creates a link to X resource or Y document, the publishing/controlling software should replace the endpoint with the GUID instead. This would also enable multiple other services such as centralized pingback, references, statistics etc.</p>
<p><strong>Machine Readable Data Cache.</strong><br />
Together with the aforementioned services a high availability database of cache'd information should exist; in principal this would work by reading the stream of "Linked Data Pings", getting the GUID for the content and then retrieving all machine readable data and caching it. Much like the RDF data exposed through dbpedia, however for everything. Even if only a predefined subset of the common rdf vocabularies was stored and exposed it'd be enough to start, from there all other domain specific ontology could be retrieved by reading the endpoint itself.</p>
<p><strong>Semantic CMS</strong><br />
Ideally we need a new breed of CMS, one that not only has simple FOAF and Dublin Core (~Drupal 7), but also support for full content enrichment using the aforementioned machine services; and provides a simple UI for manually exposing entities, events, facts etc. (Think highlight name in text, mark as Person with Name, system finds guid and builds relevant RDFa and we have another triple of linked data.)</p>
<p>The possibilities from this point are endless; if you're reading this document after all this has been made, then you'd see a whole host of in text links through to more information on each keyphrase, person, entity etc; you'd be aided by auto injection of sources, related reading, comments, further documents discussing the content here, in short you'd be exploring the net one click at a time, linked data all the way; not searching.</p>
<p>In summary (and very much imho), Linked Data is not for searching, it's for linking data - search was invented to address the issue that everything isn't linked, when it is then the link takes precedence again.</p>
<p>My only worry in all of this, is the idea that all rdf triples are fact, and true - already the major search engines are exposing rdfa data in summaries, 5* ratings on products and suchlike, the room for abuse will only get worse.</p>
<p>Thanks Georgi for placing the spark that clarified my current thoughts.</p>
<p>Finally, this isn't a biased opinion in anyway, or an endorsement, but to me openlink virtuoso, dbpedia, zemanta and open calais are leading the way and enabling all of this; together with the hard working folks contributing to the various linked W3C projects and specs. If only dbpedia/zemanta/calais would unify there uri's/guids/endpoints we'd be a lot further along.. (well I would ;).</p>
<p>Regards!</p>
<p><img class="alignnone size-full wp-image-167" title="linkeddata" src="http://webr3.org/blog/wp-content/uploads/2009/10/linkeddata.jpg" alt="linkeddata" width="600" height="250" /></p>
]]></content:encoded>
			<wfw:commentRss>http://webr3.org/blog/semantic-web/the-end-of-search-linked-data-semantic-web-and-my-vision/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

