Repository navigation
Conversation
|
Uhm, rereading the spec, I found that I had misunderstood what |
|
This has no formal definition, but it should be OK for RDF applications I think... |
|
BTW, I'm thinking that you could encode the conversion between different units by having the multiplier between them available. Is there a standard way to do this? |
RubenVerborgh
left a comment
There was a problem hiding this comment.
Looks good; I would perhaps explicitly list a rdfs:Datatype on every individual unit (even though this can be inferred).
|
Sure! I added that. |
timbl
left a comment
There was a problem hiding this comment.
Are we sure these are not duplicated elsewhere? The re should be a machine readable expression of the ratios bewteeen them. Where do we need these?
I haven't found them anywhere, I have looked in LOV and on Google. I suppose the "units as datatype" pattern isn't what people tend to prefer, but I think it is often the simplest.
Absolutely, I mentioned that in my own comment above, but I'm not good enough with OWL to know if it could be done with the datatype definition standard (I am aware it is there) I could include a property e.g. However, I think that could wait, we have a lot of urgent issues open. So, I hope we can get this done now, and that we can add that later.
I use it in the quota system: https://github.com/solid/node-solid-server/blob/feature/check-quota/lib/utils.js#L271 |
|
Seems we went for simplification in #29 |
Since I would need an ontology/vocabulary if we were to go with the first alternative of #29 , I decided to sit down and draft one.
Units are a little bit awkward in RDF, I feel, so it is a bit hackish to do it this way, but I think it simplifies things greatly, as evident by the example in #29, where many more triples were needed.
Does this look reasonable? Could we have an ns URI for it?