Class SkosGraph
Represents a wrapper around a SKOS graph providing convenient access to concepts, schemes, and collections.
Inherited Members
Namespace: VDS.RDF.Skos
Assembly: dotNetRdf.Skos.dll
Syntax
public class SkosGraph : WrapperGraph, IGraph, INodeFactory, IDisposable, ITripleIndex, IEquatable<IGraph>
Constructors
| Edit this page View SourceSkosGraph(IGraph)
Creates a new SKOS graph for the given graph.
Declaration
public SkosGraph(IGraph g)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | The graph this SKOS graph wraps. |
SkosGraph(IRefNode)
Creates a new SKOS graph.
Declaration
public SkosGraph(IRefNode name = null)
Parameters
Type | Name | Description |
---|---|---|
IRefNode | name | The name to assign to the SKOS graph. |
Properties
| Edit this page View SourceCollections
Gets collections contained in the graph.
Declaration
public IEnumerable<SkosCollection> Collections { get; }
Property Value
Type | Description |
---|---|
IEnumerable<SkosCollection> |
ConceptSchemes
Gets concept schemes contained in the graph.
Declaration
public IEnumerable<SkosConceptScheme> ConceptSchemes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<SkosConceptScheme> |
Concepts
Gets concepts contained in the graph.
Declaration
public IEnumerable<SkosConcept> Concepts { get; }
Property Value
Type | Description |
---|---|
IEnumerable<SkosConcept> |
OrderedCollections
Gets ordered collections contained in the graph.
Declaration
public IEnumerable<SkosOrderedCollection> OrderedCollections { get; }
Property Value
Type | Description |
---|---|
IEnumerable<SkosOrderedCollection> |