cannam@136: :- use_module('../../../motools/mo/ontospec/onto_spec').
cannam@136: :- use_module(library('semweb/rdf_db')).
cannam@136: :- use_module(library('semweb/rdf_turtle')).
cannam@136: 
cannam@136: :- rdf_load('../vamp.rdf').
cannam@136: 
cannam@136: :- rdf_db:rdf_register_ns(vamp,'http://purl.org/ontology/vamp/').
cannam@136: 
cannam@136: author_name('').
cannam@136: author_foaf('').
cannam@136: page_title('Vamp Plugins Ontology').
cannam@136: 
cannam@136: output('vamp.html').
cannam@136: 
cannam@136: :-  output(Output),
cannam@136: 	open(Output,write,Otp),
cannam@136: 	header(Header),
cannam@136: 	write(Otp,Header),
cannam@136: 	open('../doc/glance.htm',read,GlanceIntro),
cannam@136: 	copy_stream_data(GlanceIntro, Otp),
cannam@136: 	glance_html_desc(Glance),
cannam@136: 	write(Otp,Glance),
cannam@136: 	write(Otp,'<h2 id="terms_classes">Classes</h2>'),
cannam@136: 	classes_html_desc(Classes),
cannam@136: 	write(Otp,Classes),
cannam@136: 	write(Otp,'<h2 id="terms_props">Properties</h2>'),
cannam@136: 	props_html_desc(Props),
cannam@136: 	write(Otp,Props),
cannam@136: 	write(Otp,'<h2 id="terms_inds">Individuals</h2>'),
cannam@136: 	inds_html_desc(Inds),
cannam@136: 	write(Otp,Inds),
cannam@136: 	deprecs_html_desc(Deprecs),
cannam@136: 	write(Otp,Deprecs),
cannam@136: 	close(Otp),
cannam@136: 	rdf_db:rdf_retractall(_,_,_).
cannam@136: 
cannam@136: :- halt.