# Adding start and end date attribute to relationships

**URL:** https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222
**Category:** BookBrainz
**Tags:** relationships
**Created:** [February 26, 2024, 3:56pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222 "2024-02-26T15:56:00Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![aabbi15](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/a/ecb155/32.png) [@aabbi15](https://community.metabrainz.org/u/aabbi15)
#### Post date: [February 26, 2024, 3:56pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/1 "2024-02-26T15:56:00Z")

</div>

I am working on adding start and end dates to certain relationships which need them. As of now I have thought of these as the suitable relationships. Please feel free to add more or give me feedback on any of the ones I have included already.

- Author
- Marriage
- Involved with
- Member of Group
- Subgroup
- Collaboration
- Translated
- Adaptor
- Worked On
- Artist
- Illustrator
- Photographer
- Penciller
- Colourist
- Inker
- Letterer
- Other

---

<div class="post-metadata">

### Author: ![blackteadarkmatter](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/b/67e7ee/32.png) [@blackteadarkmatter](https://community.metabrainz.org/u/blackteadarkmatter)
#### Post date: [February 26, 2024, 5:27pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/2 "2024-02-26T17:27:36Z")

</div>

This would be great. One I often think about is “wrote”, because works can be written decades (centuries?) before being published for the first time.

---

<div class="post-metadata">

### Author: ![indy133](https://community.metabrainz.org/user_avatar/community.metabrainz.org/indy133/32/36101_2.png) [@indy133](https://community.metabrainz.org/u/indy133)
#### Post date: [February 26, 2024, 5:46pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/3 "2024-02-26T17:46:20Z")

</div>

That’s great news @aabbi15!

The relation that currently needs these start and end dates most urgently is the “release date” for the editions.  
Since we combine reprints without an id change in a single edition, there is a range in which each edition is valid.  
At the moment you have to write this in the annotations.

And we need it for the not yet existing fields “Written” and “First published” for works.

---

<div class="post-metadata">

### Author: ![blackteadarkmatter](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/b/67e7ee/32.png) [@blackteadarkmatter](https://community.metabrainz.org/u/blackteadarkmatter)
#### Post date: [February 26, 2024, 6:07pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/4 "2024-02-26T18:07:01Z")

</div>

> [@indy133](#):
>
> not yet existing fields “Written”

We already have a “was written by” relationship for works, that’s the one I was thinking about.

> [@indy133](#):
>
> Since we combine reprints without an id change in a single edition, there is a range in which each edition is valid.

I actually don’t agree with this. A release is a specific date, not a time span. Editions don’t become unreleased when there is a new edition or reprint. It may be useful to have a relationship for reprints, but that would be a different thing.

I also don’t think we need a “first published” field, the first edition containing it is the “first published” date. The only exception I can think of is for works first published as manuscripts (before the printing press was invented/widely used), because we’re not adding those (yet?)…

These last two are the same situation that we have with releases in MB and it works well. (Except for the manuscripts, which I’m not sure how to handle… Do we need a relationship just for those? De we allow adding the first known manuscript as an edition just to get the correct date?)

---

<div class="post-metadata">

### Author: ![indy133](https://community.metabrainz.org/user_avatar/community.metabrainz.org/indy133/32/36101_2.png) [@indy133](https://community.metabrainz.org/u/indy133)
#### Post date: [February 26, 2024, 6:25pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/5 "2024-02-26T18:25:38Z")

</div>

> [@blackteadarkmatter](#):
>
> was written by” relationship for works

So you want to add the span to the “written by” relation. Does that work? Maybe…

> [@blackteadarkmatter](#):
>
> A release is a specific date

No, not for BB. If there are no changes (same cover, same ids etc.) we don’t add a new edition.  
See guidelines:

#### **When should I _not_ create a new Edition of a Work?**

- Minimal changes as in proofreading errors
- Minimal changes on the cover
- Reprints of the same Edition. You can mention “Reprint – [date]” in the annotations.

So we almost always have a span that comprises the reprints of an edition (or new editions without changes)..

> [@blackteadarkmatter](#):
>
> I also don’t think we need a “first published” field

Many works has been first published as a serial in newspapers. We don’t add these to BB. So this field is not redundant.

---

<div class="post-metadata">

### Author: ![indy133](https://community.metabrainz.org/user_avatar/community.metabrainz.org/indy133/32/36101_2.png) [@indy133](https://community.metabrainz.org/u/indy133)
#### Post date: [February 26, 2024, 6:41pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/6 "2024-02-26T18:41:29Z")

</div>

> [@indy133](#):
>
> Reprints of the same Edition

There also might be a misunderstanding concerning the meaning of “reprint/ new edition” here.  
The concept of “reprint” does not exist in every country.  
In Germany, for example, there are no “reprints”, only editions. This means that every reprint counts as a new edition. Maybe that’s why there are misunderstandings.

---

<div class="post-metadata">

### Author: ![blackteadarkmatter](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/b/67e7ee/32.png) [@blackteadarkmatter](https://community.metabrainz.org/u/blackteadarkmatter)
#### Post date: [February 26, 2024, 11:19pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/7 "2024-02-26T23:19:22Z")

</div>

> [@indy133](#):
>
> So you want to add the span to the “written by” relation.

Like in MB, you can set start and end date to the same date to indicate a specific date, not a time span. I’m assuming that’s what @aabbi15 had in mind, adding the same kind of dates to BB relationships.

> [@indy133](#):
>
> No, not for BB. If there are no changes (same cover, same ids etc.) we don’t add a new edition.

Yes, but I don’t see how that’s relevant. The edition doesn’t end when the new edition is released. When the second release comes out, the first editions don’t get unreleased. You just have another edition.

* * *

> [@indy133](#):
>
> In Germany, for example, there are no “reprints”, only editions.

There may be some difference, but I don’t think it’s relevant, because I don’t disagree with this. In my experience, a book can have multiple editions, which generally something changed. The same edition can also be reprinted many times from the same plates, which prevents any change. Sometimes the dates of the reprints are listed in the front matter, sometimes not. I also agree we shouldn’t create new editions for each reprint, but we should for new numbered editions. If for no other reason, because most people will have only one edition, and the only way to know if there is any difference is to compare them page by page. Maybe that doesn’t apply to printing in Germany, I don’t really know.

---

<div class="post-metadata">

### Author: ![aabbi15](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/a/ecb155/32.png) [@aabbi15](https://community.metabrainz.org/u/aabbi15)
#### Post date: [February 27, 2024, 8:44am UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/8 "2024-02-27T08:44:34Z")

</div>

> [@blackteadarkmatter](#):
>
> I actually don’t agree with this. A release is a specific date, not a time span. Editions don’t become unreleased when there is a new edition or reprint. It may be useful to have a relationship for reprints, but that would be a different thing.

Yes I also feel the same only having one date attribute (which would indicate the release date is fine)

---

<div class="post-metadata">

### Author: ![indy133](https://community.metabrainz.org/user_avatar/community.metabrainz.org/indy133/32/36101_2.png) [@indy133](https://community.metabrainz.org/u/indy133)
#### Post date: [February 27, 2024, 3:20pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/9 "2024-02-27T15:20:59Z")

</div>

> [@aabbi15](#):
>
> Yes I also feel the same only having one date attribute (which would indicate the release date is fine)

This was written 2 years ago about this topic:

> [@Documentation of the publishing date range of a BB edition](https://community.metabrainz.org/t/documentation-of-the-publishing-date-range-of-a-bb-edition/581327):
>
> Since we are getting more and more editions which are not seperare editions according to BB rules, we have to think about how to display the range of these editions. At the moment there is no other way than this: adding the variants at the end of the annotation field and, if possible adding a picture (via link) of the first and the last edition of the group of variants. This should not be confused with adding information as printed in many editions l…

This might be a better explanation for what I mean:  
A BB edition is NOT the same as a book edition.

Many of the editions I added look like the example in the linked thread.

[first known] release date: 1983

Annotations:

Confirmed editions [editions that are just reprints]:  
3. edition: 1983  
5. edition 1986

So the publishing date for this BB edition is not just 1983

We can do it this way, but it’s far from perfect I think

---

<div class="post-metadata">

### Author: ![indy133](https://community.metabrainz.org/user_avatar/community.metabrainz.org/indy133/32/36101_2.png) [@indy133](https://community.metabrainz.org/u/indy133)
#### Post date: [February 27, 2024, 5:33pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/10 "2024-02-27T17:33:50Z")

</div>

Here is another example:

 ![Vollbildaufzeichnung 27.02.2024 181551](https://community.metabrainz.org/uploads/default/original/3X/6/c/6c27e26be12f70fd52dcbb77de7b387e85e7e256.jpeg)

I added the first edition from 1986 a long time ago.  
I recently had the ninth edition from 1996 in my hands. The only difference between the two editions was the font on the cover.  
That didn’t seem to be enough for a new BB edition.

So this BB edition has a start point 1986 and a preliminary end point 1996.

It seems to me that the description of the release date as a period of time (1986-1996+?) is more correct than a point in time (1986).

---

<div class="post-metadata">

### Author: ![aabbi15](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/a/ecb155/32.png) [@aabbi15](https://community.metabrainz.org/u/aabbi15)
#### Post date: [February 27, 2024, 5:43pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/11 "2024-02-27T17:43:58Z")

</div>

But is the 1986 edition discontinued from selling after the 1996 one was released? I don’t think a font change would make the 1986 edition obsolete. I don’t know exactly in this case but I know of examples where there are multiple editions of the same book co-existing in the market.

Also I don’t quite understand the difference between book edition and BB edition. What makes one book qualify as a NEW BB EDITION?

---

<div class="post-metadata">

### Author: ![indy133](https://community.metabrainz.org/user_avatar/community.metabrainz.org/indy133/32/36101_2.png) [@indy133](https://community.metabrainz.org/u/indy133)
#### Post date: [February 27, 2024, 6:03pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/12 "2024-02-27T18:03:28Z")

</div>

> [@aabbi15](#):
>
> But is the 1986 edition discontinued from selling after the 1996 one was released?

Of course. They printed 20000 Books of the first edition (The 200 in the printer’s key). When they had been sold out they printed the 2. edition and so on (technically these editions are all reprints)

> [@aabbi15](#):
>
> What makes one book qualify as a NEW BB EDITION?

Any change to the content, ids, credits or graphics leads to the creation of a new BB edition (we haven’t defined this exactly yet).

---

<div class="post-metadata">

### Author: ![blackteadarkmatter](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/b/67e7ee/32.png) [@blackteadarkmatter](https://community.metabrainz.org/u/blackteadarkmatter)
#### Post date: [February 28, 2024, 10:53am UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/13 "2024-02-28T10:53:29Z")

</div>

> [@indy133](#):
>
> Of course. They printed 20000 Books of the first edition (The 200 in the printer’s key). When they had been sold out they printed the 2. edition and so on (technically these editions are all reprints)

Yes, but the books weren’t destroyed, they still exist. They didn’t become unreleased. Reading your previous posts, I think maybe there’s a bit of confusion. Do you maybe mean we should accept multiple release dates (like in MB)? This makes more sense to me.

I actually think in 99% of cases there should be a single release date, but an exception would be a company publishing the exact same book in different countries at slightly different times (e.g. a German company publishing the same book [from the same printing] in Germany and Austria a couple of days apart).

We don’t currently have a field for reprints, but we should and these should definitely allow for multiple values, as there can be dozens of reprints.

> [@indy133](#):
>
> The only difference between the two editions was the font on the cover.

I would say these should definitely be different editions. Any difference in the artwork should a separate edition. This is similar to what has been decided for MB.

---

<div class="post-metadata">

### Author: ![indy133](https://community.metabrainz.org/user_avatar/community.metabrainz.org/indy133/32/36101_2.png) [@indy133](https://community.metabrainz.org/u/indy133)
#### Post date: [February 28, 2024, 11:58am UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/14 "2024-02-28T11:58:44Z")

</div>

> [@blackteadarkmatter](#):
>
> We don’t currently have a field for reprints, but we should and these should definitely allow for multiple values, as there can be dozens of reprints.

Well, yes that’s in fact what I’m trying to do here 😉  
The release date is the date for the first printing, but doesn’t cover the date of the reprints.  
I thought we could just do this by setting a start date for the first printing and and an end date for the last reprint.

Of course, we can also solve this with a multi value field for reprints. That would be more precise.

And the fact that we Germans don’t use the term “reprint” in our books but only “edition” is our problem - we have to deal with that on our own 😉

> [@blackteadarkmatter](#):
>
> I would say these should definitely be different editions

Yes, that is certainly what it will come down to.

---

<div class="post-metadata">

### Author: ![blackteadarkmatter](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/b/67e7ee/32.png) [@blackteadarkmatter](https://community.metabrainz.org/u/blackteadarkmatter)
#### Post date: [February 28, 2024, 2:19pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/15 "2024-02-28T14:19:35Z")

</div>

Nice to see there isn’t as much disagreement as it seemed.

> [@indy133](#):
>
> The release date is the date for the first printing, but doesn’t cover the date of the reprints.

I understand what you’re trying to do, but this would really work better with multiple dates. Otherwise, all dates but the last would be lost. And, besides, we don’t generally know the date of the _last_ reprint, just the one we currently have (often not even that). Especially with MB’s precedence, I think it just makes more sense to allow multiple dates.

> [@indy133](#):
>
> And the fact that we Germans don’t use the term “reprint” in our books but only “edition”

Germans sure are very particular about an awful lot of things, aren’t they? 😉 But eventually we should have documentation pages for each language/country. We have that in MB, and with books this kind of thing is probably more common.

> [@indy133](#):
>
> > [@blackteadarkmatter](#):
> >
> > I would say these should definitely be different editions
> 
> Yes, that is certainly what it will come down to.

I actually misread you as saying “The only difference between the two editions was the font _and_ the cover” — I thought you were saying the artwork was different. I still think it should be a different edition, but it’s not as obvious…

---

<div class="post-metadata">

### Author: ![aabbi15](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/a/ecb155/32.png) [@aabbi15](https://community.metabrainz.org/u/aabbi15)
#### Post date: [February 28, 2024, 4:39pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/16 "2024-02-28T16:39:11Z")

</div>

Ok. So I guess we decide on adding start and end dates to editions. What relationship exactly is it in BB can you let me know it’s name?

---

<div class="post-metadata">

### Author: ![blackteadarkmatter](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/b/67e7ee/32.png) [@blackteadarkmatter](https://community.metabrainz.org/u/blackteadarkmatter)
#### Post date: [February 28, 2024, 5:13pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/17 "2024-02-28T17:13:28Z")

</div>

There is no relationship, at least currently. And I think in the end we agree this would be better defined with multiple dates, not start/end dates. It seems we got a bit off the track.

---

<div class="post-metadata">

### Author: ![indy133](https://community.metabrainz.org/user_avatar/community.metabrainz.org/indy133/32/36101_2.png) [@indy133](https://community.metabrainz.org/u/indy133)
#### Post date: [February 28, 2024, 5:14pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/18 "2024-02-28T17:14:39Z")

</div>

> [@aabbi15](#):
>
> So I guess we decide on adding start and end dates to editions

No, we decided against adding two dates to the editions. We will solve the problem with the reprint dates in a different way 😉

---

<div class="post-metadata">

### Author: ![aabbi15](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/a/ecb155/32.png) [@aabbi15](https://community.metabrainz.org/u/aabbi15)
#### Post date: [March 2, 2024, 6:42pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/19 "2024-03-02T18:42:33Z")

</div>

Cool for now I have added begin/end date attributes to other relationships and made a PR at [Add begin date and end date attribute to relationship by aabbi15 · Pull Request #1073 · metabrainz/bookbrainz-site · GitHub](https://github.com/metabrainz/bookbrainz-site/pull/1073)

Kindly check it out and list if you think something is missing or if something that should not be there is. I have listed the names of relationships to help you out as well.

---

<div class="post-metadata">

### Author: ![blackteadarkmatter](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/b/67e7ee/32.png) [@blackteadarkmatter](https://community.metabrainz.org/u/blackteadarkmatter)
#### Post date: [March 2, 2024, 7:47pm UTC](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222/20 "2024-03-02T19:47:01Z")

</div>

Thanks, @aabbi15, this is good progress.

[Next page](https://community.metabrainz.org/t/adding-start-and-end-date-attribute-to-relationships/683222.md?page=2)
