comparison rdf/doc/vamp.pl @ 136:1b1ebb0f10ac

* update RDF from km-rdf repository
author cannam
date Wed, 11 Jun 2008 09:14:27 +0000
parents
children
comparison
equal deleted inserted replaced
135:6bffd86a103d 136:1b1ebb0f10ac
1 :- use_module('../../../motools/mo/ontospec/onto_spec').
2 :- use_module(library('semweb/rdf_db')).
3 :- use_module(library('semweb/rdf_turtle')).
4
5 :- rdf_load('../vamp.rdf').
6
7 :- rdf_db:rdf_register_ns(vamp,'http://purl.org/ontology/vamp/').
8
9 author_name('').
10 author_foaf('').
11 page_title('Vamp Plugins Ontology').
12
13 output('vamp.html').
14
15 :- output(Output),
16 open(Output,write,Otp),
17 header(Header),
18 write(Otp,Header),
19 open('../doc/glance.htm',read,GlanceIntro),
20 copy_stream_data(GlanceIntro, Otp),
21 glance_html_desc(Glance),
22 write(Otp,Glance),
23 write(Otp,'<h2 id="terms_classes">Classes</h2>'),
24 classes_html_desc(Classes),
25 write(Otp,Classes),
26 write(Otp,'<h2 id="terms_props">Properties</h2>'),
27 props_html_desc(Props),
28 write(Otp,Props),
29 write(Otp,'<h2 id="terms_inds">Individuals</h2>'),
30 inds_html_desc(Inds),
31 write(Otp,Inds),
32 deprecs_html_desc(Deprecs),
33 write(Otp,Deprecs),
34 close(Otp),
35 rdf_db:rdf_retractall(_,_,_).
36
37 :- halt.