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::Model
RDF model

RDF::Core::Model - RDF model


NAME

RDF::Core::Model - RDF model


SYNOPSIS


  my $storage = new RDF::Core::Storage::Memory;

  my $model = new RDF::Core::Model (Storage => $storage);

  my $subject = new RDF::Core::Resource('http://www.gingerall.cz/employees/Jim');

  my $predicate = $subject->new('http://www.gingerall.cz/rdfns#name');

  my $object = new RDF::Core::Literal('Jim Brown');

  my $statement = new RDF::Core::Statement($subject, $predicate, $object);

  $model->addStmt($statement);

  print "Model contains ".$model->countStmts."statement(s).\n"


DESCRIPTION

Model provides interface to store RDF statements, ask about them and retrieve them back.

Interface


LICENSE

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


AUTHOR

Ginger Alliance, rdf@gingerall.cz


SEE ALSO

RDF::Core::Statement, RDF::Core::Storage, RDF::Core::Serializer, RDF::Core::Parser, RDF::Core::Enumerator

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy