-
Notifications
You must be signed in to change notification settings - Fork 0
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
missing time:TemporalUnit for epo:SpecificDuration #40
Comments
This perplexed me for a while initially, until I realized that the unitCode value is
While the upstream Authority Table (AT) does appear to have the code Under normal circumstances, this would not have caused any issue, as we would've used the upstream vocabulary. However, because in this case we map to an ontology term (from time), we used the SDK as the canonical reference, and created a custom mapping table according to the SDK codelist. Please confirm whether or not we should then add the rest of the codes that have a |
Hi, I've gathered some information and the code list of the SDK will always be a subset of the authority tables values, honouring the 'Code' value. I believe we can be liberal in what we accept, meaning we can have an augmented mapping in the custom mapping that handles things such as I'm looking for the time-mapping, perhaps it already exists? |
We would gladly add more codes in the custom mapping, but unfortunately there is no equivalent to those you cite in the Time ontology. There are no instances of the time:TemporalUnit class to represent We can of course extend our mapping table to map However, for the other values from the AT, which are not permitted values in the SDK, we would need to handle them in special ways that would not be straightforward (e.g.
Can you clarify what you mean by this? |
time-mapping was my unfortunate choice of words to refer to the complete mapping of at-voc:timeperiod to the time ontology. :) address this comprehensively, I believe we need further analysis and the concrete mapping of all the values I opened a new related issue in ePO repository for further discussion: OP-TED/ePO#681 Regarding this specific issue, I would extend the mapping table to include all we can that is obvious. Regarding the CALENDAR_DAY description, I notice the key distinction from DAY is that it specifically starts at midnight, although the duration is identical. For this, I would suggest using Do you foresee other values to add? |
I see now. There is no mapping for that one as we simply translate to a voc value, not an ontology class. This is the voc resource file, which is integrated into the RML here. These resources are produced by querying the official endpoint, which we track in the pipeline.
Thanks for reporting this in detail incl. digging up the related tickets.
According to the list of instances for time:TemporalUnit we can only map the HOUR ( Beyond |
Thank you for looking up the values, is appreciated! Probably is safe to keep the instances of Day and Months out, ePO only references the time ontology through
|
Upon reconsideration, it seems that for example Probably adding Months and Days to the custom mapping would be prudent and wouldn't cause any issues. Let's adjust the case and add time:unitDay, months and days (time:TemporalUnit) and days (time:DayOfWeek) to the mapping and feel free to close the issue with the commit |
I don't understand your latest suggestion @cristianvasquez. I think there is a big confusion here. And it is likely caused by the fact that the On the one hand, the values in the ted-rdf-mapping-eforms/mappings/package_cn_v1.8/transformation/mappings/Lot.rml.ttl Line 4639 in 5677aa7
That is totally different from what this issue is about. This issue is about the mapping of the values of the For this use case we have a separate mapping table, temporal_unit.csv (which was slightly changed for the mappings of earlier SDK versions), that maps the values that can appear in the According to the eForms SDK, the
The fact that the notice that you encountered contains However, the majority of other values in the The only other values in the In principle So, as far as I see it, the only potentially useful, and arguably not a completely incorrect, modification would be to add the mapping of |
Thank you for the detailed explanation; it clarifies the distinction between the two uses of the Mapping As for |
Reflects changes in the versioned CN packages with the following commit log messages: Fix UNIX file permissions for CN CM, SHACL, data Fix IRI generation of all SubmissionTerm instances to collapse them Remove unneeded AwardCriterion file Remove some unneeded comments, add some cosmetic fixes Add more version clarifications Add BT-13716-notice ChangeInformation versioned mappings Fix gh-40 add CALENDAR_DAY to custom temporal_unit table Fix gh-31 undesired repeated role instantiation Fix gh-47 SelectionCriterion URI irrelevant name Fix gh-46 missing BT-52 hasSuccessiveReduction Fix gh-43 missing hasMainActivity for Buyer Fix gh-39 unconnected SubmissionTerm triples Fix or remove some unnecessary comments Additionally this commit also updates the CM for v1.9 to bring it up to parity with those of the other versioned packages (v1.3-1.8+1.10).
Reflects changes in the versioned CN packages with the following commit log messages: Fix UNIX file permissions for CN CM, SHACL, data Fix IRI generation of all SubmissionTerm instances to collapse them Remove unneeded AwardCriterion file Remove some unneeded comments, add some cosmetic fixes Add more version clarifications Add BT-13716-notice ChangeInformation versioned mappings Fix gh-40 add CALENDAR_DAY to custom temporal_unit table Fix gh-31 undesired repeated role instantiation Fix gh-47 SelectionCriterion URI irrelevant name Fix gh-46 missing BT-52 hasSuccessiveReduction Fix gh-43 missing hasMainActivity for Buyer Fix gh-39 unconnected SubmissionTerm triples Fix or remove some unnecessary comments Additionally this commit also updates the CM for v1.9 to bring it up to parity with those of the other versioned packages (v1.3-1.8+1.10).
Reflects changes in the versioned CN packages with the following commit log messages: Fix UNIX file permissions for CN CM, SHACL, data Fix IRI generation of all SubmissionTerm instances to collapse them Remove unneeded AwardCriterion file Remove some unneeded comments, add some cosmetic fixes Add more version clarifications Add BT-13716-notice ChangeInformation versioned mappings Fix gh-40 add CALENDAR_DAY to custom temporal_unit table Fix gh-31 undesired repeated role instantiation Fix gh-47 SelectionCriterion URI irrelevant name Fix gh-46 missing BT-52 hasSuccessiveReduction Fix gh-43 missing hasMainActivity for Buyer Fix gh-39 unconnected SubmissionTerm triples Fix or remove some unnecessary comments Additionally this commit also updates the CM for v1.9 to bring it up to parity with those of the other versioned packages (v1.3-1.8+1.10).
Reflects changes in the versioned CN packages with the following commit log messages: Fix UNIX file permissions for CN CM, SHACL, data Fix IRI generation of all SubmissionTerm instances to collapse them Remove unneeded AwardCriterion file Remove some unneeded comments, add some cosmetic fixes Add more version clarifications Add BT-13716-notice ChangeInformation versioned mappings Fix gh-40 add CALENDAR_DAY to custom temporal_unit table Fix gh-31 undesired repeated role instantiation Fix gh-47 SelectionCriterion URI irrelevant name Fix gh-46 missing BT-52 hasSuccessiveReduction Fix gh-43 missing hasMainActivity for Buyer Fix gh-39 unconnected SubmissionTerm triples Fix or remove some unnecessary comments Additionally this commit also updates the CM for v1.9 to bring it up to parity with those of the other versioned packages (v1.3-1.8+1.10).
Hello,
I've found a
epo:SpecificDuration
without atime:TemporalUnit
definedI had a peek into the XML, and the time unit appears to be there.
Source XML: https://ted.europa.eu/en/notice/163529-2024/xml
The text was updated successfully, but these errors were encountered: