Individual Constructor (INode, INode, IGraph) |
Gets/Creates an Individual from the Graph.
Namespace:
VDS.RDF.Ontology
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public Individual(
INode resource,
INode resourceClass,
IGraph graph
)
Public Sub New (
resource As INode,
resourceClass As INode,
graph As IGraph
)
Parameters
- resource
- Type: VDS.RDFINode
Resource that represents the Individual. - resourceClass
- Type: VDS.RDFINode
Class to create/add the Individual to. - graph
- Type: VDS.RDFIGraph
Graph the Individual is in.
Remarks
Allows for creating new Individuals in the Graph or adding existing resources to another Class. If the resource for the Individual or the given Class are new then they will be added to the Graph.
See Also