Click or drag to resize

Triple Constructor (INode, INode, INode, ITripleContext)

Constructs a Triple from Nodes that belong to the same Graph/Node Factory with some Context.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public Triple(
	INode subj,
	INode pred,
	INode obj,
	ITripleContext context
)

Parameters

subj
Type: VDS.RDFINode
Subject of the Triple.
pred
Type: VDS.RDFINode
Predicate of the Triple.
obj
Type: VDS.RDFINode
Object of the Triple.
context
Type: VDS.RDFITripleContext
Context Information for the Triple.
Exceptions
ExceptionCondition
RdfExceptionThrown if the Nodes aren't all from the same Graph/Node Factory.
Remarks
Will throw an RdfException if the Nodes don't belong to the same Graph/Node Factory.
See Also