GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RDFStore::Statement(3) User Contributed Perl Documentation RDFStore::Statement(3)

RDFStore::Statement - An RDF Statement implementation

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

An RDF Statement implementation.

This is a class method, the constructor for RDFStore::Statement. SUBJECT and PREDICATE must be two RDFStore::Resource while OBJECT is RDFStore::RDFNode
Return the RDFStore::Resource that is the RDF Subject/Resource of the Statement
Return the RDFStore::Resource that is the RDF Predicate/Property of the Statement/Resource
Return the RDFStore::RDFNode that is the RDF Object/Property-Value of the Statement/Resource
Return the URI identifing the RDF Statement; this is useful either for RDF reification (if ever it will be used :) and to treat RDF Statement as resources and then make "composite" statements....somehow ;)
Return undef
Return the label of the RDF Statement as a URN identifier with the digest hex encoded i.e. "urn:rdf:SHA-1:12uf2229829289229eee"
Return the label of the RDF Statement as a URN identifier with the digest hex encoded i.e. "urn:rdf:SHA-1:12uf2229829289229eee"
Return the textual represention of the RDF Statement i.e. triple("http://blaa.org", "http://purl.org/dc/elements/1.1/title", "Crapy site")
Return a Cryptographic Digest (SHA-1 by default) of the Statement as defined in http://nestroy.wi-inf.uni-essen.de/rdf/sum_rdf_api/#K31
Compare two RDF Statements.

RDFStore::Literal(3) RDFStore::Resource(3) RDFStore(3) RDFStore::Digest::Digestable(3) RDFStore::RDFNode(3)

 http://www.w3.org/TR/rdf-primer/
 http://www.w3.org/TR/rdf-mt
 http://www.w3.org/TR/rdf-syntax-grammar/
 http://www.w3.org/TR/rdf-schema/
 http://www.w3.org/TR/1999/REC-rdf-syntax-19990222 (obsolete)

        Alberto Reggiori <areggiori@webweaving.org>

Hey! The above document had some coding errors, which are explained below:

You forgot a '=back' before '=head1'
2006-06-19 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.