URLConnection conn = url.openConnection();
StreamRDF dest = StreamRDFLib.dataset(dataset.asDatasetGraph());
LangRIOT parser = RiotReader.createParser(conn.getInputStream(), lang, href, dest);
ErrorHandler handler = new ParserErrorHandler(href);
ParserProfile prof = RiotLib.profile(lang, href, handler);
parser.setProfile(prof);
try {
parser.parse();
} catch (Exception e) {
logger.warn("Parse error in RDFLoad document; processing partial document");