Show / Hide Table of Contents

Class SkosGraph

Represents a wrapper around a SKOS graph providing convenient access to concepts, schemes, and collections.

Inheritance
System.Object
WrapperGraph
SkosGraph
Implements
IGraph
INodeFactory
System.IDisposable
ITripleIndex
System.IEquatable<T><IGraph>
Inherited Members
WrapperGraph._g
WrapperGraph.BaseUri
WrapperGraph.Name
WrapperGraph.IsEmpty
WrapperGraph.NamespaceMap
WrapperGraph.UriFactory
WrapperGraph.Nodes
WrapperGraph.AllNodes
WrapperGraph.Triples
WrapperGraph.QuotedTriples
WrapperGraph.QuotedNodes
WrapperGraph.AllQuotedNodes
WrapperGraph.Assert(Triple)
WrapperGraph.Assert(IEnumerable<Triple>)
WrapperGraph.Retract(Triple)
WrapperGraph.Retract(IEnumerable<Triple>)
WrapperGraph.Clear()
WrapperGraph.NormalizeLiteralValues
WrapperGraph.CreateBlankNode(string)
WrapperGraph.CreateBlankNode()
WrapperGraph.GetNextBlankNodeID()
WrapperGraph.CreateGraphLiteralNode(IGraph)
WrapperGraph.CreateGraphLiteralNode()
WrapperGraph.CreateLiteralNode(string)
WrapperGraph.CreateLiteralNode(string, Uri)
WrapperGraph.CreateLiteralNode(string, string)
WrapperGraph.CreateUriNode()
WrapperGraph.CreateUriNode(string)
WrapperGraph.CreateUriNode(Uri)
WrapperGraph.CreateVariableNode(string)
WrapperGraph.CreateTripleNode(Triple)
WrapperGraph.GetBlankNode(string)
WrapperGraph.GetLiteralNode(string, string)
WrapperGraph.GetLiteralNode(string)
WrapperGraph.GetLiteralNode(string, Uri)
WrapperGraph.GetTripleNode(Triple)
WrapperGraph.GetTriples(Uri)
WrapperGraph.GetTriples(INode)
WrapperGraph.GetTriplesWithObject(Uri)
WrapperGraph.GetTriplesWithObject(INode)
WrapperGraph.GetTriplesWithPredicate(INode)
WrapperGraph.GetTriplesWithPredicate(Uri)
WrapperGraph.GetTriplesWithSubject(INode)
WrapperGraph.GetTriplesWithSubject(Uri)
WrapperGraph.GetTriplesWithSubjectPredicate(INode, INode)
WrapperGraph.GetTriplesWithSubjectObject(INode, INode)
WrapperGraph.GetTriplesWithPredicateObject(INode, INode)
WrapperGraph.GetQuoted(Uri)
WrapperGraph.GetQuoted(INode)
WrapperGraph.GetQuotedWithObject(Uri)
WrapperGraph.GetQuotedWithObject(INode)
WrapperGraph.GetQuotedWithPredicate(INode)
WrapperGraph.GetQuotedWithPredicate(Uri)
WrapperGraph.GetQuotedWithSubject(INode)
WrapperGraph.GetQuotedWithSubject(Uri)
WrapperGraph.GetQuotedWithSubjectPredicate(INode, INode)
WrapperGraph.GetQuotedWithSubjectObject(INode, INode)
WrapperGraph.GetQuotedWithPredicateObject(INode, INode)
WrapperGraph.GetUriNode(string)
WrapperGraph.GetUriNode(Uri)
WrapperGraph.ContainsTriple(Triple)
WrapperGraph.ContainsQuotedTriple(Triple)
WrapperGraph.Merge(IGraph)
WrapperGraph.Merge(IGraph, bool)
WrapperGraph.Equals(IGraph)
WrapperGraph.Equals(IGraph, out Dictionary<INode, INode>)
WrapperGraph.IsSubGraphOf(IGraph)
WrapperGraph.IsSubGraphOf(IGraph, out Dictionary<INode, INode>)
WrapperGraph.HasSubGraph(IGraph)
WrapperGraph.HasSubGraph(IGraph, out Dictionary<INode, INode>)
WrapperGraph.Difference(IGraph)
WrapperGraph.Unstar()
WrapperGraph.ResolveQName(string)
WrapperGraph.TripleAsserted
WrapperGraph.TripleRetracted
WrapperGraph.Changed
WrapperGraph.ClearRequested
WrapperGraph.Cleared
WrapperGraph.MergeRequested
WrapperGraph.Merged
WrapperGraph.OnTripleAsserted(object, TripleEventArgs)
WrapperGraph.RaiseTripleAsserted(TripleEventArgs)
WrapperGraph.RaiseTripleAsserted(Triple)
WrapperGraph.OnTripleRetracted(object, TripleEventArgs)
WrapperGraph.RaiseTripleRetracted(TripleEventArgs)
WrapperGraph.RaiseTripleRetracted(Triple)
WrapperGraph.OnChanged(object, GraphEventArgs)
WrapperGraph.RaiseGraphChanged(TripleEventArgs)
WrapperGraph.RaiseGraphChanged()
WrapperGraph.OnClearRequested(object, CancellableGraphEventArgs)
WrapperGraph.RaiseClearRequested(CancellableGraphEventArgs)
WrapperGraph.OnCleared(object, GraphEventArgs)
WrapperGraph.RaiseCleared()
WrapperGraph.OnMergeRequested(object, CancellableGraphEventArgs)
WrapperGraph.RaiseMergeRequested(CancellableGraphEventArgs)
WrapperGraph.OnMerged(object, GraphEventArgs)
WrapperGraph.RaiseMerged()
WrapperGraph.AttachEventHandlers()
WrapperGraph.Dispose()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Skos
Assembly: dotNetRdf.Skos.dll
Syntax
public class SkosGraph : WrapperGraph, IGraph, INodeFactory, IDisposable, ITripleIndex, IEquatable<IGraph>

