{"action":"created","issue":{"url":"https://api.github.com/repos/solid/solid-spec/issues/120","repository_url":"https://api.github.com/repos/solid/solid-spec","labels_url":"https://api.github.com/repos/solid/solid-spec/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/solid/solid-spec/issues/120/comments","events_url":"https://api.github.com/repos/solid/solid-spec/issues/120/events","html_url":"https://github.com/solid/solid-spec/issues/120","id":371008397,"node_id":"MDU6SXNzdWUzNzEwMDgzOTc=","number":120,"title":"Perform RDF Merge for POST to existing LDP-RS","user":{"login":"kjetilk","id":154068,"node_id":"MDQ6VXNlcjE1NDA2OA==","avatar_url":"https://avatars0.githubusercontent.com/u/154068?v=4","gravatar_id":"","url":"https://api.github.com/users/kjetilk","html_url":"https://github.com/kjetilk","followers_url":"https://api.github.com/users/kjetilk/followers","following_url":"https://api.github.com/users/kjetilk/following{/other_user}","gists_url":"https://api.github.com/users/kjetilk/gists{/gist_id}","starred_url":"https://api.github.com/users/kjetilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjetilk/subscriptions","organizations_url":"https://api.github.com/users/kjetilk/orgs","repos_url":"https://api.github.com/users/kjetilk/repos","events_url":"https://api.github.com/users/kjetilk/events{/privacy}","received_events_url":"https://api.github.com/users/kjetilk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-10-17T10:38:01Z","updated_at":"2018-10-17T12:44:24Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The way I have previously implemented a POST operation on an existing LDP [RDF Source](https://www.w3.org/TR/rdf11-concepts/#dfn-rdf-source) is to perform an [RDF Merge](https://www.w3.org/TR/rdf-mt/#defmerge) between the existing resource and the payload body. \r\n\r\nI could have bet I read that in a spec at some point, but I can't find it, and it doesn't seem to be implemented? Intuitively, I think it makes sense, and is a very simple operation."},"comment":{"url":"https://api.github.com/repos/solid/solid-spec/issues/comments/430613260","html_url":"https://github.com/solid/solid-spec/issues/120#issuecomment-430613260","issue_url":"https://api.github.com/repos/solid/solid-spec/issues/120","id":430613260,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDYxMzI2MA==","user":{"login":"melvincarvalho","id":65864,"node_id":"MDQ6VXNlcjY1ODY0","avatar_url":"https://avatars2.githubusercontent.com/u/65864?v=4","gravatar_id":"","url":"https://api.github.com/users/melvincarvalho","html_url":"https://github.com/melvincarvalho","followers_url":"https://api.github.com/users/melvincarvalho/followers","following_url":"https://api.github.com/users/melvincarvalho/following{/other_user}","gists_url":"https://api.github.com/users/melvincarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/melvincarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melvincarvalho/subscriptions","organizations_url":"https://api.github.com/users/melvincarvalho/orgs","repos_url":"https://api.github.com/users/melvincarvalho/repos","events_url":"https://api.github.com/users/melvincarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/melvincarvalho/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T12:44:24Z","updated_at":"2018-10-17T12:44:24Z","author_association":"CONTRIBUTOR","body":">  What is the use case for using SPARQL, if RDF Merge can do the job?\r\n\r\nDelete?\r\n\r\nWe are open to extending patch in future, but right now it's just simple insert and delete (I think!).\r\n\r\nAs long as I can remember POST is up to the implementer to decide what to do with.  We only define POST for LDPC's.\r\n\r\nWhat about improving the devx be part of an easy to use library?\r\n\r\nWhat would it do?\r\n\r\n- add the INSERT {} around the payload\r\n- set the content type to application/sparql-update\r\n- set the VERB to PATCH\r\n\r\nA better route?"}}
{"actor":{"display_login":"melvincarvalho"}}