[ Expand All ] [ Collapse All ] - [ Properties (0) ] [ Methods (5) ] - [ Legend ]

BlankNode Class v. V0.9.1

Object
Node
Resource
BlankNode

Class: BlankNode ----------------------------------------------------------------------------------

An RDF blank node. In model theory, blank nodes are considered to be drawn from some set of 'anonymous' entities which have no label but are unique to the graph. For serialization they are labeled with a URI or a _:X identifier.

<BR><BR>History:<UL> <LI>07-27-2003 : BlankNode can now receive both MemModel and DbModel as parameter <LI>02-21-2003 : getLabel() added.</LI> <LI>09-10-2002 : First version of this class.</LI> </UL>

Properties implemented by BlankNode

BlankNode has no properties.

Methods implemented by BlankNode
constructor BlankNode

PHPBlankNode(mixed $namespace_or_uri_or_model, string $localName)

Constructor You can supply a label or You supply a model and a unique ID is gernerated

Arguments

public method equals

PHPboolean equals(unknown $that)

Checks if two blank nodes are equal. Two blank nodes are equal, if they have the same temporary ID

Arguments

public method getID

PHPstring getID()

Returns the ID of the blank node.

public method getLabel

PHPstring getLabel()

Returns the ID of the blank node.

public method toString

PHPstring toString()

Dumps bNode.

Generated by PHPEdit - Copyright © 1999-2004 - Sébastien Hordeaux - WaterProof SARL