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
)
Public Sub New (
subj As INode,
pred As INode,
obj As INode,
g As IGraph
)
Parameters
- subj
- Type: VDS.RDFINode
Subject. - pred
- Type: VDS.RDFINode
Predicate. - obj
- Type: VDS.RDFINode
Object. - g
- Type: VDS.RDFIGraph
Graph.
Exceptions Exception | Condition |
---|
RdfException | Thrown 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