jobdataexchange / Data-Modeling

This repo is intended to contain resources and discussion regarding the JDX data modeling.
Other
8 stars 6 forks source link

JS+_Full/jdxTerms.ttl and JS+_Full/jdxTerms.json are out of synch #34

Closed philbarker closed 3 years ago

philbarker commented 3 years ago

JS+_Full/jdxTerms.ttl and JS+_Full/jdxTerms.json should be two representations of the same schema, but fixes to issues found during creation of HROpen JSON Schema were applied to the .json version only, and so the two differ on the following

Comments / questions: (*) I am inclined to keep the usage notes about which properties were used in the pilot, they seem like they might be useful (**) I think these were removed because the property class relationship was broken by use of jdx:Person instead of schema:Person. Also: is the wholesale removal of ASN just a consequence of not being able to model references to external RDF entities in JSON Schema?

stuartasutton commented 3 years ago

Phil, because the focus was not on maintaining the ttl while the specification was in considerable flux, the "pilot" annotation was not consistently maintained. Person was deleted from the model because it was outside the scope of the JDX phase 1; and, as a result, no real development occurred. The scope of HR Open and the data points available in terms of Person as employee or candidate in HR systems are very, very extensive and we were not going to plunge in there without the existence of use cases. Person was in the model as an abstract class without properties and was removed because HR Open couldn't use them.

philbarker commented 3 years ago

Thanks @stuartasutton that's useful to know. If the ASN declarations are not needed then it might make sense to re-generate the ttl file from the jdxTerms.json file automatically using one of the conversions tools. I'll have a look to check whether they produce human-firendly output for this.

stuartasutton commented 3 years ago

They generate decent ttl, but frequently not in alpha order

philbarker commented 3 years ago

Stuart, I used https://rdf-translator.appspot.com/ which I think did a decent job. Terms are alphabetical by namespace, with Classes first. So PR #35 makes all the changes listed above.