Open ddooley opened 11 months ago
Is is possible that's being generated by an older version of LinkML? In the 1.6.0 metamodel the URI of the time
type is xsd:time
: https://raw.githubusercontent.com/linkml/linkml-model/v1.6.0/linkml_model/model/schema/types.yaml
Describe the bug Basically the linkml:Time type is given a URI of xsd:dateTime rather than xsd:time . I understand by the note on the type (below) that this is behaviour by design - but does LinkML really want to engineer this conversion just because of OWL syntax limitations? It doesn't do this conversion for linkml:Date !!!
The problem for the DataHarmonizer app is we have applications where it is appropriate to have a local time input on a field without any date control. Via LinkML API, manipulations having time=dateTime datatype forces the DH calendar to be shown as well as time inputter, and forces validation of dateTime.
A purer solution would be to have clients convert time into datetime only when exporting data to RDF format?
If LinkML:time = xsd:dateTime is ensconsed in LinkML, DH could do a workaround by adding a custom time type, say "local_time", which ensures uri: xsd:time. Let me know if that is the preferred route for the foreseeable future.
Thx,