Click or drag to resize

DiskDemandTripleStore Class

Class for representing Triple Stores which are collections of RDF Graphs.
Inheritance Hierarchy

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class DiskDemandTripleStore : TripleStore

The DiskDemandTripleStore type exposes the following members.

Constructors
  NameDescription
Public methodDiskDemandTripleStore
Creates a new Disk Demand Triple Store.
Top
Properties
  NameDescription
Public propertyGraphs
Gets the Collection of Graphs that comprise this Triple Store.
(Inherited from BaseTripleStore.)
Public propertyIsEmpty
Gets whether the Triple Store is empty.
(Inherited from BaseTripleStore.)
Public propertyItem
Gets the Graph with the given URI.
(Inherited from BaseTripleStore.)
Public propertyTriples
Gets all the Triples in the Triple Store.
(Inherited from BaseTripleStore.)
Top
Methods
  NameDescription
Public methodAdd(IGraph)
Adds a Graph into the Triple Store.
(Inherited from BaseTripleStore.)
Public methodAdd(IGraph, Boolean)
Adds a Graph into the Triple Store using the chosen Merging Behaviour.
(Inherited from BaseTripleStore.)
Public methodAddFromUri(Uri)
Adds a Graph into the Triple Store which is retrieved from the given Uri.
(Inherited from BaseTripleStore.)
Public methodAddFromUri(Uri, Boolean)
Adds a Graph into the Triple Store which is retrieved from the given Uri using the chosen Merging Behaviour.
(Inherited from BaseTripleStore.)
Public methodAddInferenceEngine
Adds an Inference Engine to the Triple Store.
(Inherited from TripleStore.)
Public methodApplyInference
Applies Inference to the given Graph.
(Inherited from TripleStore.)
Protected methodAttachEventHandlers
Helper method which attaches the Triple Store's Event Handlers to the relevant events of a Graph.
(Inherited from BaseTripleStore.)
Public methodClearInferenceEngines
Clears all Inference Engines from the Triple Store.
(Inherited from TripleStore.)
Public methodContains
Returns whether the Store contains the given Triple within the Query Triples.
(Inherited from TripleStore.)
Protected methodDetachEventHandlers
Helper method which detaches the Triple Store's Event Handlers from the relevant events of a Graph.
(Inherited from BaseTripleStore.)
Public methodDispose
Disposes of a Triple Store.
(Inherited from TripleStore.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecuteQuery(String) Obsolete.
Executes a SPARQL Query on the Triple Store.
(Inherited from TripleStore.)
Public methodExecuteQuery(SparqlQuery) Obsolete.
Executes a SPARQL Query on the Triple Store.
(Inherited from TripleStore.)
Public methodExecuteQuery(IRdfHandler, ISparqlResultsHandler, String) Obsolete.
Executes a SPARQL Query on the Triple Store processing the results with an appropriate handler from those provided.
(Inherited from TripleStore.)
Public methodExecuteQuery(IRdfHandler, ISparqlResultsHandler, SparqlQuery) Obsolete.
Executes a SPARQL Query on the Triple Store processing the results with an appropriate handler from those provided.
(Inherited from TripleStore.)
Public methodExecuteUpdate(String)
Executes an Update against the Triple Store.
(Inherited from TripleStore.)
Public methodExecuteUpdate(SparqlUpdateCommand)
Executes a single Update Command against the Triple Store.
(Inherited from TripleStore.)
Public methodExecuteUpdate(SparqlUpdateCommandSet)
Executes a set of Update Commands against the Triple Store.
(Inherited from TripleStore.)
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetTriples(Uri)
Selects all Triples which have a Uri Node with the given Uri from all the Query Triples.
(Inherited from TripleStore.)
Public methodGetTriples(INode)
Selects all Triples which contain the given Node from all Graphs in the Triple Store.
(Inherited from TripleStore.)
Public methodGetTriples(ListUri, Uri)
Selects all Triples which have a Uri Node with the given Uri from a Subset of Graphs in the Triple Store.
(Inherited from TripleStore.)
Public methodGetTriples(ListUri, INode)
Selects all Triples which contain the given Node from a Subset of Graphs in the Triple Store.
(Inherited from TripleStore.)
Public methodGetTriplesWithObject(Uri)
Selects all Triples where the Object is a Uri Node with the given Uri from all Graphs in the Triple Store.
(Inherited from TripleStore.)
Public methodGetTriplesWithObject(INode)
Selects all Triples where the Object is a given Node from all Graphs in the Triple Store.
(Inherited from TripleStore.)
Public methodGetTriplesWithObject(ListUri, Uri)
Selects all Triples where the Object is a Uri Node with the given Uri from a Subset of Graphs in the Triple Store.
(Inherited from TripleStore.)
Public methodGetTriplesWithObject(ListUri, INode)
Selects all Triples where the Object is a given Node from a Subset of Graphs in the Triple Store.
(Inherited from TripleStore.)
Public methodGetTriplesWithPredicate(Uri)
Selects all Triples where the Predicate is a Uri Node with the given Uri from all Graphs in the Triple Store.
(Inherited from TripleStore.)
Public methodGetTriplesWithPredicate(INode)
Selects all Triples where the Predicate is a given Node from all Graphs in the Triple Store.
(Inherited from TripleStore.)
Public methodGetTriplesWithPredicate(ListUri, Uri)
Selects all Triples where the Predicate is a Uri Node with the given Uri from a Subset of Graphs in the Triple Store.
(Inherited from TripleStore.)
Public methodGetTriplesWithPredicate(ListUri, INode)
Selects all Triples where the Predicate is a given Node from a Subset of Graphs in the Triple Store.
(Inherited from TripleStore.)
Public methodGetTriplesWithPredicateObject
Selects all the Triples with the given Predicate-Object pair from all the Query Triples.
(Inherited from TripleStore.)
Public methodGetTriplesWithSubject(Uri)
Selects all Triples where the Subject is a Uri Node with the given Uri from all Graphs in the Triple Store.
(Inherited from TripleStore.)
Public methodGetTriplesWithSubject(INode)
Selects all Triples where the Subject is a given Node from all Graphs in the Triple Store.
(Inherited from TripleStore.)
Public methodGetTriplesWithSubject(ListUri, Uri)
Selects all Triples where the Subject is a Uri Node with the given Uri from a Subset of Graphs in the Triple Store.
(Inherited from TripleStore.)
Public methodGetTriplesWithSubject(ListUri, INode)
Selects all Triples where the Subject is a given Node from a Subset of Graphs in the Triple Store.
(Inherited from TripleStore.)
Public methodGetTriplesWithSubjectObject
Selects all the Triples with the given Subject-Object pair from all the Query Triples.
(Inherited from TripleStore.)
Public methodGetTriplesWithSubjectPredicate
Selects all the Triples with the given Subject-Predicate pair from all the Query Triples.
(Inherited from TripleStore.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasGraph
Checks whether a Graph with the given Base Uri exists in the Triple Store.
(Inherited from BaseTripleStore.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnGraphAdded
Event Handler for the Graph Added event of the underlying Graph Collection which calls the normal event processing of the parent class BaseTripleStore and then applies Inference to the newly added Graph.
(Inherited from TripleStore.)
Protected methodOnGraphChanged
Event Handler which handles the Changed event of the contained Graphs by raising the Triple Store's Graph Changed event.
(Inherited from BaseTripleStore.)
Protected methodOnGraphCleared
Event Handler which handles the Cleared event of the contained Graphs by raising the Triple Stores's Graph Cleared event.
(Inherited from BaseTripleStore.)
Protected methodOnGraphMerged
Event Handler which handles the Merged event of the contained Graphs by raising the Triple Store's Graph Merged event.
(Inherited from BaseTripleStore.)
Protected methodOnGraphRemoved
Event Handler which handles the Graph Removed event from the underlying Graph Collection and raises the Triple Stores's Graph Removed event.
(Inherited from BaseTripleStore.)
Protected methodRaiseGraphAdded(GraphEventArgs)
Helper method for raising the Graph Added event manually.
(Inherited from BaseTripleStore.)
Protected methodRaiseGraphAdded(IGraph)
Helper method for raising the Graph Added event manually.
(Inherited from BaseTripleStore.)
Protected methodRaiseGraphChanged(GraphEventArgs)
Helper method for raising the Graph Changed event manually.
(Inherited from BaseTripleStore.)
Protected methodRaiseGraphChanged(IGraph)
Helper method for raising the Graph Changed event manually.
(Inherited from BaseTripleStore.)
Protected methodRaiseGraphCleared
Helper method for raising the Graph Cleared event manually.
(Inherited from BaseTripleStore.)
Protected methodRaiseGraphMerged
Helper method for raising the Graph Merged event manually.
(Inherited from BaseTripleStore.)
Protected methodRaiseGraphRemoved(GraphEventArgs)
Helper method for raising the Graph Removed event manually.
(Inherited from BaseTripleStore.)
Protected methodRaiseGraphRemoved(IGraph)
Helper method for raising the Graph Removed event manually.
(Inherited from BaseTripleStore.)
Public methodRemove
Removes a Graph from the Triple Store.
(Inherited from BaseTripleStore.)
Public methodRemoveInferenceEngine
Removes an Inference Engine from the Triple Store.
(Inherited from TripleStore.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventGraphAdded
Event which is raised when a Graph is added
(Inherited from BaseTripleStore.)
Public eventGraphChanged
Event which is raised when a Graphs contents changes
(Inherited from BaseTripleStore.)
Public eventGraphCleared
Event which is raised when a Graph is cleared
(Inherited from BaseTripleStore.)
Public eventGraphMerged
Event which is raised when a Graph has a merge operation performed on it
(Inherited from BaseTripleStore.)
Public eventGraphRemoved
Event which is raised when a Graph is removed
(Inherited from BaseTripleStore.)
Top
Fields
  NameDescription
Protected field_graphs
Collection of Graphs that comprise the Triple Store.
(Inherited from BaseTripleStore.)
Protected field_inferenceGraphUri
Graph Uri for the special Graph used to store inferred information.
(Inherited from TripleStore.)
Protected field_reasoners
List of Reasoners that are applied to Graphs as they are added to the Triple Store.
(Inherited from TripleStore.)
Protected field_storeInferencesExternally
Controls whether inferred information is stored in a special Graph or in the original Graph.
(Inherited from TripleStore.)
Top
Remarks
The 'Disk Demand' Triple Store is a Triple Store which automatically retrieves Graphs from the Disk based on the URIs of Graphs that you ask it for when those URIs are file:/// URIs.
See Also