RDF::Core::Statement(3pm) - phpMan

Command: man perldoc info search(apropos)  


RDF::Core::Statement(3pm)      User Contributed Perl Documentation      RDF::Core::Statement(3pm)



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
       o   new($subject, $predicate, $object)

           Variables $subject and $predicate are resources, $object can be resource or literal

       o   getSubject

       o   getPredicate

       o   getObject

       o   getLabel

           returns a content of statement in n-triple format.

       o   clone

           returns copy of statement

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

AUTHOR
       Ginger Alliance, rdf AT gingerall.cz

SEE ALSO
       RDF::Core::Resource, RDF::Core::Literal



perl v5.10.0                                2003-03-14                  RDF::Core::Statement(3pm)

Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-25 01:45 @38.107.179.238 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!