Semantic significance of "dot notation" #59
Replies: 2 comments
-
Hi Steve! Good point about the examples - they've ended up being JSON with some nods to JSON-LD rather than being valid JSON-LD, more by oversight rather than by design. I'll create an issue for this and update them to code which validates appropriately in the JSON-LD playground. On the dot notation in There was some debate about this during the expert review stage, and we did consider nesting Essentially, the Apologies for the long response, but hope it provides some more context! |
Beta Was this translation helpful? Give feedback.
-
Just to clarify, the examples don't actually show up as invalid. Rather, a number of the triples are ignored. I think that's because many of the keys/predicates/names don't have namespaces or aren't defined in the context document. Also, I'm not really saying that I think these necessarily need to be expressed as JSON-LD. In the TAG we've had discussion about creating some TDWG-wide guidelines for expressing TDWG metadata as JSON-LD, but that discussion hasn't progressed very far and there currently isn't any expectation that JSON-LD be used. I guess I would just suggest that you make it clear in the documentation that the examples aren't strictly JSON-LD, or else make them JSON-LD that serializes the metadata in the way you intend. I think it's perfectly fine for you to give examples using vanilla JSON if that's what you expect. Similarly, I'm not aware that there's any kind of problem with the dot notation. I just wanted to clarify that it was a local solution. Your explanation about wanting to keep things as flat as possible makes sense. |
Beta Was this translation helpful? Give feedback.
-
I was reading though the 3. Latimer Schemes documentation to try to understand how they worked. I was wondering if you could clarify a bit about the serialization used in the examples. Because of the @context and @type statements I was thinking that it was JSON-LD, but it doesn't really come out right in the JSON-LD playground (most of the properties are missing because they aren't included in any context). So I'm thinking that the examples are sort of "JSON-LD-like" rather than intended to actually be JSON-LD.
I'm also wondering about the dot notation. It doesn't really fit in with any RDF serialization, so I'm assuming that it's just a convention that is local to Latimer Core. Am I understanding that right?
Beta Was this translation helpful? Give feedback.
All reactions