Sarven Capadisli
SCTA, Basel, 2018-06-29, #LinkedResearch #SocialWeb #LinkedData
Data on the Web should not be locked in to particular systems or be only readable by the applications which created it. Users should be free to switch between applications and share data between them.
Applications generate notifications about activities, interactions, and new information, which may be presented to the user or processed further.
A target resource advertises its inbox in the HTTP header or the body in RDF.
POST
payload;GET
requests made to inbox and notifications, accept POST
requests to inbox;GET
inbox and notifications.All must at least speak JSON-LD, but can optionally negotiate for alternative RDF serializations.
HEAD /article HTTP/1.1
Host: example.org
Accept: application/ld+json
HTTP/1.1 200 OK
Link: <http://example.org/inbox/>;
rel="http://www.w3.org/ns/ldp#inbox"
HEAD
request, and receiving a Link
headerGET /article HTTP/1.1
Host: example.org
Accept: text/html, application/ld+json
HTTP/1.1 200 OK
Content-Type: text/html;charset=utf-8
<section about="#results" id="results"
property="http://www.w3.org/ns/ldp#inbox" resource="/inbox/">
<p>The results of this study are as follows..</p>
</section>
GET
request to retrieve HTML.POST /inbox/ HTTP/1.1
Host: example.org
Content-Type: application/ld+json;
profile="https://www.w3.org/ns/activitystreams"
Content-Language: en
...
{
"@context": "https://www.w3.org/ns/activitystreams",
"@id": "",
"@type": "Announce",
"actor": "https://rhiaro.co.uk/#me",
"object": "http://example.net/note",
"target": "http://example.org/article",
"updated": "2016-06-28T19:56:20.114Z"
}
HTTP/1.1 201 Created
Location: http://example.org/inbox/92d72f00
GET /inbox/ HTTP/1.1
Host: example.org
Accept: application/ld+json
HTTP/1.1 200 OK
Content-Type: application/ld+json
{ "@context": "http://www.w3.org/ns/ldp",
"@id": "http://example.org/inbox/",
"contains": [ "http://example.org/inbox/5c6ca040",
"http://example.org/inbox/92d72f00" ] }
GET /inbox/92d72f00 HTTP/1.1
a clientside editor for decentralised article publishing, annotations and social interactions.
Notifications about scholarly activities (articles, annotations, citations..)
#LinkedResearch #SocialWeb #LinkedData