Arjohn,

Out of everything I've seen this seems to be the API I'm looking for.  
(And thank you everyone who posted).

On Mar 11, 2008, at 8:47 AM, Arjohn Kampman wrote:

> Hi Mark,
>
> Please allow me to clarify your questions/comments below.
>
> Mark Diggory wrote:
>> Sesame Sails seem to require Sesame to be preset.
>
> The Sail API is an API for RDF stores, it isn't directly related to
> writing RDF documents.

Yes, But I've seen Sesame memorystores used in some of the RDF'izers  
that Stefano has written, effectively using Sesame as an in memory  
intermediary between one format and another. However, I can see   
Sails would probably be a solution further downstream in the  
pipeline, used in much the same way as I've seen in Banach and Longwell.

>
>> And both the latest Jena and Sesame/Rio seem to require a
>> bunch of dependencies. Is there something lighter I'm missing out  
>> there?
>
> Sesame 2 uses a highly modularized organization which allows you to  
> use
> only the parts that you need. All RDF parsers combined will  
> probably fit
> in a ~200K jar file, but you can exclude the RDF formats that you  
> don't
> want to use. The only external dependency for Rio is a dependency  
> on the
> slf4j logging framework (~20K in total).

This is great to know, however, Rio isn't very well publicized on the  
OpenRDF site, making it difficult to know the details about using the  
api. But it does look as though its event based like SAX.

Looks like RdfDocumentWriter should give me the flexibility I need.
http://www.openrdf.org/doc/rio/api/org/openrdf/rio/ 
RdfDocumentWriter.html

If I include it using the following:

>    <dependencies>
>          <dependency>
>       <groupId>org.openrdf</groupId>
>       <artifactId>openrdf-rio-api</artifactId>
>       <version>2.0</version>
>    </dependency>
>    <dependency>
>       <groupId>org.openrdf</groupId>
>       <artifactId>openrdf-rio-rdfxml</artifactId>
>       <version>2.0</version>
>    </dependency>


I currently get the following transitive includes:

/Users/mdiggory/.m2/repository/info/aduna/aduna-collections/1.4/aduna- 
collections-1.4.jar
/Users/mdiggory/.m2/repository/info/aduna/aduna-concurrent/1.4/aduna- 
concurrent-1.4.jar
/Users/mdiggory/.m2/repository/info/aduna/aduna-iteration/1.4/aduna- 
iteration-1.4.jar
/Users/mdiggory/.m2/repository/info/aduna/aduna-lang/1.4/aduna- 
lang-1.4.jar
/Users/mdiggory/.m2/repository/info/aduna/aduna-net/1.5/aduna- 
net-1.5.jar
/Users/mdiggory/.m2/repository/info/aduna/aduna-text/1.3/aduna- 
text-1.3.jar
/Users/mdiggory/.m2/repository/info/aduna/aduna-xml/1.5/aduna- 
xml-1.5.jar
/Users/mdiggory/.m2/repository/org/openrdf/openrdf-model/2.0/openrdf- 
model-2.0.jar
/Users/mdiggory/.m2/repository/org/openrdf/openrdf-rio-api/2.0/ 
openrdf-rio-api-2.0.jar
/Users/mdiggory/.m2/repository/org/openrdf/openrdf-rio-rdfxml/2.0/ 
openrdf-rio-rdfxml-2.0.jar
/Users/mdiggory/.m2/repository/org/slf4j/slf4j-api/1.3.0/slf4j- 
api-1.3.0.jar

Can you direct me to the dependencies that are specifically just for  
the RdfXmlWriter? (But I can probably live with most of the ones  
listed).

thanks,
Mark

p.s. Is OpenRDF planning to setup their maven release repository so  
that it is rsynced against the central repository?  I would lighten  
our poms "repositories" sections :-)



~~~~~~~~~~~~~
Mark R. Diggory - DSpace Developer and Systems Manager
MIT Libraries, Systems and Technology Services
Massachusetts Institute of Technology





_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to