code: def set(self, status_item, status):
          
          lg = logging.getLogger("%s.%s" % (self.ln, inspect.stack()[0][3]))
          lg.setLevel(self.log_level)
          sparql = '''
              DELETE {{
                  kdr:{0} kds:{1} ?o
              }}
              INSERT {{
                  kdr:{0} kds:{1} "{2}"^^xsd:boolean
              }}
              WHERE {{
                  OPTIONAL {{ kdr:{0} kds:{1} ?o }}
              }}'''
          return self.conn.query(sparql=sparql.format(self.group,
                                                       status_item,
                                                       str(status).lower()),
                                  mode='update')
docs: sets the status item to the passed in paramaters
  
          args:
              status_item: the name if the item to set
              status: boolean value to set the item