public void WritingCollectionCompressionComplex1() { SparqlConnector connector = new SparqlConnector(new VDS.RDF.Query.SparqlRemoteEndpoint(new Uri("http://dbpedia.org/sparql"))); Graph g = new Graph(); g.NamespaceMap.AddNamespace("ex", new Uri("http://example.org/")); g.NamespaceMap.AddNamespace("dnr", new Uri(ConfigurationLoader.ConfigurationNamespace)); INode n = g.CreateBlankNode(); g.Assert(g.CreateUriNode("ex:subj"), g.CreateUriNode("dnr:genericManager"), n); ConfigurationSerializationContext sContext = new ConfigurationSerializationContext(g); sContext.NextSubject = n; connector.SerializeConfiguration(sContext); var collections = FindCollections(g); Assert.Equal(2, collections.Count); this.CheckCompressionRoundTrip(g); }