Mercurial > hg > vamp-plugin-sdk
annotate rdf/doc/vamp.pl @ 299:1bbfa82efc37
* Add skeleton Makefile
author | cannam |
---|---|
date | Wed, 23 Sep 2009 12:33:00 +0000 |
parents | 1b1ebb0f10ac |
children |
rev | line source |
---|---|
cannam@136 | 1 :- use_module('../../../motools/mo/ontospec/onto_spec'). |
cannam@136 | 2 :- use_module(library('semweb/rdf_db')). |
cannam@136 | 3 :- use_module(library('semweb/rdf_turtle')). |
cannam@136 | 4 |
cannam@136 | 5 :- rdf_load('../vamp.rdf'). |
cannam@136 | 6 |
cannam@136 | 7 :- rdf_db:rdf_register_ns(vamp,'http://purl.org/ontology/vamp/'). |
cannam@136 | 8 |
cannam@136 | 9 author_name(''). |
cannam@136 | 10 author_foaf(''). |
cannam@136 | 11 page_title('Vamp Plugins Ontology'). |
cannam@136 | 12 |
cannam@136 | 13 output('vamp.html'). |
cannam@136 | 14 |
cannam@136 | 15 :- output(Output), |
cannam@136 | 16 open(Output,write,Otp), |
cannam@136 | 17 header(Header), |
cannam@136 | 18 write(Otp,Header), |
cannam@136 | 19 open('../doc/glance.htm',read,GlanceIntro), |
cannam@136 | 20 copy_stream_data(GlanceIntro, Otp), |
cannam@136 | 21 glance_html_desc(Glance), |
cannam@136 | 22 write(Otp,Glance), |
cannam@136 | 23 write(Otp,'<h2 id="terms_classes">Classes</h2>'), |
cannam@136 | 24 classes_html_desc(Classes), |
cannam@136 | 25 write(Otp,Classes), |
cannam@136 | 26 write(Otp,'<h2 id="terms_props">Properties</h2>'), |
cannam@136 | 27 props_html_desc(Props), |
cannam@136 | 28 write(Otp,Props), |
cannam@136 | 29 write(Otp,'<h2 id="terms_inds">Individuals</h2>'), |
cannam@136 | 30 inds_html_desc(Inds), |
cannam@136 | 31 write(Otp,Inds), |
cannam@136 | 32 deprecs_html_desc(Deprecs), |
cannam@136 | 33 write(Otp,Deprecs), |
cannam@136 | 34 close(Otp), |
cannam@136 | 35 rdf_db:rdf_retractall(_,_,_). |
cannam@136 | 36 |
cannam@136 | 37 :- halt. |