Class TriplePatternBuilder
Provides methods for building triple patterns.
Inheritance
TriplePatternBuilder
Assembly: dotNetRdf.dll
Syntax
public class TriplePatternBuilder : ITriplePatternBuilderInternal, ITriplePatternBuilder
Constructors
|
Edit this page
View Source
TriplePatternBuilder(INamespaceMapper)
Declaration
public TriplePatternBuilder(INamespaceMapper prefixes)
Parameters
Properties
|
Edit this page
View Source
PatternItemFactory
Gets the pattern item factory.
Declaration
public IPatternItemFactory PatternItemFactory { get; }
Property Value
|
Edit this page
View Source
Patterns
Gets the triple patterns.
Declaration
public ITriplePattern[] Patterns { get; }
Property Value
|
Edit this page
View Source
Prefixes
Gets the prefix manager, which allows adding prefixes to the query or graph pattern.
Declaration
public INamespaceMapper Prefixes { get; }
Property Value
Methods
|
Edit this page
View Source
AddPattern(TriplePattern)
Add TriplePattern to the builder.
Declaration
public void AddPattern(TriplePattern triplePattern)
Parameters
|
Edit this page
View Source
Subject(string)
Declaration
public TriplePatternPredicatePart Subject(string subjectVariableName)
Parameters
Type |
Name |
Description |
string |
subjectVariableName |
|
Returns
|
Edit this page
View Source
Subject(Uri)
Declaration
public TriplePatternPredicatePart Subject(Uri subject)
Parameters
Type |
Name |
Description |
Uri |
subject |
|
Returns
|
Edit this page
View Source
Subject(INode)
Depending on the subjectNode
's type, sets a literal, a QName or a blank node as Subject.
Declaration
public TriplePatternPredicatePart Subject(INode subjectNode)
Parameters
Type |
Name |
Description |
INode |
subjectNode |
|
Returns
|
Edit this page
View Source
Subject(PatternItem)
Declaration
public TriplePatternPredicatePart Subject(PatternItem subject)
Parameters
Returns
|
Edit this page
View Source
Subject(SparqlVariable)
Declaration
public TriplePatternPredicatePart Subject(SparqlVariable subjectVariable)
Parameters
Returns
|
Edit this page
View Source
Subject<TNode>(string)
Depending on the generic parameter type, sets a literal, a QName or a blank node as Subject.
Declaration
public TriplePatternPredicatePart Subject<TNode>(string subject) where TNode : INode
Parameters
Type |
Name |
Description |
string |
subject |
Either a variable name, a literal, a QName or a blank node identifier.
|
Returns
Type Parameters
Implements
Extension Methods