Show / Hide Table of Contents

Class BaseDescribeAlgorithm

Abstract Base Class for SPARQL Describe Algorithms which provides BNode rewriting functionality.
Inheritance
System.Object
BaseDescribeAlgorithm
ConciseBoundedDescription
LabelledDescription
MinimalSpanningGraph
NamedGraphDescription
SimpleSubjectDescription
SimpleSubjectObjectDescription
SymmetricConciseBoundedDescription
Implements
ISparqlDescribe
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Query.Describe
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseDescribeAlgorithm : ISparqlDescribe

Methods

| Improve this Doc View Source

Describe(IRdfHandler, SparqlEvaluationContext)

Gets the Description Graph based on the Query Results from the given Evaluation Context passing the resulting Triples to the given RDF Handler.
Declaration
public void Describe(IRdfHandler handler, SparqlEvaluationContext context)
Parameters
Type Name Description
IRdfHandler handler RDF Handler.
SparqlEvaluationContext context SPARQL Evaluation Context.
| Improve this Doc View Source

Describe(SparqlEvaluationContext)

Gets the Description Graph based on the Query Results from the given Evaluation Context.
Declaration
public IGraph Describe(SparqlEvaluationContext context)
Parameters
Type Name Description
SparqlEvaluationContext context SPARQL Evaluation Context.
Returns
Type Description
IGraph
| Improve this Doc View Source

DescribeInternal(IRdfHandler, SparqlEvaluationContext, IEnumerable<INode>)

Generates the Description for each of the Nodes to be described.
Declaration
protected abstract void DescribeInternal(IRdfHandler handler, SparqlEvaluationContext context, IEnumerable<INode> nodes)
Parameters
Type Name Description
IRdfHandler handler RDF Handler.
SparqlEvaluationContext context SPARQL Evaluation Context.
System.Collections.Generic.IEnumerable<INode> nodes Nodes to be described.
| Improve this Doc View Source

RewriteDescribeBNodes(Triple, Dictionary<String, INode>, INodeFactory)

Helper method which rewrites Blank Node IDs for Describe Queries.
Declaration
protected Triple RewriteDescribeBNodes(Triple t, Dictionary<string, INode> mapping, INodeFactory factory)
Parameters
Type Name Description
Triple t Triple.
System.Collections.Generic.Dictionary<System.String, INode> mapping Mapping of IDs to new Blank Nodes.
INodeFactory factory Factory to create Nodes in.
Returns
Type Description
Triple

Implements

ISparqlDescribe

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • Describe(IRdfHandler, SparqlEvaluationContext)
    • Describe(SparqlEvaluationContext)
    • DescribeInternal(IRdfHandler, SparqlEvaluationContext, IEnumerable<INode>)
    • RewriteDescribeBNodes(Triple, Dictionary<String, INode>, INodeFactory)
  • Implements
  • Extension Methods
Back to top Generated by DocFX