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

Re: RDF Interface specification

From: Miguel <miguel.ceriani@gmail.com>
Date: Thu, 3 Jul 2014 17:22:35 +0200
Message-ID: <CALWU=RvmvQwfCw40g5zrF+7JEpK6gwqdGJ4WChMKcsC5Cia4Pw@mail.gmail.com>
To: Semantic Web <semantic-web@w3.org>
Cc: "wikier@apache.org" <wikier@apache.org>
Hi all,
I think this effort is valuable and I'd like to add some ideas to the
discussion.

I think that finishing, publishing and possibly evolving this spec
would be useful not only for Javascript developers.
In fact I think that the ongoing effort of harmonization of Java RDF
interfaces cited by Nandana should be connected to the RDF Interfaces
work.
The existence of a common standard inter-language interface (as for
XML DOM) is good for example when a developer needs to switch from a
language to an another (he does not have to learn again the
interface).

Some ideas of possible changes to the RDF Interfaces Spec:
1) As the RDF 1.1 spec defines the RDF Dataset, I think that it makes
sense to add a Dataset interface to the RDF Interfaces spec.
2) In RDF 1.1 spec a RDF Graph (and thus a RDF Dataset) is immutable,
so I would move the methods with side effects from the Graph interface
to a GraphStore interface. Does it make sense?
3) Again RDF 1.1 spec informally defines a RDF Source as a "persistent
yet mutable source or container of RDF graphs", basically a time-based
sequence of snapshots, represented by RDF graphs. For example a Graph
Store can be seen also as a (mutable) set of RDF Sources (the default
one and the named ones). A RDFSource interface could be used as the
subject of an Observer Pattern delivering change events when its
content changes (a change event can be represented as the set of added
triples and the set of removed triples with respect to the previous
snapshot). So in the end there would be different interfaces of
(loosely speaking) growing richness: immutables (Graph and Dataset),
mutables (RDFSource) and writables (GraphStore).

Best Regards,
Miguel

On Thu, Jul 3, 2014 at 3:46 PM, Nandana Mihindukulasooriya
<nmihindu@fi.upm.es> wrote:
> Hi,
>
> On Thu, Jul 3, 2014 at 11:35 AM, Jakub Kotowski <jakub@kotowski.cz> wrote:
>>
>> Hello everyone,
>>
>> maybe a stupid question but
>>
>> " The RDF Interfaces Specification defines a set of standardized
>> interfaces for working with RDF data in a programming environment."
>>
>> so I guess it should be somehow in line with some of the most wide-spread
>> APIs such as OpenRDF Sesame and Jena?
>
>
> and there is an ongoing effort to do something similar (for Java) here.
>
> https://github.com/wikier/commons-rdf
>
> Best Regards,
> Nandana
Received on Thursday, 3 July 2014 15:23:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:17 UTC