Ok guys thank you all! Sorry but I'm new to Jena and Semantic web
applications and I'm trying to figure out how things works.

2016-03-04 11:43 GMT+01:00 Andy Seaborne <[email protected]>:

> > Is it possible to get prefix mapping from remote graph in Jena?
>
> I think there is some confusion over a "remote" graph here.
>
> With the standard SPARQL protocols, you can either query a remote endpoint
> or fetch a remote graph - SPARQL Graph Store Protocol (and dataset FWIW).
>
> DatasetAccessor is the graph store protocol engine.  It transfers graph by
> syntax.  Whether the prefixes are available depends on what the remote end
> sends.
>
> If it sends Turtle, with the prefixes then parsing that will cause the
> prefixes to be set, if it's N-triples, no prefixes.
>
> Any thing else is outside the standards so is not going to work against an
> arbitrary remote data source.
>
> Prefixes/namespaces ("namespaces" is XML terminology) in RDF are just a
> syntactic convenience and the standard protocols don't make them
> first-class items.
>
>     Andy
>

Reply via email to