-
Notifications
You must be signed in to change notification settings - Fork 81
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
TIME: time:inXSDDateTime deprecation impact on PROV alignment and other use cases #1421
Comments
Thanks for this comment. You have hit various nails on their heads, most of which I was aware of when I prepared the alignment:
I do not have a solution to any of these, which is why the whole thing is 'informative'. Do you have stronger suggestions? |
Thank you for the reply, @dr-shorthair . Here is what I would suggest, after having tinkered with workarounds:
|
Thanks @ajnelson-nist - could you prepare a PR? |
The file time-prov.ttl provides a non-normative alignment between OWL-Time and PROV-O. One of the included suggestions is an alignment of `prov:endedAtTime` with `time:inXSDDateTime` via a property chain. Unfortunately, in the current draft of OWL-Time, `time:inXSDDateTime` is deprecated. A similar issue is present for `prov:startedAtTime` and `prov:atTime`. This patch drops alignment axioms that would lead an adopting user to cause their PROV-O data to yield deprecated property usage under OWL entailment. This contribution is made only by myself, and is not being made by the National Institute of Standards and Technology or any other organization. References: * w3c#1421 * https://www.w3.org/TR/2022/CRD-owl-time-20221115/#time:inXSDDateTime Signed-off-by: Alex Nelson <[email protected]>
@dr-shorthair I've prepared the following two PRs, the second I noticed as I was preparing the first: |
The main problem is caused by the fact that PROV uses Furthermore, while The background problem - which we can't solve here - is that dependencies between standards and their revisions are not synchronised. The original OWL-Time was a W3C Draft published in 2006. PROV-O came out in 2013. The Rec version of OWL-Time was released in 2017 (the Candidate Rec dated 2022 merely adds the IANA clause). The Rec preserved everything from the 2006 version in service of backward compatibility, but marked a few things 'deprecated' where we judged that best practice had moved on. (Frankly a clean re-design would have junked a whole lot of fluff, particularly around encoding of temporal position such as we are dealing with here, but we had to accommodate the fact that it was already a widely known 'ontology', and avoid making breaking changes.) So how does that play out? We thought that marking some resources 'deprecated' but not actually removing them was the right thing to do. So The process of developing and formalising 'standards' involves many compromises and quite a few judgment calls. You are proposing a minor change to a non-normative artefact, and frankly you may be the only person that has tried to actually use it 'in anger' ;-) But we must be aware of process and precedent here. |
@dr-shorthair @ajnelson-nist This is probably not a very constructive comment, but it does reveal my thinking (which may be unrealistic!). This is very reminiscent of the old joke with "I wouldn't start from here". Both Calendars and Time-zones are complicated messy beasts that are algorithm driven, often with ill-defined algorithms. I think supporting, and therefore encouraging, people to automatically directly manipulate data with time zone annotations is questionable. I would rather people were encouraged to go along the road of 'convert your data from time zone annotation to UTC' then manipulate. |
Actually, Time-zones are created by administrative bodies and are therefore not at all amenable to being derived by algorithms! I thought that US time zones were agreed at their "county" level, and perhaps they are - but US friends tell me that that doesn't mean a whole county is necessarily in the same time zone... That supports Chris's idea; of course, it requires a mechanism to reliably convert from a time zone annotation to UTC. |
A while ago, I came across this file offering an alignment of TIME and PROV:
https://github.com/w3c/sdw/blob/gh-pages/time/rdf/time-prov.ttl
I also see from the commit history that the file is non-normative. However, there is a part of it---the subject of this Issue---that is part of the TIME examples today (also non-normative), in Section 5.7.
Are there any plans to keep the alignment file in sync with the current state of TIME, and how that might influence an update to PROV? I ask because there appears to be a pending alignment issue.
time:inXSDDateTime
is deprecated, and some properties in that alignment graph map from PROV to the deprecated property, e.g.:Unfortunately,
prov:endedAtTime
has rangexsd:dateTime
, so thatpropertyChainAxiom
can't just swap intime:inXSDDateTimeStamp
-- unless I've missed there's some mechanism that can get OWL to recognize thatxsd:dateTimeStamp
is a subclass ofxsd:dateTime
. (My current understanding is OWL 2 doesn't do "subdatatypes." There's no need to belabor this point in conversation, it's more an aside.)I appreciate that alignment graph (and example section) is non-normative, but does it actually impose a constraint on the next TIME version's W3C progression? Or, could it again be "non-normatively" updated to insert a timezone-assigning step in the property chain?
Relatedly, it wasn't clear to me from the examples how one would "upgrade" a
xsd:dateTime
value to anxsd:dateTimeStamp
. So, I'm not sure what an updated property chain axiom would need to include as further property-steps. Could an example be provided showing what one would do if they truly only havexsd:dateTime
values? This could benefit several use cases beyond PROV, such as:xsd:dateTime
instead ofxsd:dateTimeStamp
. (PROV is one example. PROV-O includes no mention ofxsd:dateTimeStamp
.)time:timeZone
could prevent a lot of confusion.The text was updated successfully, but these errors were encountered: