HyperDAML is a tool which produces an HTML hypertext
version of a
DAML
or
RDF
document,
providing fragments for IDs,
and links to referenced resources
(links to referenced namespaces, classes, and properties
may be added in the future).
It is currently a proof-of-concept implementation of the
Hypertext DAML Ontologies
item on the
DAML Tools Wishlist
(although it is also useful for instance content).
Roughly,
HyperDAML does for DAML and RDF
what
Hypermail
does for email messages.
HyperDAML is available via a
WWW form interface,
a
WWW CGI interface,
or
download.
Examples
WWW Form Interface
WWW CGI Interface
A CGI interface is also available for use from HTML pages.
Link to http://www.daml.org/cgi-bin/hyperdaml?your-uri
.
If no ?uri
is specified,
this script will look for an HTTP Referer
request header,
allowing usage in your page like
click <a href="http://www.daml.org/cgi-bin/hyperdaml">here</a> to view embedded DAML
Download
2 implementations have been developed and are available for download:
- hyperdaml.java
- This is the most functional version,
used to
produce
the examples above.
It requires
Java 2
and
JAXP 1.1 or later.
- hyperdaml.xsl
- This is a less functional version.
It was developed using
Xalan Java 2
but should run with any XSLT processor.
Caveats
- The JAXP parser currently used by hyperdaml gets exceptions
when processing certain key documents and document types:
- when processing HTML and XHTML documents with
!DOCTYPE
s like
http://www.w3.org/TR/REC-html40/loose.dtd:
Next character must be ">" terminating declaration "%HTML.Version".
- when processing the RDF Schema namespace
http://www.w3.org/2000/01/rdf-schema#:
Character conversion error: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (line number may be too low)
probably due to the French labels.
- hyperdaml can incur a noticeable delay when processing large documents
- hyperdaml only generates
#name
when rdf:ID
is used, not rdf:about
Possible Future Directions
A todo list of possible enhancements is available
here:
- items marked with an
(X)
have been completed
- items marked with a
(fraction)
have been partially completed
- other items are still outstanding
Please send additional suggestions to
Mike Dean.
Related Work
Joe Kopena
concurrently developed a similar
CGI script
in Perl to markup DAML pages.
Author
Mike Dean
$Id: index.xml,v 1.15 2003/12/19 17:08:31 mdean Exp $