xsd:date
vs. xsd:dateTime
in the mapping of fields BT-536-Lot
, BT-537-Lot
, BT-78-Lot
, BT-719-notice
, BT-1451-Contract
#8
Labels
question
Further information is requested for implementation
Several eForms fields provide a date value, while the corresponding ePO property has
xsd:dateTime
as its range.This is a problem, since we cannot generate a valid
xsd:dateTime
value only from a date value (without resorting to adding some artificial time component, which is not present in the input data), andxsd:date
andxsd:dateTime
have incompatible structure.There are three potential solutions, each generating a separate problem:
xsd:dateTime
value from a simple date, by adding a fictive time component suffix, such asT00:00:00
orT23:59:59
, after the date. This is undesirable since the output will not be a true reflection of the input.xsd:dateTime
. This will create an invalid RDFxsd:date
. This will create an RDF that will raise SHACL violations against the ePO SHACL shapes.OP suggested we implement option 3 for now, however the problem will be further discussed and potentially addressed in the ePO WGs.
Here is a list of fields where this problem occurs:
and here are the related ePO classes and properties
The text was updated successfully, but these errors were encountered: