/**
  * Start writing RDF document
  * Note that this builder does not have to finish it, it may be finished later.
  */
 public function startDocument()
 {
     foreach ($this->getNamespaces() as $gname => $uri) {
         $this->writer->prefix($gname, $uri);
     }
     $this->writer->start();
 }