MOBY::RDF::Ontologies::Namespaces - Create RDF/OWL for Moby
use MOBY::RDF::Ontologies::Namespaces; # iustantiate my $x = MOBY::RDF::Ontologies::Namespaces->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 => 'NCBI_gi' });
This module creates RDF XML for the Namespace ontology
Edward Kawas (edward.kawas [at] gmail [dot] com)
Returns RDF XML for all nodes in the Namespace ontology as a pretty printed String of XML. This routine consumes a hash as input with keys: prettyPrint: whether (yes) or not (no) to output formatted XML. Defaults to 'yes'.
Returns RDF XML for a specific node in the Namespace ontology as a pretty printed String of XML. This routine consumes a hash as input with keys: term: the node to retrieve required prettyPrint: whether (yes) or not (no) to output formatted XML. Defaults to 'yes'.
To install MOBY, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MOBY
CPAN shell
perl -MCPAN -e shell install MOBY
For more information on module installation, please visit the detailed CPAN module installation guide.