Re: Usage of datasets and graphs in triple store

FWIW, this behaviour of FROM is definitly NOT standardized across triple stores.
The spec says only
"Each FROM clause contains an IRI that indicates a graph to be used to form the default graph. This does not put the graph in as a named graph.
...
If a query provides more than one FROM clause, providing more than one IRI to indicate the default graph, then the default graph is the RDF merge <http://www.w3.org/TR/rdf-mt/#graphdefs> of the graphs obtained from representations of the resources identified by the given IRIs."

while dereferncing and downloading RDF data from the given IRI is one option, what "obtained from representations of the resource identified by the given IRIs" 
exactly means for a triple store is not defined by the spec and left open to the implementation.

just my two cents,
Axel
--
Dr. Axel Polleres 
url: http://www.polleres.net/  twitter: @AxelPolleres

> On 15.03.2018, at 09:42, Mark Wallace <mark.wallace@semanticarts.com> wrote:
> 
> The FROM clause brings in an RDF graph from a URL, so if the external triple store provides a URL to a data set, then it's possible. 
> 
> For example, the RDF4J triple store exposes an HTTP API to access RDF statements in any of its "repositories", so you could do something like:
> 
>   select * 
>   FROM  <http://localhost:8080/rdf4j-server/repositories/myRepo/statements>   
>   where . . .
> 
> So it's definitely possible.  
> 
> SERVICE would seem more efficient than fetching all of the repository statements if the data set is large. 
> 
> -Mark
> 
> -----Original Message-----
> From: Mikael Pesonen <mikael.pesonen@lingsoft.fi> 
> Sent: Wednesday, March 14, 2018 10:39 AM
> To: semantic-web@w3.org
> Subject: Usage of datasets and graphs in triple store
> 
> 
> Hi,
> 
> what would be good reasons to split data to different graphs and also into different datasets?
> 
> About sparql FROM clause, is it possible to fetch data from external triple store, or is SERVICE method for that only?
> 
> Thank you
> 
> --
> Lingsoft - 30 years of Leading Language Management
> 
> www.lingsoft.fi
> 
> Speech Applications - Language Management - Translation - Reader's and Writer's Tools - Text Tools - E-books and M-books
> 
> Mikael Pesonen
> System Engineer
> 
> e-mail: mikael.pesonen@lingsoft.fi
> Tel. +358 2 279 3300
> 
> Time zone: GMT+2
> 
> Helsinki Office
> Eteläranta 10
> FI-00130 Helsinki
> FINLAND
> 
> Turku Office
> Kauppiaskatu 5 A
> FI-20100 Turku
> FINLAND
> 
> 

Received on Friday, 16 March 2018 08:22:49 UTC