Source for file Dataset.php
Documentation is available at Dataset.php
// ----------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------
* Dataset implementation.
* Superclass of datasetMem and datasetDb which contains shared functionality.
* @version $Id: fsource_dataset__datasetDataset.php.html 442 2007-06-01 16:19:26Z cax $
* @author Daniel Westphal (http://www.d-westphal.de)
* @author Chris Bizer <chris@bizer.de>
* Load a Dataset from a File
$parser->parseFile($file);
* Load a Datset from a string
$parser->parseString($string);
* Serialize the Dataset to File
$serializer->serializeToFile($fileName);
* Serialize the Dataset to string
return $serializer->serializeToString();
* Performs a SPARQL query against an RDF Dataset.
* The result can be retrived in SPARQL Query Results XML Format or
* as an array containing the variables an their bindings.
* @param String $query the sparql query string
* @param String $resultform the result form ('xml' for SPARQL Query Results XML Format)
$q =
$parser->parse($query);
return $eng->queryModel($this,$q,$resultform);
Documentation generated on Fri, 1 Jun 2007 16:48:38 +0200 by phpDocumentor 1.3.2