Пример #1
0
 /// <inheritdoc />
 public void Save(IGraph g, TextWriter output, bool leaveOpen)
 {
     _storeWriter.Save(g.AsTripleStore(), output, leaveOpen);
 }
Пример #2
0
 /// <inheritdoc />
 public void Save(IGraph g, string filename)
 {
     _storeWriter.Save(g.AsTripleStore(), filename);
 }
Пример #3
0
 /// <inheritdoc />
 public void Save(IGraph g, TextWriter output)
 {
     _storeWriter.Save(g.AsTripleStore(), output);
 }
 /// <summary>
 /// Creates a new in-memory dataset containing initially just the given graph and treating the given graph as the default graph of the dataset.
 /// </summary>
 /// <param name="g">Graph.</param>
 public InMemoryDataset(IGraph g)
     : this(g.AsTripleStore(), g.BaseUri)
 {
 }