W3C home > Mailing lists > Public > semantic-web@w3.org > September 2011

Re: What are the repetitive bits you do?

From: Melvin Carvalho <melvincarvalho@gmail.com>
Date: Fri, 16 Sep 2011 23:13:05 +0200
Message-ID: <CAKaEYhK7OrmxsYjjTzciAsJiQdBOAE2wU-CH_WWOThXBJ6hZgA@mail.gmail.com>
To: Danny Ayers <danny.ayers@gmail.com>, Semantic Web <semantic-web@w3.org>
On 12 September 2011 08:41, Sebastian Tramp
<tramp@informatik.uni-leipzig.de> wrote:
> On Mon, Sep 12, 2011 at 03:46:48AM +0200, Danny Ayers wrote:
>
>> What I want to ask is what you find yourself doing a lot, stuff that
>> could maybe be wrapped into a couple of key presses.
>
> Hi Danny,
>
> the tasks I do very often in the context of Linked Data / Semantic Web
> are packed into rdf.sh [1] and I add new tasks on a regular base ...
>
> Best regards
>
> Sebastian Tramp
>
> 1. https://github.com/seebi/rdf.sh

Thanks!  I'm using this quite a lot now.

Here's one I like:

curl -X PATCH -H 'Content-Type: application/json' -d '{
  "http://melv.data.fm/test.ttl#me": {
    "http://xmlns.com/foaf/0.1/givenname" : [ { "value" : "Melvin",
"type" : "literal" } ]
  }
} ' melv.data.fm/test.ttl

This will send an HTTP PATCH update to change one triple in a file in
my data space.  It's useful when you want to use The Web as a
persistent store.

>
> --
> WebID: http://sebastian.tramp.name
>
>
Received on Friday, 16 September 2011 21:13:33 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:45:26 UTC