Database schema:

CREATE TABLE tags (
	"index" INTEGER -- example: ['0', '1'],
	id INTEGER -- example: ['0', '2'],
	tag TEXT -- example: ['funk', '1970s'],
	PRIMARY KEY ("index"), 
	CONSTRAINT fk_tags_torrents FOREIGN KEY(id) REFERENCES torrents (id)
)


CREATE TABLE torrents (
	"groupName" TEXT -- example: ['spiderap / a corona jam', 'superappin&#39;'],
	"totalSnatched" INTEGER -- example: ['239', '156'],
	artist TEXT -- example: ['grandmaster flash & the furious five', 'ron hunt & ronnie g & the sm crew'],
	"groupYear" INTEGER -- example: ['1979', '1980'],
	"releaseType" TEXT -- example: ['single', 'album'],
	"groupId" INTEGER -- example: ['720949', '728752'],
	id INTEGER -- example: ['0', '1'],
	PRIMARY KEY (id)
)

Question: How many singles were released between 1979 and 1981 labeled as "soul"?
Evidence: releaseType = 'single'; between 1979 and 1981 refers to groupYear between 1979 and 1981; tag = 'soul';

SQL:
SELECT COUNT(T2.tag) FROM torrents AS T1 INNER JOIN tags AS T2 ON T1.id = T2.id WHERE T2.tag = 'soul' AND T1.groupYear BETWEEN 1979 AND 1981 AND T1.releaseType LIKE 'single'