Click or drag to resize

SkosGraph Class

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

Namespace:  VDS.RDF.Skos
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class SkosGraph : WrapperGraph

The SkosGraph type exposes the following members.

Constructors
  NameDescription
Public methodSkosGraph
Creates a new SKOS graph.
Public methodSkosGraph(IGraph)
Creates a new SKOS graph for the given graph.
Top
Properties
  NameDescription
Public propertyAllNodes
Gets the unique Subject, Predicate and Object nodes of the Graph.
(Inherited from WrapperGraph.)
Public propertyBaseUri
Gets/Sets the Base URI of the Graph.
(Inherited from WrapperGraph.)
Public propertyCollections
Gets collections contained in the graph.
Public propertyConcepts
Gets concepts contained in the graph.
Public propertyConceptSchemes
Gets concept schems contained in the graph.
Public propertyIsEmpty
Gets whether the Graph is empty.
(Inherited from WrapperGraph.)
Public propertyNamespaceMap
Gets the Namespace Map for the Graph.
(Inherited from WrapperGraph.)
Public propertyNodes
Gets the unique Subject and Object nodes of the Graph.
(Inherited from WrapperGraph.)
Public propertyOrderedCollections
Gets ordered collections contained in the graph.
Public propertyTriples
Gets the Triple Collection for the Graph.
(Inherited from WrapperGraph.)
Top
Methods
  NameDescription
