def METHOD_NAME(name, typeIRI, string, comment = ''):
        IRI = get_uuid(typeIRI, string)
        if IRI:
            uuid = IRI.partition('_')[2]
            return uuid, 'exist'
        else:
            uuid = create_uuid()
            insert_str = generic_insert(name, typeIRI, uuid, string, comment)
            sparqlendpoint = UPDATE_ENDPOINT
            # create a SPARQL object for performing the query
            kg_client = kg_operations(sparqlendpoint)
            kg_client.insertkg(insertStr=insert_str)
        return uuid, 'new'