W3C home > Mailing lists > Public > www-rdf-interest@w3.org > December 2001

RDFS To XHTML Using N3

From: Sean B. Palmer <sean@mysterylights.com>
Date: Fri, 7 Dec 2001 02:56:43 -0000
Message-ID: <010b01c17eca$cf0fd760$44560150@localhost>
To: <www-rdf-interest@w3.org>
Cc: <w3c-wai-er-ig@w3.org>
Thanks to TimBL adding [1] log:outputString as a built-in to CWM [2],
it is now possible to write conversion tools in Notation3 [3]. To that
end, I've sketched out an RDF Schema to XHTML converter in Notation3:-

   http://www.w3.org/2001/03/earl/rdfstoxhtml.n3

To run it, either do:-

   TARGET=mydoc.n3
   cwm rdfstoxhtml.n3 --think --strings > out.html

or edit rdfstoxhtml.n3 where appropriate (pointers are given in the
file), and run without setting the environment variable.

Example outputs are given at:-

http://lists.w3.org/Archives/Public/www-archive/2001Dec/att-0026/01-0.
95-schema
http://lists.w3.org/Archives/Public/www-archive/2001Dec/att-0026/02-rd
fs

Note that there are a handful of bugs, such as duplicate reports and
so on (CWM seems not to recognize log:notIncludes). If anyone can
suggest fixes for that, or have any other comments, they will be
gladly received.

[1]
http://rdfig.xmlhack.com/2001/12/06/2001-12-06.html#1007675169.731931
[2] http://infomesh.net/2001/cwm/
[3] http://www.w3.org/DesignIssues/Notation3

--
Kindest Regards,
Sean B. Palmer
@prefix : <http://webns.net/roughterms/> .
:Sean :hasHomepage <http://purl.org/net/sbp/> .
Received on Thursday, 6 December 2001 21:56:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:52 GMT