W3C home > Mailing lists > Public > public-xg-webid@w3.org > November 2011

Re: different publish RDF in section 2.4.2

From: Henry Story <henry.story@bblfish.net>
Date: Wed, 23 Nov 2011 15:42:23 +0100
Cc: WebID Incubator Group WG <public-xg-webid@w3.org>
Message-Id: <26C41AEA-F877-4A63-A571-9AA8D6B175D9@bblfish.net>
To: Dominik Tomaszuk <ddooss@wp.pl>

On 23 Nov 2011, at 12:00, Dominik Tomaszuk wrote:

> 2) I think we should also provide embeded Turtle. Now in Turtle draft it is possible to do it in <script> element [1]:

Perhaps if this becomes widely accepted. But I don't really like that. I am not sure how this improves over what we had when people tried adding rdf/xml into the html.

 It seems to be clashing with the rdfa philosophy.

And it is making things complicated: parsers would not have to look at script tags ... And RDF is declarative data, not a script.

> <script type="text/turtle">
> @prefix : <http://www.w3.org/ns/auth/cert#> .
> @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
> @prefix foaf: <http://xmlns.com/foaf/0.1/> .
> @prefix bob: <https://bob.example/profile#> .
> 
> bob:me a foaf:Person;
>  foaf:name "Joe";
>  :key [ a :RSAPublicKey;
>    :modulus "00cb24ed85d64..."^^xsd:hexBinary;
>    :exponent 65537 ;
>    ] .
> </script>
> or
> <script type="text/turtle" src="profile.ttl"></script>




Social Web Architect
http://bblfish.net/
Received on Wednesday, 23 November 2011 14:43:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 23 November 2011 14:43:07 GMT