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