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


Manual Reference Pages  -  RDF::CORE::STATEMENT (3)

.ds Aq ’

NAME

RDF::Core::Statement - RDF statement

CONTENTS

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@gingerall.cz

SEE ALSO

RDF::Core::Resource, RDF::Core::Literal
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 RDF::CORE::STATEMENT (3) 2003-03-14

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