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

BioPortal can't load KiSAO v2.34 due to invalid date values #116

Open
jvendetti opened this issue Oct 30, 2024 · 0 comments
Open

BioPortal can't load KiSAO v2.34 due to invalid date values #116

jvendetti opened this issue Oct 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jvendetti
Copy link

jvendetti commented Oct 30, 2024

We were unable to successfully process and display KiSAO in the BioPortal ontology repository because of some invalid date values in the OWL ontology source file:

  1. On line 322 the date value is recorded as a string of "24JAN2009":
<dc:created rdf:datatype="http://www.w3.org/2001/XMLSchema#date">24JAN2009</dc:created>
  1. On line 13,473 the date value contains two consecutive hyphen characters:
<dc:created rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2021--04-27</dc:created>
  1. On line 13,967 the date value doesn't comply to YYYY-MM-DD formatting:
<dc:created rdf:datatype="http://www.w3.org/2001/XMLSchema#date">06-04-2021</dc:created>
  1. There are 32 occurrences where a date value of 06-03-2021 is used, which doesn't follow YYYY-MM-DD formatting. One such example is on line 15,089.

I manually fixed all occurrences of the invalid dates values in the OWL file that resides on the BioPortal production server, and reprocessed the ontology today. Currently the ontology content is accessible, but will error out again the next time a new version is uploaded unless the date values are repaired.

@jvendetti jvendetti added the bug Something isn't working label Oct 30, 2024
@jvendetti jvendetti changed the title BioPortal can't load KISAO v2.34 due to invalid date values BioPortal can't load KiSAO v2.34 due to invalid date values Oct 30, 2024
luciansmith added a commit that referenced this issue Oct 30, 2024
Replace incorrectly-formatted dates, a la #116
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant