Example #1
0
        /// <summary>Create graph with Id and data from other graphs</summary>
        public Graph(IRdfData rdf,
                     Node <UriOrBlank> id,
                     IEnumerable <Node <UriOrBlank> > other)
        {
            _rdf = rdf;

            Id    = id;
            Other = other.Distinct()
                    .Where(x => x != id)
                    .ToArray();

            _includedQuads = rdf.GraphData(Other);
        }