Class TriplePatternPredicatePart
Class responsible for setting the predicate part of triple patterns.
Inheritance
System.Object
TriplePatternPredicatePart
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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 |
---|---|---|
System.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 |
---|---|---|
System.String | predicateQName |
Returns
Type | Description |
---|---|
TriplePatternObjectPart |
Remarks
A relevant prefix/base URI must be added to Prefixes.
|
Improve this Doc
View Source
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 |