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

Reply via email to