Sergio,
 
now that I start to be more familiar with Marmotta, and that I am
developping new modules, I will try to be of some help if possible,
providing code or doc update
 
let me know if I can be of any help
Fabian

>>> Sergio Fernández<wik...@apache.org> 24.10.2014 11:04 >>>
I'll do it later. Thanks for the report.

On 24/10/14 09:28, Fabian Cretton wrote:
> I think I found the answer,
> the context must now be specified in the ClientConfiguration.
>
> Maybe only the doc needs an update then :-)
> Thanks
> Fabian
>
>>>> "Fabian Cretton" <fabian.cret...@hevs.ch> 24.10.2014 09:02 >>>
> Hi,
>
> I am trying to import data as explained here:
> http://wiki.apache.org/marmotta/ImportData
>
> writing java code as :
> ImportClient importClient = new ImportClient(configuration);
> InputStream is = new FileInputStream(new File(path));
> RDFFormat format = Rio.getParserFormatForFileName(path);
> importClient.uploadDataset(is, format.getDefaultMIMEType(),
context);
>
> But it seems the ImportClient.uploadDataset() now only accept two
arguments, no more accepting the "context".
> Is that right ?
>
> if so, why ? we usually need explicitly specify in which context to
load data, and it seems that
> now I need to directly call the web service "/import?context="
>
> Thank you for any help
> Fabian
>

-- 
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 660 2747 925
e: sergio.fernan...@redlink.co
w: http://redlink.co

Reply via email to