Class TriplePatternPredicatePart
Class responsible for setting the predicate part of triple patterns.
Inheritance
System.Object
TriplePatternPredicatePart
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Query.Builder
Assembly: dotNetRdf.dll
Syntax
public sealed class TriplePatternPredicatePart
Methods
| Improve this Doc View SourcePredicate(string)
Sets a SPARQL variable as Predicate.
Declaration
public TriplePatternObjectPart Predicate(string variableName)
Parameters
Type | Name | Description |
---|---|---|
string | variableName |
Returns
Type | Description |
---|---|
TriplePatternObjectPart |
Predicate(PatternItem)
Sets a PatternItem as Predicate.
Declaration
public TriplePatternObjectPart Predicate(PatternItem predicate)
Parameters
Type | Name | Description |
---|---|---|
PatternItem | predicate |
Returns
Type | Description |
---|---|
TriplePatternObjectPart |
Predicate(SparqlVariable)
Sets a SPARQL variable as Predicate.
Declaration
public TriplePatternObjectPart Predicate(SparqlVariable variable)
Parameters
Type | Name | Description |
---|---|---|
SparqlVariable | variable |
Returns
Type | Description |
---|---|
TriplePatternObjectPart |
PredicateUri(string)
Sets a System.Uri as Predicate using a QName.
Declaration
public TriplePatternObjectPart PredicateUri(string predicateQName)
Parameters
Type | Name | Description |
---|---|---|
string | predicateQName |
Returns
Type | Description |
---|---|
TriplePatternObjectPart |
Remarks
A relevant prefix/base URI must be added to Prefixes.
PredicateUri(Uri)
Sets a System.Uri as Predicate.
Declaration
public TriplePatternObjectPart PredicateUri(Uri predicateUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | predicateUri |
Returns
Type | Description |
---|---|
TriplePatternObjectPart |
PredicateUri(IUriNode)
Declaration
public TriplePatternObjectPart PredicateUri(IUriNode predicateNode)
Parameters
Type | Name | Description |
---|---|---|
IUriNode | predicateNode |
Returns
Type | Description |
---|---|
TriplePatternObjectPart |