String string = StrUtils.strjoin("\n", strings) ;
DatasetGraph dsg = DatasetLib.createDatasetGraphMem() ;
StreamRDF sink = StreamRDFLib.dataset(dsg) ;
Tokenizer tokenizer = TokenizerFactory.makeTokenizerString(string) ;
LangTriG parser = RiotReader.createParserTriG(tokenizer, "http://base/", sink) ;
parser.getProfile().setHandler(new ErrorHandlerEx()) ;
parser.parse();
return dsg ;
}