-
Notifications
You must be signed in to change notification settings - Fork 118
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
"Semantic" type (datatype) field in JSON Table Schema #217
Comments
I think increasingly we only support pointing to rdf classes etc and that this is therefore named |
@jpmckinney @morty @rossjones @pwalsh @danfowler @timgdavies any thoughts here. I've wanted to add this for a while so plan to get this in soon. |
Is this not what the context field is for in JSON-LD? Is that what you're thinking of adding (either the actual context or something that does the same job)? |
@rossjones Do you mean that users of JSON Table Schema would add their own However, overloading the |
@jpmckinney Pretty much what you suggest in your first paragraph, but I'd be against adding more fields as well as type, so perhaps not the best solution. I don't like the idea of type being a string describing a simple type, or a url describing a possibly more complex one. I like the suggestion made by @ldodds at #89 (comment) @rgrp Can open, worms everywhere! Not sure I want to get dragged into the finer details of JSON-LD, but if things can be re-used without major breakage, I can't see a reason why not if it increases usefulness to linked-data people. |
@rossjones the logic here is that we could definitely provide a JSON-LD context here and that could label this
Note definite idea is to have a separate property from |
OK, I think we are ready to proceed here. Final question is naming of property. Interested in votes between:
Or votes for other options if people do not like this. |
I had a suggestion for "narrowerType" in case there was still a desire to keep the values/range generic. |
Would |
@timgdavies good suggestion. We thought about it a lot but apparently there is some sort of issue of how this works with JSON-LD - see the very long discussion in #89. that's why we're pursuing this explicitly "rdf" item. |
@jpmckinney i like the idea and perhaps we will have that if we decide we want something beyond RDF. At the moment, it seems to me like restricting to RDF is good when we do not know what more generic type sets we would want to refer to. At the moment i'm inclined to |
👍 |
Propose to implement a semantic / url based type field in JSON Table Schema.
Naming options:
Definition: this is a richer description of the "type" of data in a given column, for example that this fields is not just a string but is the name of a place, or even, the name of a US state. The field value MUST be a url/uri (?) and this SHOULD dereference either to a human or machine readable description, or, preferably be an RDF class.
Questions:
The text was updated successfully, but these errors were encountered: