- From: Tomasz Pluskiewicz <tomasz@t-code.pl>
- Date: Mon, 15 Feb 2016 21:02:10 +0100
- To: public-hydra@w3.org
On 2016-02-15 11:09, Maxim Kolchin wrote: > > What sense do mapping and variable properties make then without other > properties? Without them we define only placeholders which are not > ambiguous enough for an autonomous client. The above is mostly true for collections. In other use-cases you could replace property with precise definition of allowed parameter values. > > The property and comparator properties, I think, are needed to > communicate to the client the relatedness of the view (which > hydra:supportedProperties are involved) and expected result (how the > given value is applied to the value of the hydra:supportedProperties). > > An example, the view which represents articles with some minimal > length (in characters or pages), how a autonomous client should > distinguish the maxLength view and minLength one? An autonomous client probably will not be able to exactly understand such parameters. But on the other hand how will an autonomous client understand the meaning of an operation, which shortens an article? There has to be a human (developer, API mashup specialist?) who matches operation parameters to desired input. Fully automated clients are likely a fantasy. And in most cases, all the client will do is present a meaningful UI for an end user. > > Yes, current there is no way to specify members of which classes are > in a given collection. Even if there won't a way to do that, the > members in the own representation will have statement of the class > which they instantiate. Unless they don't. > >> 2. I would not advise any particular default for the mapping type in general, should we go down that path. As I stated above, collection >> mapping is a specialized case of view. I also assume reuse of mappings for views and templated links. For the latter direct/indirect mappings >> do not apply, do they? That said I pretty much like the concept. > > Ahh, I actually forgot about templated links :( Can a templated link > outside of a collection have a direct mapping? Direct mapping to what exactly? Maybe the current instance properties, but this will not always be the case
Received on Monday, 15 February 2016 20:02:46 UTC