Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

date modelization #147

Open
eroux opened this issue Aug 18, 2019 · 3 comments
Open

date modelization #147

eroux opened this issue Aug 18, 2019 · 3 comments

Comments

@eroux
Copy link
Collaborator

eroux commented Aug 18, 2019

I'm fine with the new bedate, csdate, etc. so it's just a proposal:

from my point of view, we could discriminate between two types of dates:

  • modern dates (things that we can encode as an xsd:date
  • the rest, which constitutes most of the date indications in the artefactual sources (Buddhist Era, Tibetan dates, the myriads of Chinese eras, etc.)

so as a rule of thumb, for a date indication, we could encode both:

  • the modern date would be used for queries, and would be always present when it's reasonably knowable
  • the artefactual date would be indicated just like in the text

Now, it seems to me that in order to record a date indication we could start with just two fields:

  • :era having a range of an era object
  • :yearInEra which indicates the year

This would work for Chinese dates (if we encode all the various eras), and the SEA dates (the Tibetan dates would be a little different but they're a bit easier).

So in the end my proposal is that in the case where the artefact indicates 123 CS and we know that it corresponds to 345CE, I would encode it in the following manner:

:onYear 345 ;
:dateIndication [
   :era bdr:EraCS ;
   :yearInEra 123
] .

what do you think?

@eroux
Copy link
Collaborator Author

eroux commented Aug 20, 2019

Here's an attempt that also encodes Chinese eras:

https://docs.google.com/document/d/1MhEXs8hxBjYp6qXrmNIKGFyhMbKa53YOjhDJCeUdxTI/edit#

and a proposal to encode the full date indications (not just the era / year), including the Chinese ones:

https://docs.google.com/document/d/1dUO5Yb3Fs9yp_6Y1HGJ-Vw7nFghFuRwhYlowSln6QJo/edit#

what do you think?

@eroux
Copy link
Collaborator Author

eroux commented Aug 20, 2019

the current option is to have:

"123"^^bdo:cdDate

@xristy
Copy link
Contributor

xristy commented Aug 21, 2019

yes that's the original desired intent and it turns out to require a bit of implementation which has been added to io.bdrc.libraries.BdrcDateType and integrated into xmltoldmigration and the fuseki startup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants