<p>Tags often fall into certain heirarchies. Files with one certain tags <i>always</i> have certain other tags, and it is annoying and time-consuming to add them all individually every time.</p>
<p>For example, whenever you tag a file with <i>ak-47</i>, you probably also want to tag it <i>assault rifle</i>, and maybe even <i>firearm</i> as well.</p>
<p><imgsrc="tag_parents_venn.png"/></p>
<p>Another time, you might tag a file <i>character:eddard stark</i>, and then also have to type in <i>house stark</i> and then <i>series:game of thrones</i>. (you might also think <i>series:game of thrones</i> should actually be <i>series:a song of ice and fire</i>, but that is an issue for <ahref="advanced_siblings.html">siblings</a>)</p>
<p>If we were to search for the tag <i>house stark</i>, we would expect our results to include all the images of any of the Starks. Even so, it is tedious to have to remember to tag every image of a character with their house affiliation or other parent tags. You may not even remember.</p>
<p>Wouldn't it be great if we could add these sorts of tags at the same time?</p>
<p>Let's define the relationship 'tag P is tag C's parent' as saying that tag P is the semantic superset/superclass of tag C. <b>All files that have C should have P.</b> Let's say that when the user tries to add a tag to a file, the tag's parents are added recursively.</p>
<p>In that graph, adding <i>ar-15</i> to a file would also add <i>semi-automatic rifle</i>, <i>rifle</i>, and <i>firearm</i>. Searching for <i>handgun</i> would return everything with <i>m1911</i> and <i>smith and wesson model 10</i>.</p>
<p>Although characters are an obvious and convenient step, we need to be careful to make sure we only link characters to series if they have unique names, and only if they are <i>inextricably</i> linked with their series. Series with crossovers and spinoffs (like CSI) make this difficult, so measure twice before you cut.</p>
<p>Which looks and works just like the manage tag siblings dialog.</p>
<p>Once you have some relationships added, the parents and grandparents will show indented anywhere you 'write' tags, such as the manage tags dialog:</p>
<p><imgsrc="tag_parents_ac_1.png"/></p>
<p>Hitting enter on cersei will try to add <i>house lannister</i> and <i>series:game of thrones</i> as well.</p>
<p><imgsrc="tag_parents_ac_2.png"/></p>
<p><b>Tag parents are not strict!</b> If a parent relationship breaks down for whatever reason (e.g. Rule 63 screwing up character->gender), you can de-pend or petition any parent tag, and the client will not try to remove the children. Tag parents are only ever suggestions in write tag autocomplete dropdowns.</p>