NAME

RDFStore::Statement - implementation of the Statement RDF API

SYNOPSIS

	use RDFStore::Statement;
	use RDFStore::Literal;
	use RDFStore::Resource;
	my $statement = new RDFStore::Statement(
  				new RDFStore::Resource("http://www.w3.org/Home/Lassila"),
  				new RDFStore::Resource("http://description.org/schema/","Creator"),
  				new RDFStore::Literal("Ora Lassila") );
	my $statement1 = new RDFStore::Statement(
  				new RDFStore::Resource("http://www.w3.org"),
  				new RDFStore::Resource("http://description.org/schema/","Publisher"),
  				new RDFStore::Literal("World Wide Web Consortium") );

	my $subject = $statement->subject;
	my $predicate = $statement->predicate;
	my $object = $statement->object;

	print $statement->toString." is ";
        print "not"
                unless $statement->equals($statement1);
        print " equal to ".$statement1->toString."\n";

DESCRIPTION

An RDFStore::Stanford::Statement implementation.

SEE ALSO

RDFStore::Stanford::Statement(3) RDFStore::RDFNode(3) Digest(3) RDFStore::Literal(3) RDFStore::Resource(3)

AUTHOR

Alberto Reggiori <areggiori@webweaving.org>