- From: Toby A Inkster <tai@g5n.co.uk>
- Date: Tue, 4 Nov 2008 08:51:58 +0000
- To: Semantic Web <semantic-web@w3.org>
- Cc: lee@thefigtrees.net
Lee Feigenbaum wrote:
> Are there any tools out there that will read in an RDF Schema and/
> or OWL
> file and produce an HTML summary of the schema/ontology?
Assuming that your ultimate aim is to have HTML and RDF/XML
representations of the same information without having to manually
maintain both, then probably the best solution would be to flip your
question on its head: is there a way to convert an HTML
representation of an ontology into RDF/XML?
There are various solution, but RDFa[1] is probably your best choice.
You'd mark your schema up in XHTML like:
<div about="#xyzzy" typeof="rdfs:Property" id="term_xyzzy">
<h2>
<dfn property="rdfs:label">xyzzy</dfn>
<a href="#term_xyzzy" rel="rdfs:isDefinedBy">#</a>
</h2>
<p property="rdfs:comment">The xyzzy of the thing.</p>
<p>Sub-property of: <a rel="rdfs:subPropertyOf"
href="#term_foo" resource="#foo">foo</a>.</p>
</div>
Then you'd pass the XHTML+RDFa document through an RDFa implementation
[2] to produce an RDF/XML version.
____
1. http://www.w3.org/TR/rdfa-syntax/
2. http://www.w3.org/2006/07/SWD/RDFa/implementation-report/
--
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Tuesday, 4 November 2008 08:52:54 UTC