On 21 July 2014 22:14, Sergio Fernández <wik...@apache.org> wrote:
> Hi Emmanuel,
>
> On 21/07/14 14:05, Emmanuel Bourg wrote:
>>
>> If I understand well this is a kind of specification API? The actual
>> implementations will be done in Jena/Marmotta/OpenRDF?
>
>
> With the current scope yes, that the overall idea. But we do not discard to
> include some actual code in the future for whatever will be needed.
>

We may have JSR330 @Inject annotations to inject providers into
commons-rdf, so that we can have helper methods available there, based
on the injected implementations. We are not likely to standardise on a
given implementation, as the implementation of these classes may need
to be finely tuned to work efficiently with each application and for
each database.

In the context of OpenRDF, there are multiple implementations of the
current API, including a default one that is provided alongside the
interfaces as "ValueFactoryImpl/etc.". We may provide a similar
general-purpose RDFTermFactoryImpl etc. implementation for similar
purposes, but it won't be used for the internals of the RDF databases
that reuse the model:

https://bitbucket.org/openrdf/sesame/src/b4c240904cfb371b4adee21c75cbd8ec5b0586ac/core/model/src/main/java/org/openrdf/model/

Marmotta for instance define there own implementation of the OpenRDF
Model API, and convert instances created by other implementations to
their own at the boundaries of their application for interoperabilty:

https://github.com/apache/marmotta/tree/master/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/model/rdf

Cheers,

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to