# Base: http://bblfish.net/work/atom-owl/2004-08-12/
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix foaf:    <http://xmlns.com/foaf/0.1/> .
@prefix :        <http://bblfish.net/work/atom-owl/2004-08-12/Atom.owl#> .

<tag:bblfish.net/20040812/2035/blog1#version1>
      :entry-location <http://bblfish.net/work/atom-owl/2004-08-12/entry.2004-08-12-2035.n3> .

<http://bblfish.net/work/atom-owl/2004-08-12/entry.2004-08-13-1047.n3>
      a       :Entry ;
      :alternate
              [ a       :Link ;
                :href   <http://bblfish.net/work/atom-owl/2004-08-12/blogexample.html#entry.2004-08-13-1047.n3> ;
                :mime-type "text/html"^^xsd:string ;
                :text   "html blog entry"^^xsd:string
              ] ;
      :author [ a       foaf:Person ;
                foaf:homepage <http://bblfish.net/> ;
                foaf:mbox <mailto:hjs@bblfish.net> ;
                foaf:name "H. Story"^^xsd:string
              ] ;
      :content
              [ a       :Content ;
                :data   """To start off let us look at the feed files. There are two sets of these files:<ul><li><code><a href='feed.n3'>feed.n3</a></code>, which is the head of the feed, the dynamic file that changes whenever a new entry is added to the blog. This is the file that blog readers will be polling every so often.<li><code><a href='feed-entries_0_to_3.n3'>feed-entries_0_to_3.n3</a></code>, <code>feed-entries_x_to_y.n3</code>,...  each of which is an archive of older feed entries. These files <b>SHOULD NOT</b> change, making them prime candidates for cacheing.</ul> Each of these files is a part of the whole result. I don't yet have a concept yet the union of all the  content in these files. This may be something that needs adding. Each file points to the previous  results with code such as  <br><code><pre>    &lt;&gt;   :previous
              [ a       :Link ;
                :href   &lt;feed-entries_0_to_3.n3&gt; ;
                :mime-type \"application/rdf+n3\"^^xsd:string ;
                :text   \"previous 4 entries\"^^xsd:string 
              ] .
 </pre></code><br>  which says that the previous entries can be found at the resource <code>&lt;feed-entries_0_to_3.n3&gt;</code>. <code>&lt;feed-entries_0_to_3.n3&gt;</code> itself points to the dynamic element of the feed thus <br><code><pre>  &lt;&gt;   a       :Feed ;
      :about  &lt;blog.n3&gt; ;
      :dynamic &lt;feed.n3&gt; ;
</pre></code><br> which points to the dynamic part of the feed. It also points to the blog file that contains the so called 'introspection' information about the blog: namely where the url for adding new entries is located, and other things which I know are not yet fully thought through.<p> <b>Notice</b>: The current feeds contain <b>very little</b> information. They  point to the entries themselves. <code>feed.n3</code> for example points to four (only four for illustrative purposes) entries as shown here:  <br><code><pre>&lt;&gt;    a       :Feed ;
      :dynamic &lt;&gt; ;
      :entry  &lt;entry.2004-08-13-1047.n3&gt; , &lt;entry.2004-08-13-1445.n3&gt; ,
               &lt;entry.2004-08-13-1752.n3&gt; , &lt;entry.2004-08-13-1632.n3&gt; ;
</pre></code><br> To help clients tell which entries they have or have not downloaded we can add further information such as the EntryID and the EntryVersion of each of these entries. That is done further down in the <code>feed.n3</code> file:  <br><code><pre>&lt;entry.2004-08-13-1047.n3&gt;
      :entry-version &lt;tag:bblfish.net/20040813/1047/blog1#version1&gt; ;
      :id     &lt;tag:bblfish.net/20040813/1047/blog1&gt; .

&lt;entry.2004-08-13-1445.n3&gt;
      :entry-version &lt;tag:bblfish.net/20040813/1445/blog1#version1&gt; ;
      :id     &lt;tag:bblfish.net/20040813/1445/blog1&gt; .</pre></code><br> Clearly a lot more could be added. One could add the title (an obvious addition), perhaps the publication date,  the last changed date... One could of course add everything, as with the <a href='AllInOneDatabase.n3'>AllInOneDatabase.n3</a>, but that would be extreemely wasteful in bandwidth and very un-<a href='http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm'>REST</a>ful. What to add and not to add is really an empirical research topic. Having very little information is not really a problem. As long as the client can  determine where the entries are and which entries it allready has fetched (hence the entry-version field) it will only need to fetch the content once. With  HTTP 1.1 Persistent Connections, having to make multiple requests is not at all a problem. """^^xsd:string ;
                :mime-type "text/html"^^xsd:string
              ] ;
      :copyright <http://creativecommons.org/licenses/by-sa/2.0/> ;
      :created "2004-08-13T10:47:00+0200"^^xsd:dateTime ;
      :entry-version <tag:bblfish.net/20040813/1047/blog1#version1> ;
      :id     <tag:bblfish.net/20040813/1047/blog1> ;
      :in-reply-to <tag:bblfish.net/20040812/2035/blog1#version1> ;
      :title  [ a       :Content ;
                :data   "N3 illustration - The Feed"^^xsd:string ;
                :mime-type "text/simple"^^xsd:string
              ] .
