Class TriplePatternObjectPart
Class responsible for setting the object part of triple patterns.
Inheritance
System.Object
TriplePatternObjectPart
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 TriplePatternObjectPart
Methods
| Improve this Doc View SourceObject(string)
Sets a SPARQL variable as Object.
Declaration
public ITriplePatternBuilder Object(string variableName)
Parameters
Type | Name | Description |
---|---|---|
string | variableName |
Returns
Type | Description |
---|---|
ITriple |
Object(Uri)
Sets a System.
Declaration
public ITriplePatternBuilder Object(Uri objectUri)
Parameters
Type | Name | Description |
---|---|---|
System. |
objectUri |
Returns
Type | Description |
---|---|
ITriple |
Object(INode)
Depending on the objectNode
's type, sets a literal, a QName or a blank node as Object.
Declaration
public ITriplePatternBuilder Object(INode objectNode)
Parameters
Type | Name | Description |
---|---|---|
INode | objectNode |
Returns
Type | Description |
---|---|
ITriple |
Object(PatternItem)
Sets a Pattern
Declaration
public ITriplePatternBuilder Object(PatternItem objectPattern)
Parameters
Type | Name | Description |
---|---|---|
Pattern |
objectPattern |
Returns
Type | Description |
---|---|
ITriple |
Object(SparqlVariable)
Sets a SPARQL variable as Object.
Declaration
public ITriplePatternBuilder Object(SparqlVariable variable)
Parameters
Type | Name | Description |
---|---|---|
Sparql |
variable |
Returns
Type | Description |
---|---|
ITriple |
Object<TNode>(string)
Depending on the generic parameter type, sets a literal, a QName or a blank node as Object.
Declaration
public ITriplePatternBuilder Object<TNode>(string @object) where TNode : INode
Parameters
Type | Name | Description |
---|---|---|
string | object | Either a variable name, a literal, a QName or a blank node identifier. |
Returns
Type | Description |
---|---|
ITriple |
Type Parameters
Name | Description |
---|---|
TNode |
Remarks
A relevant prefix/base URI must be added to Prefixes to accept a QName.
ObjectLiteral(object, string)
Sets a literal with language tag as Object.
Declaration
public ITriplePatternBuilder ObjectLiteral(object literal, string langSpec)
Parameters
Type | Name | Description |
---|---|---|
System. |
literal | |
string | langSpec |
Returns
Type | Description |
---|---|
ITriple |
ObjectLiteral(object, Uri)
Sets a typed literal as Object.
Declaration
public ITriplePatternBuilder ObjectLiteral(object literal, Uri datatype)
Parameters
Type | Name | Description |
---|---|---|
System. |
literal | |
System. |
datatype |
Returns
Type | Description |
---|---|
ITriple |
ObjectLiteral(object)
Sets a plain literal as Object.
Declaration
public ITriplePatternBuilder ObjectLiteral(object literal)
Parameters
Type | Name | Description |
---|---|---|
System. |
literal |
Returns
Type | Description |
---|---|
ITriple |