Class LabelledDescription
Computes a Labelled Description for all the Values resulting from the Query.
Implements
Inherited Members
Namespace: VDS.RDF.Utils.Describe
Assembly: dotNetRdf.dll
Syntax
public class LabelledDescription : BaseDescribeAlgorithm, IDescribeAlgorithm
Remarks
The Description returned is all the Triples for which a Value is a Subject and with any Blank Nodes expanded to include their rdfs:label property if present.
Constructors
| Edit this page View SourceLabelledDescription()
Create a new instance of the LabelledDescription algorithm.
Declaration
public LabelledDescription()
LabelledDescription(IUriFactory)
Create a new instance of the LabelledDescription algorithm.
Declaration
public LabelledDescription(IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
IUriFactory | uriFactory | The factory to use when creating the URI for the rdfs:label property. |
Methods
| Edit this page View SourceDescribeInternal(IRdfHandler, ITripleIndex, IEnumerable<INode>)
Generates the Description for each of the Nodes to be described.
Declaration
protected override void DescribeInternal(IRdfHandler handler, ITripleIndex dataset, IEnumerable<INode> nodes)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler. |
ITripleIndex | dataset | Dataset to extract descriptions from. |
IEnumerable<INode> | nodes | Nodes to be described. |