Re: Remove "rel" from Link

On 11/03/2014 06:14 PM, James M Snell wrote:
> The "rel" property added to the as:Link is problematic from a data
> modeling point of view, and actually isn't as useful as one might
> imagine in practice.
> 
> Based on the current definition of as:Link, here's how it would
> currently be used:
> 
> {
>   "@context": "http://asjsonld.mybluemix.net",
>   "image": {
>     "@type": "as:Link",
>     "@id": "http://example.org/foo",
>     "rel": "preview"
>   }
> }
> 
> Those familiar with the JSON-LD processing model ought to see the
> problem right away. The "rel" is actually supposed to be a qualified
> relation of the containing object, but as it is defined here, it
> becomes a property of the as:Link itself.
> 
> In any case, despite the modeling issues, the "rel" just isn't proving
> to be very valuable in any case I can identify.
> 
> My proposal is just to remove it.
+1

in this case, do we have any other reason to keep as:Link?

IMO JSON-LD embedding provides us with all we need to include statements
about objects used as property values

http://www.w3.org/TR/json-ld/#embedding

Received on Monday, 3 November 2014 17:38:45 UTC