Show / Hide Table of Contents

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 Source

Object(string)

Sets a SPARQL variable as Object.

Declaration
public ITriplePatternBuilder Object(string variableName)
Parameters
Type Name Description
string variableName
Returns
Type Description
ITriplePatternBuilder
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

Object(PatternItem)

Sets a PatternItem as Object.

Declaration
public ITriplePatternBuilder Object(PatternItem objectPattern)
Parameters
Type Name Description
PatternItem objectPattern
Returns
Type Description
ITriplePatternBuilder
| Improve this Doc View Source

Object(SparqlVariable)

Sets a SPARQL variable as Object.

Declaration
public ITriplePatternBuilder Object(SparqlVariable variable)
Parameters
Type Name Description
SparqlVariable variable
Returns
Type Description
ITriplePatternBuilder
| Improve this Doc View Source

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
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, string)

Sets a literal with language tag as Object.

Declaration
public ITriplePatternBuilder ObjectLiteral(object literal, string langSpec)
Parameters
Type Name Description
System.Object literal
string langSpec
Returns
Type Description
ITriplePatternBuilder
| Improve this Doc View Source

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
| 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

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • Object(string)
    • Object(Uri)
    • Object(INode)
    • Object(PatternItem)
    • Object(SparqlVariable)
    • Object<TNode>(string)
    • ObjectLiteral(object, string)
    • ObjectLiteral(object, Uri)
    • ObjectLiteral(object)
  • Extension Methods
Back to top Generated by DocFX