Alberto Attilio Reggiori

NAME

RDFStore::Resource - implementation of the Resource RDF API

SYNOPSIS

        use RDFStore::Resource;
        my $resource = new RDFStore::Resource("http://pen.jrc.it/index.html");
        my $resource1 = new RDFStore::Resource("http://pen.jrc.it/","index.html");

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

        # or from URI object    
        use URI;
        $resource = new RDFStore::Resource("http://www.w3.org/1999/02/22-rdf-syntax-ns#","Description");
        $resource1 = new RDFStore::Resource( new URI("http://www.w3.org/1999/02/22-rdf-syntax-ns#Description") );

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

DESCRIPTION

An RDFStore::Stanford::Resource implementation.

SEE ALSO

RDFStore::Stanford::Resource(3) RDFStore::RDFNode(3) URI(3) Digest(3)

AUTHOR

        Alberto Reggiori <areggiori@webweaving.org>