implementability of "null relative URIs"

Hi,

as I said today by IRC, I'd like to provide some early feedback about 
the options for implementing, null (relative) URIs as required by 5.2.3.7:

https://dvcs.w3.org/hg/ldpwg/raw-file/default/ldp.html#h5_ldpc-post-rdfnullrel

For getting proper context about this discussion, please refer to the 
original email that triggered the issue:

http://lists.w3.org/Archives/Public/public-ldp/2014Mar/0020.html

 From the server side point of view, so parsing, all RDF libraries I've 
used (Jena, Sesame, RDFLib, librdf, etc) support from very early version 
"base uri" for parsing RDF. Personally I'd not consider to use any RDF 
library which does not support such basic concept.

 From a client side, so serializing, even if it's less commonly used, 
the support is quite good for the same target libraries:

* RDFLib (Python) supports it on all serializers:

http://rdflib.readthedocs.org/en/latest/apidocs/rdflib.plugins.serializers.html#rdflib.plugins.serializers.turtle.TurtleSerializer.serialize

* Sesame (Java) already has a early implementation that probably will be 
included in the next versions:

https://bitbucket.org/openrdf/sesame/pull-request/207/do-not-merge-yet-ses-1871-support-writing

* librdf's Raptor (C) supports it, so probably all its binding (Python, 
Perl, PHP, Ruby) too:

http://librdf.org/raptor/api-1.4/tutorial-serializer-to-destination.html#serialize-to-filehandle

* Jena (Java) also supports it:

https://jena.apache.org/documentation/io/rdfxml_howto.html#quick-introduction

So, pending of a more formal analysis of the issue, from a pure 
implementation point of view there is no reason for changing 5.2.3.7 and 
related sections.

If you want it, I can contribute to the BP document a section with that 
aspect.

Cheers,

-- 
Sergio Fernández
Senior Researcher
Knowledge and Media Technologies
Salzburg Research Forschungsgesellschaft mbH
Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
T: +43 662 2288 318 | M: +43 660 2747 925
sergio.fernandez@salzburgresearch.at
http://www.salzburgresearch.at

Received on Tuesday, 15 April 2014 20:37:28 UTC