model.write(sw, null, "TURTLE");
sw.flush();
String url = storage.uploadFile(sw.toString(), provFileLabel, apikey);
//build and return a representing resource
String description = "RDF provenance description (from Google Refine)";
return new Resource("text/turtle", description, url);
}