MOBY::RDF::Ontologies::ServiceTypes - Create RDF/OWL for Moby
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' });
This module creates RDF XML for the Services ontology
Edward Kawas (edward.kawas [at] gmail [dot] com)
Returns RDF XML for all nodes in the service type 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 Service Type 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'.