Triple Constructor (INode, INode, INode, ITripleContext, Uri) |
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,
Uri graphUri
)
Public Sub New (
subj As INode,
pred As INode,
obj As INode,
context As ITripleContext,
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. - context
- Type: VDS.RDFITripleContext
Context Information for 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