I have a problem with RDF2Go and URIImpl meaning :
In Sesame API, URIImpl is checked as a java URL. In RDF2Go
implementation, I see that URIImpl is checked at construction as java
URI. Java URI respect the URI RFC (http://www.ietf.org/rfc/
rfc2396.txt) which says among other that relative path is an URI.
The problem is the following :
// Using RDF2Go APi
URI myURI = new URIImpl("oooops");
// No exception with RDF2Go API, Exception with Sesame API
When URIImpl is created I get no exception with RDF2Go for oooops
value because it is a URI conform to RFC2396. Now, if I use it for a
query, when dataStore handle query, I will get exception at the
datastore level.
Suppose I send queries through the network, I will need to send query
in order to detect error at datastore level whereas I can detect it
when the URI is created if the verification is correct and throws
exception.
Who has wrong ? Sesame or RDF2Go ?
Kind Regards
Laurent
--
You received this message because you are subscribed to the Google Groups "RDF2Go and RDFReactor (part of semweb4j)" group.
To post to this group, send email to semw...@googlegroups.com.
To unsubscribe from this group, send email to semweb4j+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/semweb4j?hl=en.
On 21 mar, 17:06, "Max Voelkel (FZI Karlsruhe)" <voel...@fzi.de>
wrote:
> Hi, unfortunately, the triple store vendors do not use the same rules for
> URIs. I don't remember the details. Anyway, instead of re-implementing
> URI-syntax rules, RDF2Go uses the underlying triple store.
>
> The correct way to do this is Model.createURI(... ) as defined in [1]
>
> [1]http://mavenrepo.fzi.de/semweb4j.org/site/rdf2go.api/apidocs/org/onto...
>
> Regards,
> Max
>
>
>
> On Thu, Mar 11, 2010 at 15:46, Laurent <laurent.pellegr...@gmail.com> wrote:
> > Dear all,
>
> > I have a problem with RDF2Go and URIImpl meaning :
>
> > In Sesame API, URIImpl is checked as a java URL. In RDF2Go
> > implementation, I see that URIImpl is checked at construction as java
> > URI. Java URI respect the URI RFC (http://www.ietf.org/rfc/
> > rfc2396.txt <http://www.ietf.org/rfc/%0Arfc2396.txt>) which says among
> > other that relative path is an URI.
>
> > The problem is the following :
>
> > // Using RDF2Go APi
> > URI myURI = new URIImpl("oooops");
> > // No exception with RDF2Go API, Exception with Sesame API
>
> > When URIImpl is created I get no exception with RDF2Go for oooops
> > value because it is a URI conform to RFC2396. Now, if I use it for a
> > query, when dataStore handle query, I will get exception at the
> > datastore level.
> > Suppose I send queries through the network, I will need to send query
> > in order to detect error at datastore level whereas I can detect it
> > when the URI is created if the verification is correct and throws
> > exception.
>
> > Who has wrong ? Sesame or RDF2Go ?
>
> > Kind Regards
>
> > Laurent
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "RDF2Go and RDFReactor (part of semweb4j)" group.
> > To post to this group, send email to semw...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > semweb4j+u...@googlegroups.com<semweb4j%2Bunsu...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/semweb4j?hl=en.
>
> --
> Max Völkel
> voel...@fzi.de |http://Xam.de
To unsubscribe from this group, send email to semweb4j+u...@googlegroups.com.