Yes. Did you look at the JavaDoc?
https://jena.apache.org/documentation/javadoc/arq/org/apache/jena/riot/RDFDataMgr.html#read-org.apache.jena.query.Dataset-java.lang.String-java.lang.String-org.apache.jena.riot.Lang-

On Tue, Nov 21, 2017 at 3:54 PM, Mohammad Noorani Bakerally <
noorani.bakera...@gmail.com> wrote:

> is it possible to explicitly set a base when loading the dataset ?
>
>
>
> ‌
>
> On Tue, Nov 21, 2017 at 3:46 PM, Martynas Jusevičius <
> marty...@atomgraph.com
> > wrote:
>
> > You cannot. RDF data model is based on absolute URIs.
> >
> > On Tue, Nov 21, 2017 at 3:35 PM, Mohammad Noorani Bakerally <
> > noorani.bakera...@gmail.com> wrote:
> >
> > > I have a dataset in a trig file with resources having relative iris,
> when
> > > loading them with the method RDFDataMgr.loadDataset, all the relative
> > IRIs
> > > are converted to absolute iris, how can I prevent this, I want them to
> > > retain their relative IRIs ? ‌
> > >
> >
>

Reply via email to