Dan Pokorny > RDF-Core-0.51 > RDF::Core::Statement

Download:
RDF-Core-0.51.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  3
View/Report Bugs
Source  

NAME ^

RDF::Core::Statement - RDF statement

SYNOPSIS ^

  require RDF::Core::Statement;

  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);

  print $statement->getObject->getLabel."\n"

DESCRIPTION ^

Interface

LICENSE ^

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

AUTHOR ^

Ginger Alliance, rdf@gingerall.cz

SEE ALSO ^

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

syntax highlighting: