 ACL papers with less than 5 citations
CREATE TABLE cite (
    citingpaperid int,
    citedpaperid int
)

CREATE TABLE paper (
    paperid int,
    title varchar,
    venueid int,
    year int,
    numciting int,
    numcitedby int,
    journalid int
)

CREATE TABLE journal (
    journalid int,
    journalname varchar
)

CREATE TABLE dataset (
    datasetid int,
    datasetname varchar
)

CREATE TABLE paperkeyphrase (
    paperid int,
    keyphraseid int
)

CREATE TABLE paperdataset (
    paperid int,
    datasetid int
)

CREATE TABLE author (
    authorid int,
    authorname varchar
)

CREATE TABLE paperfield (
    fieldid int,
    paperid int
)

CREATE TABLE field (
    fieldid int
)

CREATE TABLE venue (
    venueid int,
    venuename varchar
)

CREATE TABLE keyphrase (
    keyphraseid int,
    keyphrasename varchar
)

CREATE TABLE writes (
    paperid int,
    authorid int
)
SELECT DISTINCT cite.citingpaperid FROM cite, paper, venue WHERE paper.paperid = cite.citedpaperid AND venue.venueid = paper.venueid AND venue.venuename = 'ACL' GROUP BY cite.citingpaperid HAVING COUNT(DISTINCT cite.citedpaperid) < 5