def _create_literal(self, p, s, dt=None): return create_literal(self.g, self.res, p, s, dt)
def create_keyword(self, g, res, string): return create_literal(g, res, self.keyword, string)
def create_byte_size(self, g, res, string): return create_literal(g, res, self.byte_size, string, XSD.decimal)
def create_title(self, g, res, string): return create_literal(g, res, self.title, string)
def create_description(self, g, res, string): return create_literal(g, res, self.description, string)
def create_publication_date(self, g, res, string): return create_literal(g, res, self.issued, string, XSD.dateTime)
def update_modification_date(self, g, res, string): g.remove((res, self.modified, None)) return create_literal(g, res, self.modified, string, XSD.dateTime)
def create_label(self, g, res, string): return create_literal(g, res, RDFS.label, string)