Example #1
0
 /// <inheritdoc/>
 public TriplePatternPredicatePart Subject(Uri subject)
 {
     return(Subject(PatternItemFactory.CreateNodeMatchPattern(subject)));
 }
Example #2
0
 /// <inheritdoc />
 public TriplePatternPredicatePart Subject(string subjectVariableName)
 {
     return(Subject(PatternItemFactory.CreateVariablePattern(subjectVariableName)));
 }
Example #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="prefixes"></param>
 public TriplePatternBuilder(INamespaceMapper prefixes)
 {
     Prefixes            = prefixes;
     _patternItemFactory = new PatternItemFactory();
 }
Example #4
0
 /// <inheritdoc />
 public TriplePatternPredicatePart Subject(SparqlVariable subjectVariable)
 {
     return(Subject(PatternItemFactory.CreateVariablePattern(subjectVariable.Name)));
 }
 /// <inheritdoc/>
 public TriplePatternPredicatePart Subject <TNode>(string subject) where TNode : INode
 {
     return(Subject(PatternItemFactory.CreatePatternItem(typeof(TNode), subject, _prefixes)));
 }