227
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= Structure = | = Structure = | ||
To explain the structure, four keywords are necessary to be introduced: Tag System, Tag Tree, Tag Entry and Tag-Entity Relation.<br> | |||
A | The whole tagging structure is divided into four sub systems (Anime, Character, Episodes, Creator) i.e. Tag Systems.<br> | ||
Tag | Each Tag System has its own Tag Tree which are unrelated to each other.<br> | ||
A Tag Tree consists of hierarchical ordering of Tag Entries which are common to all Tag Systems (but each Tag Entry may only be used once per Tag System).<br> | |||
A Tag Entry consists of a name (and aliases if necessary), an image, a description and whether it should be restricted (mostly because of the image).<br> | |||
A Tag-Entity Relation connects a Tag Entry to an Entity (i.e. Anime, Character, Episode or Creator) with additional information (e.g. IsSpoiler)<br> | |||
To hit the structure home here is an example:<br> | |||
Lets say all tags where gone and we want to tag Gintama with Comedy, Slapstick, Parody.<br> | |||
First we need Tag Entries, one for each Keyword (Comedy, Slapstick, Parody), after we're done creating those (adding a name/aliases, image, description, etc.), we end up with the Tag Entries which we will now just refer to as [Comedy], [Slapstick], [Parody].<br> | |||
Clever as we are, we notice that there is a relationship between those Tag Entries, so we want to set [Comedy] as the parent of [Slapstick], [Parody].<br> | |||
To do this, we go to the Anime Tag System (since Gintama is an anime) and manipulate its Tag Tree, i.e. set the parent of [Slapstick], [Parody] (within the Anime Tag System!) to [Comedy].<br> | |||
Now all that is left to do is to connect each of the Tag Entries to Gintama which is done through a Tag-Entity Relation.<br> | |||
[[File:TagSystem_DB_Example.png]] | |||
= Tag Entry = | = Tag Entry = |
edits