Public methodAssert(IEnumerableTriple)
Asserts Triples in the Graph.
(Inherited from WrapperGraph.)
Public methodAssert(Triple)
Asserts a Triple in the Graph.
(Inherited from WrapperGraph.)
Protected methodAttachEventHandlers
Helper method for attaching the necessary event handlers to the underlying graph.
(Inherited from WrapperGraph.)
Public methodClear
Clears the Graph.
(Inherited from WrapperGraph.)
Public methodContainsTriple
Gets whether a given Triple exists in this Graph.
(Inherited from WrapperGraph.)
Public methodCreateBlankNode
Creates a new Blank Node.
(Inherited from WrapperGraph.)
Public methodCreateBlankNode(String)
Creates a new Blank Node with the given Node ID.
(Inherited from WrapperGraph.)
Public methodCreateGraphLiteralNode
Creates a new Graph Literal Node.
(Inherited from WrapperGraph.)
Public methodCreateGraphLiteralNode(IGraph)
Creates a new Graph Literal Node with the given sub-graph.
(Inherited from WrapperGraph.)
Public methodCreateLiteralNode(String)
Creates a new Literal Node.
(Inherited from WrapperGraph.)
Public methodCreateLiteralNode(String, String)
Creates a new Literal Node with the given Language.
(Inherited from WrapperGraph.)
Public methodCreateLiteralNode(String, Uri)
Creates a new Literal Node with the given Datatype.
(Inherited from WrapperGraph.)
Public methodCreateUriNode
Creates a new URI Node that references the Graphs Base URI.
(Inherited from WrapperGraph.)
Public methodCreateUriNode(String)
Creates a new URI Node from a QName.
(Inherited from WrapperGraph.)
Public methodCreateUriNode(Uri)
Creates a new URI Node.
(Inherited from WrapperGraph.)
Public methodCreateVariableNode
Creates a new Variable Node.
(Inherited from WrapperGraph.)
Public methodDifference
Computes the Difference between this Graph the given Graph.
(Inherited from WrapperGraph.)
Public methodDispose
Disposes of the wrapper and in doing so disposes of the underlying graph.
(Inherited from WrapperGraph.)
Public methodEquals(Object)
Determines whether a Graph is equal to another Object.
(Inherited from WrapperGraph.)
Public methodEquals(IGraph, DictionaryINode, INode)
Determines whether this Graph is equal to the given Graph.
(Inherited from WrapperGraph.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBlankNode
Attempts to get the Blank Node with the given ID.
(Inherited from WrapperGraph.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLiteralNode(String)
Attempts to get the Literal Node with the given Value.
(Inherited from WrapperGraph.)
Public methodGetLiteralNode(String, String)
Attempts to get the Literal Node with the given Value and Language.
(Inherited from WrapperGraph.)
Public methodGetLiteralNode(String, Uri)
Attempts to get the Literal Node with the given Value and Datatype.
(Inherited from WrapperGraph.)
Public methodGetNextBlankNodeID
Gets the next available Blank Node ID.
(Inherited from WrapperGraph.)
Public methodGetObjectData
Gets the Serialization Information.
(Inherited from WrapperGraph.)
Public methodGetSchema
Gets the Schema for XML serialization.
(Inherited from WrapperGraph.)
Public methodGetTriples(Uri)
Gets all the Triples involving the given URI.
(Inherited from WrapperGraph.)
Public methodGetTriples(INode)
Gets all the Triples involving the given Node.
(Inherited from WrapperGraph.)
Public methodGetTriplesWithObject(Uri)
Gets all the Triples with the given URI as the Object.
(Inherited from WrapperGraph.)
Public methodGetTriplesWithObject(INode)
Gets all the Triples with the given Node as the Object.
(Inherited from WrapperGraph.)
Public methodGetTriplesWithPredicate(Uri)
Gets all the Triples with the given Uri as the Predicate.
(Inherited from WrapperGraph.)
Public methodGetTriplesWithPredicate(INode)
Gets all the Triples with the given Node as the Predicate.
(Inherited from WrapperGraph.)
Public methodGetTriplesWithPredicateObject
Selects all Triples with the given Predicate and Object.
(Inherited from WrapperGraph.)
Public methodGetTriplesWithSubject(Uri)
Gets all the Triples with the given Uri as the Subject.
(Inherited from WrapperGraph.)
Public methodGetTriplesWithSubject(INode)
Gets all the Triples with the given Node as the Subject.
(Inherited from WrapperGraph.)
Public methodGetTriplesWithSubjectObject
Selects all Triples with the given Subject and Object.
(Inherited from WrapperGraph.)
Public methodGetTriplesWithSubjectPredicate
Selects all Triples with the given Subject and Predicate.
(Inherited from WrapperGraph.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUriNode(String)
Returns the UriNode with the given QName if it exists.
(Inherited from WrapperGraph.)
Public methodGetUriNode(Uri)
Returns the UriNode with the given Uri if it exists.
(Inherited from WrapperGraph.)
Public methodHasSubGraph(IGraph)
Checks whether this Graph has the given Graph as a sub-graph.
(Inherited from WrapperGraph.)
Public methodHasSubGraph(IGraph, DictionaryINode, INode)
Checks whether this Graph has the given Graph as a sub-graph.
(Inherited from WrapperGraph.)
Public methodIsSubGraphOf(IGraph)
Checks whether this Graph is a sub-graph of the given Graph.
(Inherited from WrapperGraph.)
Public methodIsSubGraphOf(IGraph, DictionaryINode, INode)
Checks whether this Graph is a sub-graph of the given Graph.
(Inherited from WrapperGraph.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMerge(IGraph)
Merges another Graph into the current Graph.
(Inherited from WrapperGraph.)
Public methodMerge(IGraph, Boolean)
Merges another Graph into the current Graph.
(Inherited from WrapperGraph.)
Protected methodOnChanged
Event handler to help propogate Graph events from the underlying graph.
(Inherited from WrapperGraph.)
Protected methodOnCleared
Event handler to help propogate Graph events from the underlying graph.
(Inherited from WrapperGraph.)
Protected methodOnClearRequested
Event handler to help propogate Graph events from the underlying graph.
(Inherited from WrapperGraph.)
Protected methodOnMerged
Event handler to help propogate Graph events from the underlying graph.
(Inherited from WrapperGraph.)
Protected methodOnMergeRequested
Event handler to help propogate Graph events from the underlying graph.
(Inherited from WrapperGraph.)
Protected methodOnTripleAsserted
Event Handler which handles the Triple Added event from the underlying Triple Collection by raising the Graph's TripleAsserted event.
(Inherited from WrapperGraph.)
Protected methodOnTripleRetracted
Event Handler which handles the Triple Removed event from the underlying Triple Collection by raising the Graph's Triple Retracted event.
(Inherited from WrapperGraph.)
Protected methodRaiseCleared
Helper method for raising the Cleared event.
(Inherited from WrapperGraph.)
Protected methodRaiseClearRequested
Helper method for raising the Clear Requested event and returning whether any of the Event Handlers cancelled the operation.
(Inherited from WrapperGraph.)
Protected methodRaiseGraphChanged
Helper method for raising the Changed event.
(Inherited from WrapperGraph.)
Protected methodRaiseGraphChanged(TripleEventArgs)
Helper method for raising the Changed event.
(Inherited from WrapperGraph.)
Protected methodRaiseMerged
Helper method for raising the Merged event.
(Inherited from WrapperGraph.)
Protected methodRaiseMergeRequested
Helper method for raising the Merge Requested event and returning whether any of the Event Handlers cancelled the operation.
(Inherited from WrapperGraph.)
Protected methodRaiseTripleAsserted(Triple)
Helper method for raising the Triple Asserted event manually.
(Inherited from WrapperGraph.)
Protected methodRaiseTripleAsserted(TripleEventArgs)
Helper method for raising the Triple Asserted event manually.
(Inherited from WrapperGraph.)
Protected methodRaiseTripleRetracted(Triple)
Helper method for raising the Triple Retracted event manually.
(Inherited from WrapperGraph.)
Protected methodRaiseTripleRetracted(TripleEventArgs)
Helper method for raising the Triple Retracted event manually.
(Inherited from WrapperGraph.)
Public methodReadXml
Reads the data for XML deserialization.
(Inherited from WrapperGraph.)
Public methodResolveQName
Helper function for Resolving QNames to URIs.
(Inherited from WrapperGraph.)
Public methodRetract(IEnumerableTriple)
Retracts Triples from the Graph.
(Inherited from WrapperGraph.)
Public methodRetract(Triple)
Retracts a Triple from the Graph.
(Inherited from WrapperGraph.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteXml
Writes the data for XML serialization.
(Inherited from WrapperGraph.)
Top
Events
  NameDescription
Public eventChanged
Event which is raised when the Graph contents change
(Inherited from WrapperGraph.)
Public eventCleared
Event which is raised after the Graph is cleared of its contents
(Inherited from WrapperGraph.)
Public eventClearRequested
Event which is raised just before the Graph is cleared of its contents
(Inherited from WrapperGraph.)
Public eventMerged
Event which is raised when a Merge operation is completed on the Graph
(Inherited from WrapperGraph.)
Public eventMergeRequested
Event which is raised when a Merge operation is requested on the Graph
(Inherited from WrapperGraph.)
Public eventTripleAsserted
Event which is raised when a Triple is asserted in the Graph
(Inherited from WrapperGraph.)
Public eventTripleRetracted
Event which is raised when a Triple is retracted from the Graph
(Inherited from WrapperGraph.)
Top
Fields
  NameDescription
Protected field_g
Underlying Graph this is a wrapper around.
(Inherited from WrapperGraph.)
Top
See Also