Click or drag to resize

Triple Constructor (INode, INode, INode, IGraph)

Constructs a Triple from Nodes that belong to the same Graph/Node Factory and associates this Triple with the given Graph (doesn't assert the Triple).

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

Parameters

subj
Type: VDS.RDFINode
Subject.
pred
Type: VDS.RDFINode
Predicate.
obj
Type: VDS.RDFINode
Object.
g
Type: VDS.RDFIGraph
Graph.
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