Dataset implementation.
Superclass of datasetMem and datasetDb which contains shared functionality.
Located in /dataset/DatasetDb.php (line 22)
Dataset | --DatasetDb
Constructor You can supply a Dataset name.
Adds a quad to the Dataset. The argument must not contain any wildcards. If the quad is already present, nothing happens. A new named graph will automatically be created if necessary.
Tells wether the Dataset contains a NamedGraph.
Tells wether the Dataset contains a quad or quads matching a pattern.
Returns the number of NamedGraphs in the set. Empty graphs are counted.
Counts the Quads in the RDF dataset. Identical Triples in different NamedGraphs are counted individually.
Creates a new NamedGraph and adds it to the set. An existing graph with the same name will be replaced. But the old namedGraph remains in the database.
Finds Statements that match a pattern in the default Graph. The argument may contain wildcards.
Finds Statements that match a quad pattern. The argument may contain wildcards.
Returns a reference to the defaultGraph.
Returns the NamedGraph with a specific name from the Dataset.
Changes to the graph will be reflected in the set.
Returns true, if a defaultGraph exists. False otherwise.
Returns the names of the namedGraphs in this set as strings in an array.
Returns an iterator over all NamedGraphs in the set.
Removes a NamedGraph from the set. Nothing happens if no graph with that name is contained in the set.
Sets the Dataset name. Return true on success, false otherwise.
Inherited From Dataset
Dataset::loadFromFile()
Dataset::loadFromString()
Dataset::serializeToFile()
Dataset::serializeToString()
Dataset::sparqlQuery()
Documentation generated on Fri, 1 Jun 2007 16:48:40 +0200 by phpDocumentor 1.3.2