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

Incrementing a literal

From: Melvin Carvalho <melvincarvalho@gmail.com>
Date: Sat, 10 Nov 2012 12:54:15 +0100
Message-ID: <CAKaEYhKYy6CNcXVqX=X3A+QQDLmjjpzFAbEUJE3wWxTEYhjP0Q@mail.gmail.com>
To: Semantic Web <semantic-web@w3.org>
Is there a pattern for incrementing a literal counter?

Alice stores turtle in http://example.org/counter

The initial operation should generate something like

<#> <#counter> 1.

Then the subsequent operation

<#> <#counter> 2.

And after that.

<#> <#counter> 3.

And so on ...

Is there a neat way to do this in  distributed way?  SPARQL update?   Maybe
using Etags?
Received on Saturday, 10 November 2012 11:54:42 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:52 GMT