OntoSpec is a SWI-Prolog module, aiming at automatically generating XHTML specification from RDF-Schema or OWL ontologies.
Just load the module in SWI (make sure you have the semweb package installed), and follow the instructions.
There are some restrictions about the way the schema/ontology should be formatted. There should be a term_status, as well as a comment and a label associated to each term. Check the Music Ontology for a reference schema.