On 10/05/16 03:53, Jean-Baptiste Pressac wrote:
> Hello,
> I installed on Jetty a Sesame Server 2.7.10 with Sesame Workbench 2.7.10.
Just as an aside: you're aware that this is a very old version of Sesame? We're
currently at release 4.1.2.
> I
> created a new /In memory store/ repository that I left empty by now because I
The FROM clause in a SPARQL query merely indicates a named graph _in the current
RDF dataset_ (that is, the current repository). Since your repository is empty,
that named graph is empty, and so the query returns nothing.
You probably got a result in Fuseki because it has implemented some extension
that inspects FROM-clauses and tries to retrieve the named graph data over the
Web. This is non-standard behavior however, and you can not rely on other SPARQL
endpoint implementations working like this.
There is no option in Sesame Server to load remote data on the fly. However, you
can of course query remote *endpoints* using SPARQL. If that dataset you're
interested in has such an endpoint, you can modify your query as follows:
SELECT ?oclcNumber
WHERE {
SERVICE <
http://www.worldcat.org/sparql>
{ <
http://www.worldcat.org/oclc/660967222> library:oclcnum ?oclcNumber. }
}
(I made up this SPARQL endpoint URL, no idea if they have such a service)
FWIW loading remote data on the fly *is* possible in the Sesame libraries, but
there is no easily configurable option for it in the Server. If you want
something like this, you'll either have to do some Java programming yourself, or
log a feature request and "encourage" us to develop it :)
Cheers,
Jeen