Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

RDF::Core::NodeFactory
produces literals and resources, generates labels for anonymous resources

RDF::Core::NodeFactory - produces literals and resources, generates labels for anonymous resources


NAME

RDF::Core::NodeFactory - produces literals and resources, generates labels for anonymous resources


SYNOPSIS


  require RDF::Core::NodeFactory;

  my $factory = new RDF::Core::NodeFactory(BaseURI=>'http://www.foo.org/');

  my $resource = $factory->newResource('http://www.foo.org/pages');

  #get the same uri:

  my $absolutizedResource = $factory->newResource('/pages');

  #anonymous resource

  my $generatedResource = $factory->newResource;


DESCRIPTION

NodeFactory generates RDF graph nodes - literals and resources. The resources' URIs are expanded against base uri (BaseURI option) to their absolute forms using URI module. NodeFactory can generate unique 'anonymous' resources.

Interface


LICENSE

This package is subject to the MPL (or the GPL alternatively).


AUTHOR

Ginger Alliance, rdf@gingerall.cz


SEE ALSO

URI, RDF::Core::Resource, RDF::Core::Literal

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy