Professional Documents
Culture Documents
Libby Wells and Quinn Stitt-Jane Austen Library Database
Libby Wells and Quinn Stitt-Jane Austen Library Database
and Stitt 1
Libby Wells (wells9) and Quinn Stitt (stitt1)
LIS 490 DB/Weible
Final Project Scenario- Jane Austen Library Database
Our proposed final project is a database that focuses on Jane Austen's six published novels.
It will include all six novels, their characters, movie and miniseries adaptations, related works such
as continuations and modern retellings, and actors and directors involved in the adaptations and
related movies. The purpose of this database is to aide patrons of our newly developed Jane Austen
Library search for information about Austen's novels and the books, movies, and miniseries related
to them. It is assumed that our patrons are coming to our library because of a love and enthusiasm
for one or more of Jane Austen's original books and therefore, we have decided to provide more
detailed information about the six novels than the related works or adaptations. Sample queries
could include a patron who enjoys Pride and Prejudice coming in to find movies based on the novel
or related book sequels, searching for certain actors who feature in film adaptations of the novels, or
searching for characters based on a certain marital status.
Related Works' refers to sequels, prequels, or other works inspired by the original plot of
Jane Austen's novels. Examples: Clueless, Longbourn, Pride and Prejudice and Zombies,
etc.
The 'Character' table will only include the main characters (characters with important
dialogue and/or are crucial to the plot) from the Jane Austen novels.
Characters that are included in adaptations and related works but are not in the original six
novels will not be included. Instead, in the Portrays table (which connects Person to
Character), the character from the related work that is representing a character from one of
the original six novels will be referred to as the original character. For example, Colin
Firths character, Mark Darcy, in Bridget Joness Diary, will not be considered as Mark
Because Jane Austen did not write any sequels to her novels, a character can only be
featured in one book.
'Marital Status' refers to the marital status of the character at the beginning of the novel or
adaptation. Marital status can be 'married', 'engaged', widowed, or 'single'.
In 'Related Works' and 'Adaptation', the 'Year' attribute refers to the year published or the
year released.
When considering the relationship to the 'actor' entity, we are considering the abstract idea
of 'actor' rather than the specific actors.
The Person table includes both actors and directors that have worked on the related movies
and film adaptations included in the database. We chose to include actors and directors
because we felt that patrons would be the most likely to search by these people--writers and
producers are not included. We decided not to specify each persons title (e.g. actor or
director) for two reasons: (1) many actors are also directors, and (2) we did not feel that this
level of specificity was necessary to meet our patrons needs.
When we began converting our EER diagram to relational schemas, we first had these ten tables
based on the entities included in our EER diagram.
BOOK (BookID, Title, Year_completed)
CHARACTERS (CharacterID, First_Name, Last_Name, Gender, Marital _Status)
PERSON (PersonID, Gender, First_Name, Last_Name)
PUBLISHER (PublisherID, Name)
RELATED_WORKS (WorkID, Year, Publisher)
RELATED_BOOK (WorkID, Year, Publisher)
RELATED_MOVIE (WorkID, Running_time, Production_company)
FILM_ADAPTATION (AdaptationID, Production_company, Title, Year)
ADAPTED_MOVIE (AdaptationID, Running_time)
ADAPTED_MINISERIES (AdaptationID, Number_of_episodes)
We then also created the four tables listed below to account for our relationships. We created a
linking table for each many-to-many relationship, with the publishes relationship becoming the
PUBLISHES table, the portrays relationship becoming the PORTRAYS table, and the two
works_on relationships becoming the ADAPTATION_INVOLVEMENT and
RELATED_MOVIE_INVOLVEMENT tables)
PUBLISHES (BookID, PublisherID, Year_published)
PORTRAYS (PersonID, CharacterID)
ADAPTATION_INVOLVEMENT (PersonID, AdaptationID)
RELATED_MOVIE_INVOLVEMENT (PersonID, WorkID)
Because we assigned artificial primary keys to each entity in our EER diagram, we did not have to
alter our tables in order to normalize them. They were already in 3NF.
During the implementation process, some necessary foreign keys were discovered. Below is the
final schema for our database, with these foreign keys included.
BOOK (BookID, Title, Year_completed)
CHARACTERS (CharacterID, BookID, First_Name, Last_Name, Gender, Marital _Status)
PERSON (PersonID, Gender, First_Name, Last_Name)
PUBLISHER (PublisherID, Name)
RELATED_WORKS (WorkID, BookID, Year, Publisher)
RELATED_BOOK (WorkID, Year, Publisher)
RELATED_MOVIE (WorkID, Running_time, Production_company)
FILM_ADAPTATION (AdaptationID, Production_company, Title, Year)
ADAPTED_MOVIE (AdaptationID, Running_time)
ADAPTED_MINISERIES (AdaptationID, Number_of_episodes)
PUBLISHES (BookID, PublisherID, Year_published)
PORTRAYS (PersonID, CharacterID)
ADAPTATION_INVOLVEMENT (PersonID, AdaptationID)
RELATED_MOVIE_INVOLVEMENT (PersonID, WorkID)
-- A patron comes in and wants to know what longer than average miniseries we have
(he has a lot of free time and wants to fill it).
SELECT ADAPTED_MINISERIES.Number_of_episodes, FILM_ADAPTATION.Title,
FILM_ADAPTATION.Year
FROM FILM_ADAPTATION JOIN ADAPTED_MINISERIES ON
(FILM_ADAPTATION.AdaptationID=ADAPTED_MINISERIES.AdaptionID)
WHERE ADAPTED_MINISERIES.Number_of_episodes >
(SELECT AVG(Number_of_episodes)
FROM ADAPTED_MINISERIES)
ORDER BY Number_of_episodes;
-- A patron comes in and has read the title 'No Love for Northanger'. Because of this, she
wants to know what books the in-house publisher, Stittwell Inc., has published (we only
publish works inspired by Jane Austen).
SELECT RELATED_WORKS.Title,RELATED_WORKS.Year,RELATED_BOOK.Author
FROM RELATED_WORKS JOIN RELATED_BOOK USING (WorkID)
WHERE Publisher='Stittwell Inc.'
ORDER BY Year;