public void ParsingEmbeddedResourceLoaderGraphIntoTripleStore() { TripleStore store = new TripleStore(); store.LoadFromEmbeddedResource("VDS.RDF.Configuration.configuration.ttl"); Assert.True(store.Triples.Count() > 0); Assert.Equal(1, store.Graphs.Count); }
public void FibonacciJson() { using var ts = new TripleStore(); ts.LoadFromEmbeddedResource("GraphEngine.Tests.Resources.Examples.FibonacciSequence.json,GraphEngine.Tests"); var g = ts.Graphs.Single(); g.NamespaceMap.AddNamespace(string.Empty, UriFactory.Create("http://example.com/")); NewMethod(g); }