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:

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

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>
or
<script type="text/turtle" src="profile.ttl"></script>


[1] Section Turtle in HTML and/or XHTML 
https://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 23 November 2011 11:01:34 GMT