Exemple #1
0
 /// <summary>
 /// Back to a different graph
 /// </summary>
 public GraphBuilder Then(Node <UriOrBlank> graph) =>
 _owner.From(graph);
Exemple #2
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));
        }
Exemple #3
0
 /// <summary>Select URI <see cref="Graph"/>.</summary>
 public static GraphBuilder From(this RdfBuilder self, Uri graphUri)
 => self.From(self.Rdf().Uri(graphUri.ToString()));
Exemple #4
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));
        }
Exemple #5
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));
 }