Triple Constructor (INode, INode, INode, Uri) |
Creates a Triple and associates it with the given Graph URI permanently (though not with a specific Graph as such).
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public Triple(
INode subj,
INode pred,
INode obj,
Uri graphUri
)
Public Sub New (
subj As INode,
pred As INode,
obj As INode,
graphUri As Uri
)
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. - graphUri
- Type: SystemUri
Graph URI.
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