OP-TED / ted-rdf-mapping-eforms

TED-RDF Mapping Suites for eForms Notices
European Union Public License 1.2
1 stars 0 forks source link

Wrong datatype for epo:hasPublicationDate on Cellar #73

Open kvistgaard opened 3 weeks ago

kvistgaard commented 3 weeks ago
dateProperty numberOrInvalidDateValues validDateValues invalidDateSample
http://data.europa.eu/a4g/ontology#hasPublicationDate 76537 0 "20231227"
http://data.europa.eu/a4g/ontology#hasDispatchDate 0 76537

query

cristianvasquez commented 3 weeks ago

Hello, thanks for reporting.

The untyped values for epo:publicationDate were produced by previous mappings. The data in Cellar will start being updated in the following weeks

The dates produced by these mappings, currently look like this:

epd:id_87181027-701c-4f51-a51c-ef93a9baf21d_Notice epo:hasPublicationDate "2024-03-08Z"^^xsd:date;
  epo:hasESenderDispatchDate "2024-03-06T00:00:00+01:00"^^xsd:dateTime .

There are caveats, some data coming from the sources might not conform to xsd:date, because of time. There is a related discussion here: https://github.com/OP-TED/ted-rdf-mapping-eforms/issues/8

Do you have suggestions/guidelines for handling dates in these cases?

From sample:

epd:id_87181027-701c-4f51-a51c-ef93a9baf21d_Notice a epo:CompetitionNotice, epo:Notice,
    epo:Notice12;
  epo:announcesLot epd:id_87181027-701c-4f51-a51c-ef93a9baf21d_Lot_LOT-0001;
  epo:announcesProcedure epd:id_87181027-701c-4f51-a51c-ef93a9baf21d_Procedure_iNVWPykMuHh9p4AY3uzvA2;
  epo:announcesRole epd:id_87181027-701c-4f51-a51c-ef93a9baf21d_Buyer_HGvue6GtAm3yppLpDLnBKD,
    epd:id_87181027-701c-4f51-a51c-ef93a9baf21d_ProcurementServiceProvider_5pAdSgcdg4RFNCjSutRTu9,
    epd:id_87181027-701c-4f51-a51c-ef93a9baf21d_Reviewer_HGvue6GtAm3yppLpDLnBKD;
  epo:hasESenderDispatchDate "2024-03-06T00:00:00+01:00"^^xsd:dateTime;
  epo:hasFormType <http://publications.europa.eu/resource/authority/form-type/competition>;
  epo:hasNoticePublicationNumber "00142225-2024";
  epo:hasNoticeType <http://publications.europa.eu/resource/authority/notice-type/pin-cfc-social>;
  epo:hasOJSIssueNumber "49/2024";
  epo:hasOfficialLanguage <http://publications.europa.eu/resource/authority/language/FRA>;
  epo:hasPublicationDate "2024-03-08Z"^^xsd:date;
  epo:hasVersion "02";
  epo:refersToLot epd:id_87181027-701c-4f51-a51c-ef93a9baf21d_Lot_LOT-0001;
  epo:refersToProcedure epd:id_87181027-701c-4f51-a51c-ef93a9baf21d_Procedure_iNVWPykMuHh9p4AY3uzvA2;
  adms:identifier epd:id_87181027-701c-4f51-a51c-ef93a9baf21d_NoticeIdentifier_UqBk5rJmTLyMMKTBaBF8aL .