Source for file Quad.php
Documentation is available at Quad.php
// ----------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------
* A Triple in a RDF dataset, consisting of four Jena Nodes: graphName,
* subject, predicate, and object.
* @version $Id: fsource_dataset__datasetQuad.php.html,v 1.8 2006/06/26 12:34:12 tgauss Exp $
* @author Daniel Westphal (http://www.d-westphal.de)
* Name of the NamedGraphMem.
* Creates a Quad from four Nodes.
function Quad($graphName,$subject,$predicate,$object)
if (!is_a($graphName, 'Resource'))
'(class: Quad; method: new): Resource expected as graphName.';
* Returns the graph name.
* Return a human-readable (sort of) string "graphname { s p o . }"
* Returns the statement(subject,predicate,object).
* Checks if two quads are equal.
return ($this->graphName->equals($quad->getGraphName()) &&
$this->statement->equals($quad->getStatement()));
Documentation generated on Mon, 26 Jun 2006 14:25:49 +0200 by phpDocumentor 1.3.0RC6