String string = StrUtils.strjoin("\n", strings) ;
DatasetGraph dsg = DatasetLib.createDatasetGraphMem() ;
Sink<Quad> sink = RiotLoader.datasetSink(dsg) ;
Tokenizer tokenizer = TokenizerFactory.makeTokenizerString(string) ;
LangTriG parser = RiotReader.createParserTriG(tokenizer, "http://base/", sink) ;
parser.getProfile().setHandler(new ErrorHandlerEx()) ;
try {
parser.parse();
} finally { sink.close() ; }
return dsg ;
}