[MOBY-guts] biomoby commit
Eddie Kawas
kawas at dev.open-bio.org
Thu Feb 21 17:15:41 UTC 2008
kawas
Thu Feb 21 12:15:41 EST 2008
Update of /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Ontologies
In directory dev.open-bio.org:/tmp/cvs-serv26411/Perl/MOBY-Server/lib/MOBY/RDF/Ontologies
Modified Files:
ServiceTypes.pm Objects.pm Namespaces.pm Services.pm
Log Message:
update of pod - found warnings when i ran podchecker so i am correcting them
moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Ontologies ServiceTypes.pm,1.1,1.2 Objects.pm,1.1,1.2 Namespaces.pm,1.1,1.2 Services.pm,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Ontologies/ServiceTypes.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Ontologies/ServiceTypes.pm 2008/02/21 00:21:27 1.1
+++ /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Ontologies/ServiceTypes.pm 2008/02/21 17:15:41 1.2
@@ -41,17 +41,19 @@
use MOBY::RDF::Ontologies::ServiceTypes;
# iustantiate
my $x = MOBY::RDF::Ontologies::ServiceTypes->new;
-
+
# get all ontology terms in unformatted XML
print $x->createAll({ prettyPrint => 'no' });
-
+
# get a specific ontology term in 'pretty print XML'
print $x->createByName({term => 'Retrieval' });
-
+
=head1 DESCRIPTION
This module creates RDF XML for the Services ontology
+=cut
+
=head1 AUTHORS
Edward Kawas (edward.kawas [at] gmail [dot] com)
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Ontologies/Objects.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Ontologies/Objects.pm 2008/02/21 00:21:27 1.1
+++ /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Ontologies/Objects.pm 2008/02/21 17:15:41 1.2
@@ -48,11 +48,13 @@
# get RDF for a specific datatype as formatted XML
my $rdf = $x->createByName( { term => 'DNASequence' });
-
+
=head1 DESCRIPTION
This module creates RDF/XML for the Objects ontology.
+=cut
+
=head1 AUTHORS
Edward Kawas (edward.kawas [at] gmail [dot] com)
@@ -170,7 +172,7 @@
that represents the ontology term that you would like to create RDF
for. For example, the term 'DNASequence' would return RDF describing
DNASequence and all of its parents and container relationships.
-
+
This routine consumes a hash as input with keys:
term: the node to retrieve B<required>
prettyPrint: whether (yes) or not (no) to output 'pretty print' formatted XML. Defaults to 'yes'.
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Ontologies/Namespaces.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Ontologies/Namespaces.pm 2008/02/21 00:21:27 1.1
+++ /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Ontologies/Namespaces.pm 2008/02/21 17:15:41 1.2
@@ -46,11 +46,13 @@
# get a specific ontology term in 'pretty print XML'
print $x->createByName({term => 'NCBI_gi' });
-
+
=head1 DESCRIPTION
This module creates RDF XML for the Namespace ontology
+=cut
+
=head1 AUTHORS
Edward Kawas (edward.kawas [at] gmail [dot] com)
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Ontologies/Services.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Ontologies/Services.pm 2008/02/21 00:21:27 1.1
+++ /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Ontologies/Services.pm 2008/02/21 17:15:41 1.2
@@ -44,35 +44,37 @@
=head1 SYNOPSIS
my $x = MOBY::RDF::Ontologies::Services->new;
-
+
# get pretty printed RDF/XML for one service
print $x->findService({
serviceName => 'MOBYSHoundGiFromGOIDListAndECode',
authURI => 'bioinfo.icapture.ubc.ca'
});
-
+
# get unformatted RDF/XML for a bunch of services from a single provider
print $x->findService({
prettyPrint => 'no',
authURI => 'bioinfo.icapture.ubc.ca'
});
-
+
# get unformatted RDF/XML for a bunch of services from a single provider without isAlive info
print $x->findService({
prettyPrint => 'no',
authURI => 'bioinfo.icapture.ubc.ca',
isAlive => 'no'
});
-
+
# get unformatted RDF/XML for all services
print $x->findService({
prettyPrint => 'no'
});
-
+
=head1 DESCRIPTION
This module aids in the creation of RDF/XML for service instances in the BioMOBY world.
+=cut
+
=head1 AUTHORS
Edward Kawas (edward.kawas [at] gmail [dot] com)
More information about the MOBY-guts
mailing list