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
Should tables have a schema annotation? #444
Comments
@JeniT, could you give an example what you are considering? I am not sure I understand. |
If the metadata contains:
then the data model would include a table whose schema annotation would have the value |
Ah. So, in a sense, it is sort of preserving history when creating the overall data model, knowing where a particular schema comes from (if loaded from the outside). But this is not something the author of the metadata is supposed to create, rather it is added by the process building the annotated tabular data, right? The question is: what if the author does add a I am also not clear how the URL of the file of the schema ( |
Yes, preserving history. To answer your second query, the
I don't understand your first question. Perhaps you were asking about what happens if the author adds a |
Thanks, I know understand what you are aiming for:-)
I.e., the
No, that was not my question. Let us say the original metadata refers to
How would we interpret Actually... I wonder whether we should not make it even more restrictive, saying that this is one of those annotation properties (like row properties) that are generated by the process, but it is not part of the properties listed in the metadata document in the sense that the user cannot set that explicitly. That may avoid stupid errors. B.t.w., I am fine with the original idea, just trying to flesh it out... |
|
No, I meant "schema", the (new) property @JeniT proposes!
Ivan Herman, W3C |
Ah, okay; if we want such a property, I'd suggest that we continue to call it If the Table Description has a Schema containing If the referenced file contained a |
I am not sure about this. The way I understand @JeniT is that if I have a metadata of the form:
then, after dereferencing the schema file, one would get something like
The role of the I.e., I believe having |
the SVG and PNG files will have to wait for the resolution of issue #444
No no, @iherman you are completely misunderstanding me. I am not suggesting any new JSON property in the metadata document. I am suggesting a new annotation in the model, based on the existing |
@JeniT, I do not think we disagree or I completely misunderstand you:-). The "resulting" metadata object in my comment is what is conceptually produced by a processor. We currently have no formalism to describe new annotation properties in the model and in the model only... My preference was also that this is not expressed by the user, so we are on the same line. I think it is fine to have this. My only issue is how exactly this should be expressed editorially. As far as I know, this is the first annotation property that must be generated by the processor but it is not part of the metadata vocabulary. I guess:
There are two extra questions though.
|
At this point, I think it could easily be accomplished by adding some wording to the
No further logic should be required, as if it is defined after normalization, then it can be used; it doesn't matter that it was originally a reference to an external schema, or that the |
The data model for tables currently does not support a reference to the schema that the table adheres to. Being able to retrieve the schema for a table could be useful to an application, eg to support data entry or display, and it might be useful to be able to tell which tables within a given table group had the same schema.
So I wonder whether we should add a schema annotation on tables that would be populated through the
tableSchema
property within a metadata file. My thinking was that the annotation would hold a URL and be populated if and only if the schema for the table had an@id
property (eg if it was referenced by URL in the first place). Thoughts?The text was updated successfully, but these errors were encountered: