Enables DNA-binding transcription factor activity, RNA polymerase II-specific and chromatin binding activity. Involved in several processes, including generation of neurons; nematode larval development; and positive regulation of transcription by RNA polymerase II. Located in nucleus. Expressed in several structures, including MSpaa; hypodermal cell; intestine; pharyngeal cell; and somatic nervous system. Human ortholog(s) of this gene implicated in congenital heart disease and dilated cardiomyopathy. Is an ortholog of human SP1 (Sp1 transcription factor); SP3 (Sp3 transcription factor); and SP4 (Sp4 transcription factor).