Constructors

| Improve this Doc View Source

SkosGraph(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.

| Improve this Doc View Source

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

| Improve this Doc View Source

Collections

Gets collections contained in the graph.

Declaration
public IEnumerable<SkosCollection> Collections { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T><SkosCollection>
| Improve this Doc View Source

Concepts

Gets concepts contained in the graph.

Declaration
public IEnumerable<SkosConcept> Concepts { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T><SkosConcept>
| Improve this Doc View Source

ConceptSchemes

Gets concept schemes contained in the graph.

Declaration
public IEnumerable<SkosConceptScheme> ConceptSchemes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T><SkosConceptScheme>
| Improve this Doc View Source

OrderedCollections

Gets ordered collections contained in the graph.

Declaration
public IEnumerable<SkosOrderedCollection> OrderedCollections { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T><SkosOrderedCollection>

Implements

IGraph
INodeFactory
System.IDisposable
ITripleIndex
System.IEquatable<T>

Extension Methods

Extensions.ToSafeString(object)
GraphExtensions.ToDataTable(IGraph)
DynamicExtensions.AsDynamic(IGraph, Uri, Uri)
Extensions.AddToList(IGraph, INode, IEnumerable<INode>)
Extensions.AddToList<T>(IGraph, INode, IEnumerable<T>, Func<T, INode>)
Extensions.Assert(IGraph, INode, INode, INode)
Extensions.AssertList(IGraph, IEnumerable<INode>)
Extensions.AssertList(IGraph, INode, IEnumerable<INode>)
Extensions.AssertList<T>(IGraph, IEnumerable<T>, Func<T, INode>)
Extensions.AssertList<T>(IGraph, INode, IEnumerable<T>, Func<T, INode>)
Extensions.GetListAsTriples(IGraph, INode)
Extensions.GetListItems(IGraph, INode)
Extensions.GetListNodes(IGraph, INode)
Extensions.RemoveFromList(IGraph, INode, IEnumerable<INode>)
Extensions.RemoveFromList<T>(IGraph, INode, IEnumerable<T>, Func<T, INode>)
Extensions.Retract(IGraph, INode, INode, INode)
Extensions.RetractList(IGraph, INode)
GraphExtensions.GetETag(IGraph)
GraphExtensions.LoadFromEmbeddedResource(IGraph, string, IRdfReader)
GraphExtensions.LoadFromEmbeddedResource(IGraph, string)
GraphExtensions.LoadFromFile(IGraph, string, IRdfReader)
GraphExtensions.LoadFromFile(IGraph, string)
GraphExtensions.LoadFromString(IGraph, string, IRdfReader)
GraphExtensions.LoadFromString(IGraph, string)
GraphExtensions.LoadFromUri(IGraph, Uri, IRdfReader, Loader)
GraphExtensions.LoadFromUri(IGraph, Uri, Loader)
GraphExtensions.SaveToFile(IGraph, string, IRdfWriter)
GraphExtensions.SaveToFile(IGraph, string, IStoreWriter)
GraphExtensions.SaveToFile(IGraph, string)
GraphExtensions.SaveToStream(IGraph, TextWriter, IRdfWriter)
GraphExtensions.SaveToStream(IGraph, TextWriter, IStoreWriter)
GraphExtensions.SaveToStream(IGraph, string, TextWriter)
InMemoryExtensions.ExecuteQuery(IGraph, string)
InMemoryExtensions.ExecuteQuery(IGraph, IRdfHandler, ISparqlResultsHandler, string)
InMemoryExtensions.ExecuteQuery(IGraph, IRdfHandler, ISparqlResultsHandler, SparqlParameterizedString)
InMemoryExtensions.ExecuteQuery(IGraph, IRdfHandler, ISparqlResultsHandler, SparqlQuery)
InMemoryExtensions.ExecuteQuery(IGraph, SparqlParameterizedString)
InMemoryExtensions.ExecuteQuery(IGraph, SparqlQuery)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • SkosGraph(IGraph)
    • SkosGraph(IRefNode)
  • Properties
    • Collections
    • Concepts
    • ConceptSchemes
    • OrderedCollections
  • Implements
  • Extension Methods
Back to top Generated by DocFX