RDFStore::Vocabulary::Generator - implementation of the Vocabulary Generator RDF API
use RDFStore::Vocabulary::Generator; my $generator = new RDFStore::Vocabulary::Generator(); # see vocabulary-generator.pl $generator->createVocabulary($packageClass, $all, $namespace, $outputDirectory, $factoryStr);
Generate Perl package with constants for resources defined in an RDF (Schema).
This is the constructor for RDFStore::Vocabulary::Generator.
Generates a Perl 5 package (module) named PACKAGECLASS using SCHEMA in OUTPUTDIRECTORY using NODE_FACTORY. Properties and resources are prefixed with NAMESPACE.
RDFStore::Vocabulary::RDF(3) RDFStore::Vocabulary::RDFS(3) RDFStore::Vocabulary::DC(3) RDFStore::Vocabulary::DAML(3) RDFStore::SchemaModel(3)
Alberto Reggiori <areggiori@webweaving.org>
To install RDFStore, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RDFStore
CPAN shell
perl -MCPAN -e shell install RDFStore
For more information on module installation, please visit the detailed CPAN module installation guide.