WARNING: we strongly encourage the usage of the latest integrated version of SpecGen, available at: https://github.com/specgen/specgen
Previous versions of SpecGen
- v4 by Uldis Bojars, see http://sioc-project.org/specgen
- v1,2,3 by Christopher Schmidt, see http://crschmidt.net/semweb/redland
There are some changes in this version:
- added many blanknodes verifications
- dynamically namespaces and base uri
- many accessibility improvements on the generated markup
- soft-coded all variables
- automatically save
- many refactorings
- implemented the capability to extract complex ranges/domains
- added a Makefile to install the script
- optional documentation of ontology instances
$ hg clone https://bitbucket.org/wikier/specgen
Available at the issues tab.
We are not releasing any concrete version of the tools. So you should get it directly from the development repository.
- Python interpreter (python>=2.4)
- Python bindings for the Redland RDF library (python-librdf>=1.0)
It uses a very simple template engine. You can use it over any HTML template. The template only must have two sections with '%s' where SpecGen will write the information extracted from the ontology.
There are some templates available as example:
The first thing that you need to make is customize a template, adding of information relevant for the lecture of the specification.
You can run SpecGen without install it directly from the code:
$ python specgen.py ontology prefix template destination [flags]
- -i : add instances on the specification (disabled by default)
$ python specgen.py example.owl ex template.html example.html -i
But of course you can also install SpecGen on you computer running the Makefile provided:
$ sudo make install
Therefore it'd be easier to run it from any location or by any user without using a long path:
$ specgen example.owl ex template.html example.html
Obviously you can uninstall it whatever you want:
$ sudo make uninstall
- SpecGen (original by crschmidt)
- SpecGen4 (fork from Uldis)
- LD OntoSpec
- Danbri's SpecGen (fork from SpecGen4)
- LV2SpecGen (fork)
- Smily's SpecGen (fork from danbri's one)
- SpecGen6 (fork from danbri's one)
- SpecGen6 for WebID (fork from SpecGen6)
Ontologies using SpecGen
- Steel Ontology
- HELIOS BT
- feel free to add yours...
Please, send any comment directly to the developer.