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

different publish RDF in section 2.4.2

From: Dominik Tomaszuk <ddooss@wp.pl>
Date: Wed, 23 Nov 2011 12:00:56 +0100
Message-ID: <4ECCD268.5040707@wp.pl>
To: WebID Incubator Group WG <public-xg-webid@w3.org>
In buttom of section 2.4.2 there is:
"If a WebID provider would rather prefer not to mark up his data in 
RDFa, but just provide a human readable format for users and have the 
RDF graph appear in a machine readable format such as RDF/XML then he 
may publish the link from the HTML to a machine readable format (it this 
is available at a dedicated URI) as follows:

<link type="rel" type="application/rdf+xml" href="profile.rdf"/>
<body> ...  </body>

My comments:
1) 'type="rel" type="application/rdf+xml"' is not valid, it should be:
rel="meta" type="application/rdf+xml"
2) I think we should also provide embeded Turtle. Now in Turtle draft it 
is possible to do it in <script> element [1]:
<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 type="text/turtle" src="profile.ttl"></script>

[1] Section Turtle in HTML and/or XHTML 

Best regards,
Dominik 'domel' Tomaszuk
Received on Wednesday, 23 November 2011 11:01:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:39:48 UTC