W3C home > Mailing lists > Public > semantic-web@w3.org > November 2014

Re: How RFC 5988 Link Relation fits Linked Data?

From: Nandana Mihindukulasooriya <nmihindu@fi.upm.es>
Date: Wed, 5 Nov 2014 23:21:35 +0100
Message-ID: <CAAOEr1kj6gd+nKM_Bdi8mhbULQVEmD5LGsUDSqrqqJPLyixOUA@mail.gmail.com>
To: Stian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk>
Cc: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>, "semantic-web@w3.org >> semantic-web@w3.org" <semantic-web@w3.org>
Hi,

The LDP WG did the same and used Link relations express RDF triple like
relations in HTTP headers. The WG decided express most of the protocol
details using the HTTP headers and mostly Link headers were used to express
those details.

Example 10 [1],

HTTP/1.1 201 Created
Location: http://example.org/alice/avatar
Link: <http://www.w3.org/ns/ldp#Resource>; rel="type"
Link: <http://example.org/alice/avatar/meta>; rel="describedby"

Best Regards,
Nandana

[1] - http://www.w3.org/2012/ldp/hg/ldp-primer/ldp-primer.html

On Wed, Nov 5, 2014 at 10:52 PM, Stian Soiland-Reyes <
soiland-reyes@cs.manchester.ac.uk> wrote:

> I can't speak for ActivityStreams (glad they sorted that namespace in
> later drafts..:) , but in PROV we used Link relations as an
> alternative to a triple, expressed in HTTP headers.
>
>
> In particular we wanted to say prov:has_provenance with the retrieved
> resource as a subject.
>
> http://www.w3.org/TR/2013/NOTE-prov-aq-20130430/#resource-accessed-by-http
>
> S: HTTP/1.1 200 OK
> S: Content-type: text/html
> S: Link: <http://example.com/resource123/provenance/>;
>          rel="http://www.w3.org/ns/prov#has_provenance";
>          anchor="http://example.com/resource123/"
>
> as equivalent to:
>
> <> dcterms:title        "Welcome to example.com" ;
>    prov:has_anchor       <http://example.com/data/resource.rdf> ;
>    prov:has_provenance   <http://example.com/provenance/resource.rdf> .
>
> in
> http://www.w3.org/TR/2013/NOTE-prov-aq-20130430/#resource-represented-as-rdf
>
>
>
>
> On 1 November 2014 18:19, ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
> wrote:
> > Hello,
> >
> > I would like to ask for help with clarifying use of RFC 5988 Link
> > Relation in context of Linked Data.
> >
> > In Activity Streams 2.0, which very recently became WPWD, we currently
> find:
> >
> > * as:Link - Describes a link to a separate resource.
> >
> http://www.w3.org/TR/2014/WD-activitystreams-vocabulary-20141023/#dfn-link
> > * as:rel - The RFC 5988 Link Relation associated with a Link.
> >
> http://www.w3.org/TR/2014/WD-activitystreams-vocabulary-20141023/#dfn-rel
> >
> > With some examples of their use available in:
> > http://www.w3.org/TR/2014/WD-activitystreams-core-20141023/#link
> >
> > I must admit that their usage don't feel intuitive to me, at least from
> > my relatively short experience of working with Linked Data. I would
> > appreciate any help with clarifying how RFC 5988 Link Relation fits
> > world of Linked Data.
> >
> > I also just noticed seemingly relevant issue in Mark Nottingham's
> > Internet-Drafts repository: https://github.com/mnot/I-D/issues/39
> > As well as this article from 2011:
> > https://www.mnot.net/blog/2011/11/25/linking_in_json
> >
> > Thank you in advance!
> >
>
>
>
> --
> Stian Soiland-Reyes, myGrid team
> School of Computer Science
> The University of Manchester
> http://soiland-reyes.com/stian/work/ http://orcid.org/0000-0001-9842-9718
>
>
Received on Wednesday, 5 November 2014 22:22:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 07:42:55 UTC