You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Sarven Capadisli <in...@csarven.ca> on 2012/03/04 16:35:44 UTC

Retrieval of remote RDF in SPARQL Queries

Hi,

I recall asking about retrieval of remote RDF using the FROM clause in 
TDF/Fuseki queries awhile back, and at that time it was possible, or 
rather some coding had to be done / ported over from Joseki.

I've just tested this again, and it doesn't appear to be possible. Can 
anyone verify this or give more info?

Thanks,

-Sarven

Re: Retrieval of remote RDF in SPARQL Queries

Posted by Andy Seaborne <an...@apache.org>.
On 04/03/12 15:35, Sarven Capadisli wrote:
> Hi,
>
> I recall asking about retrieval of remote RDF using the FROM clause in
> TDF/Fuseki queries awhile back, and at that time it was possible, or
> rather some coding had to be done / ported over from Joseki.
>
> I've just tested this again, and it doesn't appear to be possible. Can
> anyone verify this or give more info?
>
> Thanks,
>
> -Sarven

With TDB, FROM is interpreted as picking graphs out of the dataset, not 
from the web.

http://incubator.apache.org/jena/documentation/tdb/dynamic_datasets.html

If you're planning on wanting to combine web data with your database, 
consider getting a local copy in the database (SPARQL Update LOAD), or, 
inefficiently, a general dataset, including some TDB models.  But you 
end up bypassing some of TDB optimizer because when querying a dataset 
it can do more than just one graph (e.g. move FILTERs around, or do quad 
based queries).

	Andy