-
Notifications
You must be signed in to change notification settings - Fork 9
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
Proposal for simplified 'when' properties #42
Comments
?? The large example does use
|
Ah, so they do - but these smaller examples do not: https://github.com/LinkedPasts/linked-places-format#geometry-required |
Yes indeed! I will repair that oversight right away. However, I have wondered whether alternate forms for the |
[UPDATED] I wondered about that too, mainly to improve the human-readability/comprehension. What we're looking for (in addition to the existing specification so as to preserve backward-compatibility) is a single-string expression that could serve as a value either for a ISO 8601 already allows the following:
ISO 8601-2:2019, as outlined here adds the following:
All we'd need to add to that are the following:
Valid values would include:
If no end-date is given, a timespan would, if possible, be deduced from the start-date. For example:
However, no timespan can be deduced from qualified start-dates such as {"when":">2010"}. According to Wikipedia, the specification ought to describe handling BC/BCE dates, and set a maximum limit on the number of digits used to represent a year. If more than 4 digits are used, ISO seems to dictate that a '+' symbol is compulsory to indicate AD/CE. Other Proposals:
All of these proposals are now implemented in the draft JSON Schema. Validating Regex: |
I'm wary of inventing new temporal expression syntaxes for LPF. I would be inclined to stick with standard We could potentially allow extended ISO 8601-2 date expressions, with the understanding that not all implementations are required to be able to parse these. More complicated needs could be met by layering additional temporal modeling constructs on top of what LPF expects. IMO LPF should be a "lowest common denominator" exchange format rather than a general purpose temporal modeling language.
I'm not sure this is a good assumption; cultural heritage can be of recent vintage too and may have times associated with artifacts or events. |
Yes, I like your wariness, Ryan. However, under this proposal 'complicated needs' would still be met by the existing I suggested dropping time elements from the proposed 'uncomplicated needs' format partly because I've never encountered them: I'd like to know if others in this group have seen them more than very occasionally. Typing I realise I may be missing a bigger picture, but I don't think we'd be sacrificing any ability to sort and query on dates because in order to get .lp.json into a database it has to be parsed, and any parser might easily be configured to remove and convert |
LPF is also RDF, and ideally it could be loaded into a triplestore and queried using SPARQL without having to install specialized SPARQL extensions for parsing non-standard date expressions. Even handling ISO 8601-2 is a tall order, especially at Level 2. |
Perhaps of interest to this proposal are the properties within CIDOC CRM that are used to formalize time as implemented in RDF. (cfr. recording dates p.4) I myself use these properties to date places within a gazetteer.
I am somewhat hesitant about removing the time component. The CRM model I use for a gazetteer also doesn't theoretically require a time component, but practically I have a different view on this. Especially when we talk about the concept of place and the need for place disambiguation it can be very crucial to have a time component as it facilitates place identification. So I wonder to what extent it is not possible to date a place, even if the dating is very limited. E.g. In my project, the smallest possible dating of a place (i.e. after/before) is based on the dating of the mentioning of that place within a source. But it would be very interesting to discuss the possible removal with the broader group. |
Thanks, Vincent. If I've understood the CIDOC CRM correctly, this is more or less what Karl has implemented in the existing LPF: what I'm proposing is an optional alternative format for dates that encapsulates the wordy English expressions with internationally-understood symbols, so for example |
Specification requires one of in|earliest|latest, but the given examples omit these properties.
The text was updated successfully, but these errors were encountered: