Пример #1
0
        /// <summary>New <see cref="Graph"/> with labeled-blank node</summary>
        public static GraphBuilder FromBlank(this RdfBuilder self, ReadOnlySpan <char> label, out BlankNode node)
        {
            node = self.Rdf().BlankSelf(label);

            return(self.From(node));
        }
Пример #2
0
 /// <summary>Select URI <see cref="Graph"/>.</summary>
 public static GraphBuilder From(this RdfBuilder self, Uri graphUri)
 => self.From(self.Rdf().Uri(graphUri.ToString()));
Пример #3
0
        /// <summary>New <see cref="Graph"/> with labeled-blank node</summary>
        public static GraphBuilder FromBlank(this RdfBuilder self, string label, out BlankNode node)
        {
            node = self.Rdf().BlankSelf(label);

            return(self.From(node));
        }
Пример #4
0
 /// <summary>Select URI <see cref="Graph"/>.</summary>
 public static GraphBuilder From(this RdfBuilder self,
                                 string graphUri, out UriNode node)
 {
     node = self.Rdf().Uri(graphUri);
     return(self.From(node));
 }