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
System.Xml.Serialization.IXmlSerializable
System.Runtime.Serialization.ISerializable
Inherited Members
WrapperGraph._g
WrapperGraph.BaseUri
WrapperGraph.IsEmpty
WrapperGraph.NamespaceMap
WrapperGraph.Nodes
WrapperGraph.AllNodes
WrapperGraph.Triples
WrapperGraph.Assert(Triple)
WrapperGraph.Assert(IEnumerable<Triple>)
WrapperGraph.Retract(Triple)
WrapperGraph.Retract(IEnumerable<Triple>)
WrapperGraph.Clear()
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.GetBlankNode(String)
WrapperGraph.GetLiteralNode(String, String)
WrapperGraph.GetLiteralNode(String)
WrapperGraph.GetLiteralNode(String, Uri)
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.GetUriNode(String)
WrapperGraph.GetUriNode(Uri)
WrapperGraph.ContainsTriple(Triple)
WrapperGraph.Merge(IGraph)
WrapperGraph.Merge(IGraph, Boolean)
WrapperGraph.Equals(Object)
WrapperGraph.Equals(IGraph, Dictionary<INode, INode>)
WrapperGraph.IsSubGraphOf(IGraph)
WrapperGraph.IsSubGraphOf(IGraph, Dictionary<INode, INode>)
WrapperGraph.HasSubGraph(IGraph)
WrapperGraph.HasSubGraph(IGraph, Dictionary<INode, INode>)
WrapperGraph.Difference(IGraph)
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()
WrapperGraph.GetObjectData(SerializationInfo, StreamingContext)
WrapperGraph.GetSchema()
WrapperGraph.ReadXml(XmlReader)
WrapperGraph.WriteXml(XmlWriter)
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.Skos
Assembly: dotNetRDF.dll
Syntax
public class SkosGraph : WrapperGraph, IGraph, INodeFactory, IDisposable, IXmlSerializable, ISerializable

Constructors

| Improve this Doc View Source

SkosGraph()

Creates a new SKOS graph.
Declaration
public SkosGraph()
| 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.

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<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<SkosConcept>
| Improve this Doc View Source

ConceptSchemes

Gets concept schems contained in the graph.
Declaration
public IEnumerable<SkosConceptScheme> ConceptSchemes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<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<SkosOrderedCollection>

Implements

IGraph
INodeFactory
System.IDisposable
System.Xml.Serialization.IXmlSerializable
System.Runtime.Serialization.ISerializable

Extension Methods

GraphExtensions.ToDataTable(IGraph)
Extensions.AsEnumerable<T>(T)
Extensions.Assert(IGraph, INode, INode, INode)
Extensions.Retract(IGraph, INode, INode, INode)
Extensions.AssertList<T>(IGraph, IEnumerable<T>, Func<T, INode>)
Extensions.AssertList<T>(IGraph, INode, IEnumerable<T>, Func<T, INode>)
Extensions.AssertList(IGraph, IEnumerable<INode>)
Extensions.AssertList(IGraph, INode, IEnumerable<INode>)
Extensions.GetListAsTriples(IGraph, INode)
Extensions.GetListItems(IGraph, INode)
Extensions.GetListNodes(IGraph, INode)
Extensions.RetractList(IGraph, INode)
Extensions.AddToList<T>(IGraph, INode, IEnumerable<T>, Func<T, INode>)
Extensions.AddToList(IGraph, INode, IEnumerable<INode>)
Extensions.RemoveFromList<T>(IGraph, INode, IEnumerable<T>, Func<T, INode>)
Extensions.RemoveFromList(IGraph, INode, IEnumerable<INode>)
GraphExtensions.ExecuteQuery(IGraph, String)
GraphExtensions.ExecuteQuery(IGraph, IRdfHandler, ISparqlResultsHandler, String)
GraphExtensions.ExecuteQuery(IGraph, SparqlParameterizedString)
GraphExtensions.ExecuteQuery(IGraph, IRdfHandler, ISparqlResultsHandler, SparqlParameterizedString)
GraphExtensions.ExecuteQuery(IGraph, SparqlQuery)
GraphExtensions.ExecuteQuery(IGraph, IRdfHandler, ISparqlResultsHandler, SparqlQuery)
GraphExtensions.LoadFromFile(IGraph, String, IRdfReader)
GraphExtensions.LoadFromFile(IGraph, String)
GraphExtensions.LoadFromUri(IGraph, Uri, IRdfReader)
GraphExtensions.LoadFromUri(IGraph, Uri)
GraphExtensions.LoadFromString(IGraph, String, IRdfReader)
GraphExtensions.LoadFromString(IGraph, String)
GraphExtensions.LoadFromEmbeddedResource(IGraph, String)
GraphExtensions.LoadFromEmbeddedResource(IGraph, String, IRdfReader)
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)
DynamicExtensions.AsDynamic(IGraph, Uri, Uri)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • SkosGraph()
    • SkosGraph(IGraph)
  • Properties
    • Collections
    • Concepts
    • ConceptSchemes
    • OrderedCollections
  • Implements
  • Extension Methods
Back to top Generated by DocFX