Interface IDescribeAlgorithm
Interface for a class of algorithms that emit a sub-graph of a dataset from a list of starting nodes.
Namespace: VDS.RDF.Utils.Describe
Assembly: dotNetRdf.dll
Syntax
public interface IDescribeAlgorithm
Methods
| Edit this page View SourceDescribe(IRdfHandler, ITripleIndex, IEnumerable<INode>, Uri, INamespaceMapper)
Generates a graph which is the description of the resources represented by the provided nodes.
Declaration
void Describe(IRdfHandler handler, ITripleIndex dataset, IEnumerable<INode> nodes, Uri baseUri = null, INamespaceMapper namespaceMap = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IRdfHandler | handler | The handler to receive the triples that provide the description. |
| ITripleIndex | dataset | The dataset to extract descriptions from. |
| IEnumerable<INode> | nodes | The nodes to be described. |
| Uri | baseUri | An optional base URI to pass through to the RDF handler. |
| INamespaceMapper | namespaceMap | An optional namespace map to pass through to the RDF handler. |
Describe(ITripleIndex, IEnumerable<INode>)
Generates a Graph which is the description of the resources represented by the provided nodes.
Declaration
IGraph Describe(ITripleIndex dataset, IEnumerable<INode> nodes)
Parameters
| Type | Name | Description |
|---|---|---|
| ITripleIndex | dataset | The dataset to extract descriptions from. |
| IEnumerable<INode> | nodes | The nodes to be described. |
Returns
| Type | Description |
|---|---|
| IGraph |