W3C home > Mailing lists > Public > public-awwsw@w3.org > November 2007

Fwd: Pointer to the ontology for generic resources. HTTP Link header.

From: Alan Ruttenberg <alanruttenberg@gmail.com>
Date: Sun, 18 Nov 2007 01:22:40 -0500
Message-Id: <53F43B73-D2B1-4BB1-A4E4-88D38C3FC568@gmail.com>
To: public-awwsw@w3.org

I wanted to make sure this was in the awwsw stream.

Begin forwarded message:

> From: Tim Berners-Lee <timbl@w3.org>
> Date: November 2, 2007 12:15:13 PM EDT
> To: Alan Ruttenberg <alanruttenberg@gmail.com>, Jonathan A Rees  
> <jar@mumble.net>
> Cc: Semantic Web <semantic-web@w3.org>
> Subject: Pointer to the ontology for generic resources.  HTTP  Link  
> header.
>
> Alan,
>
> Here is the ontology for  generic resources:
>
> http://www.w3.org/2006/gen/ont
>
> a file which uses it:
>
> http://www.w3.org/2007/ont/meta.rdf
>
> which in n3 is
> _______
> @prefix : <http://www.w3.org/2000/01/rdf-schema#> .
> @prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
> @prefix s: <http://www.w3.org/2000/01/rdf-schema#> .
> @prefix owl: <http://www.w3.org/2002/07/owl#> .
> @prefix doc: <http://www.w3.org/2000/10/swap/pim/doc#> .
> @prefix gen: <http://www.w3.org/2006/gen/ont#>.
> @prefix link: <#> .
> @prefix foaf: <http://xmlns.com/foaf/0.1/>.
> @prefix cc:     <http://creativecommons.org/ns#>.
>
>
> <unit> cc:licence <http://www.w3.org/2000/10/swap/LICENSE.n3>.
> <unit.n3> cc:licence <http://www.w3.org/2000/10/swap/LICENSE.n3>;
>     a gen:ContentTypeSpecificResource.
>
> <unit.rdf> cc:licence <http://www.w3.org/2000/10/swap/LICENSE.n3>;
>     a gen:ContentTypeSpecificResource.
>
> <unit> gen:contenTypeSpecific <unit.n3>, <unit.rdf>.
> _____________________
>
> With this htaccess,
>
> $ cat .htaccess
> <Files ~ "unit.*">
> Header set Link meta;rel=meta
> </Files>
> $
>
>
> the meta file i pointe d to by the HTTP request, even on a head:
>
> __$ curl -I http://www.w3.org/2007/ont/unit.rdf
> HTTP/1.1 200 OK
> Date: Fri, 02 Nov 2007 16:10:55 GMT
> Server: Apache/2
> Last-Modified: Tue, 31 Jul 2007 23:06:23 GMT
> ETag: "43697420db9c0"
> Accept-Ranges: bytes
> Content-Length: 14255
> Cache-Control: max-age=21600
> Expires: Fri, 02 Nov 2007 22:10:55 GMT
> P3P: policyref="http://www.w3.org/2001/05/P3P/p3p.xml"
> Link: meta;rel=meta
> Content-Type: application/rdf+xml; qs=0.9
> _______________________
>
>
> Tabulator implements this on the cleint side, and pulls in the  
> metadata.
>
> Tim
>
Received on Sunday, 18 November 2007 06:22:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 July 2008 07:55:26 GMT