[RDF] Re: Perl-XML digest, Vol 1 #144 - 5 msgs

Jonas Liljegren jonas@liljegren.org
05 Dec 2000 13:32:06 +0100


Alberto Reggiori <alberto.reggiori@jrc.it> writes:

> > Before I uploaded the Wraf modules to CPAN, I tried to get a
> > discussion about the RDF modules namespace, but didn't get any
> > response.
> > 
> > My first wish was to simply name the module RDF, and let other
> > modules be RDF::Parser, RDF::Store and more.  Finaly, I named the
> > module RDF::Service, to reflect the intention to use it as a
> > service deamon on the internet.
> 
> This is one of the reasons because I did not tried to upload
> RDFStore to CPAN till yesterday. I think we need some kind of
> agreement about modules namespaces to let the Perl community
> understand. We might need to contact other Perl RDF guys to try to
> coordinate, but it might be difficult....

I tried to talk to Eric about this, but without result.


> > I'm aware of a couple of of Perl RDF parser, but can't yet find any of
> > the in the CPAN module index.
> 
> My 2 RDF parsers (M&S and strawman) are named XML::Parser::PenRDF
> and XML::Parser::PenRDFStrawman because I conceived them as
> sub-implementations of Cooper stuff.

Ok. ... "Strawman" is a peculiar name for a syntax variant.  There are
maby 10 or more variations of alternative syntax that came from that
debate.  Maby it should hold the name from the author?


> > I think that a module with the name RDF::Parser should be general
> > and support any type of parsing needed.
> 
> Indeed!
> The problem is that should be a kind of stub (interface) to
> implementations such as mine, Eric Prud's, Prosolutions, Dave
> redland, and we would need a commond API for modules too.....it
> could be hard but it would be the full solution :-)

Yes.  Like the DBI.

But that should maby come after the diffrent parsers has matured a bit
more.  Until that time, a general RDF::Parser can wait. 

Maby you could call your parser RDF::Parser::RDFStore


> > I don't think that a RDF::Statement module can be made general
> > enough to hold that name.  Maby it should be called
> > RDF::Store::Statement ?
> 
> You are right, and I think my RDF::Resource and your are already
> conflicting ;-)

No. My base name is RDF::Service and the Resource class is named
RDF::Service::Resource.


> Nothing really came out in the RDF-Interest about a common API, and
> at this stage
> we need that more the never. (http://injektilo.org/rdf/apis.html)

I tried to get a clear answer to how to handle the statements.  There
are many suggestions on the issue.  For my part, this dicussion isn't
over yet.


> > I havn't looked very much on the other availible RDF Perl modules
> > because I'm spending all the time on "my own" module RDF::Service.
> > It's intended as specific application framework based on the RDF
> > model, and will use several backends simultaneously.  One of those
> > backends could be RDFStore.  RDF::Service has no functions on it's
> > own to parse or produce RDF in the XML format.
> 
> Well the same for me. I dowloaded your RDF::Service sometime ago but
> I did not get that far using it.

It's not that much to use yet. :-)  It's probably best to wait until
it's in beta.


> > RDF::Store is part of the Wraf project, and can be found here:
> 
> ehmmm, what do you mean here? did you plan to deploy it with WRAF or what?

Oups.  Intended to say that RDF::Service is part of Wraf.


Backends will be implemented as interfaces, with a name like
RDF::Service::Interface::RDFStore.

-- 
/ Jonas  -  http://jonas.liljegren.org/myself/en/index.html