code: func (c *Config) WriteNamespaces(w quad.Writer, n *voc.Namespaces) error {
  	rules, err := c.rulesFor(reflect.TypeOf(namespace{}))
  	if err != nil {
  		return fmt.Errorf("can't load rules: %v", err)
  	}
  	wr := c.newWriter(w)
  	for _, ns := range n.List() {
  		obj := namespace{
  			Full:   quad.IRI(ns.Full),
  			Prefix: quad.IRI(ns.Prefix),
  		}
  		rv := reflect.ValueOf(obj)
  		if err = wr.writeValueAs(obj.Full, rv, "", rules); err != nil {
  			return err
  		}
  	}
  	return nil
  }
docs: // WriteNamespaces will writes namespaces list into graph.