ICA-EGAD / RiC-O

ICA Records in Contexts-Ontology (ICA RiC-O) GitHub repository web pages
https://ica-egad.github.io/RiC-O/
47 stars 17 forks source link

Introduce rico:hasPublicationDate instead of rico:publicationDate #32

Closed ivozandhuis closed 8 months ago

ivozandhuis commented 2 years ago

Do I miss a kind of "rico:hasPublicationDate" for better handling dates with "rico:Date"? The definition of rico:publicationDate states "Use only if you don't use Date classes for handling dates" but I don't know which property to use otherwise.

florenceclavaud commented 2 years ago

Hi @ivozandhuis,

It is true that there is no rico:hasPublicationDate object property with range rico:Date, and we can add this improvement to our roadmap. Meanwhile, you can use W3C datatypes with rico:publicationDate (and with any other data property like rico:date or a subproperty of it). Examples, taken from https://github.com/ICA-EGAD/RiC-O/blob/master/examples/examples_v0-2/NationalArchivesOfFrance/rdf-xml/agents/FRAN_Agent_000005.rdf:

2013-04-23 2017-04-28 Other example, taken from [https://github.com/ICA-EGAD/RiC-O/blob/master/examples/examples_v0-2/NationalArchivesOfFrance/rdf-xml/recordResources/FRAN_RecordResource_003500.rdf](https://github.com/ICA-EGAD/RiC-O/blob/master/examples/examples_v0-2/NationalArchivesOfFrance/rdf-xml/recordResources/FRAN_RecordResource_003500.rdf): 2000 Would this method suit your needs for now? Best, Florence Clavaud
ivozandhuis commented 2 years ago

Thanks for your suggestion to typecheck the dates. I plan to introduce typechecking in all dates I find. Adding a kind of hasPublicationDate would be nice to be consequent :-)

ivozandhuis commented 10 months ago

@florenceclavaud Do you intent to put this on the roadmap for 1.0? Should we add the milestone label?

florenceclavaud commented 10 months ago

@florenceclavaud Do you intent to put this on the roadmap for 1.0? Should we add the milestone label?

I would say yes to both questions :-)

florenceclavaud commented 10 months ago

I have added the milestone

ivozandhuis commented 9 months ago

Will be solved by PR #71 .

florenceclavaud commented 8 months ago

I am closing this issue after reviewing, merging and closing PR #71