BaseSparqlView Class |
Namespace: VDS.RDF.Query
The BaseSparqlView type exposes the following members.
| Name | Description | |
|---|---|---|
| BaseSparqlView(String, ITripleStore) |
Creates a new SPARQL View.
| |
| BaseSparqlView(SparqlParameterizedString, ITripleStore) |
Creates a new SPARQL View.
| |
| BaseSparqlView(SparqlQuery, ITripleStore) |
Creates a new SPARQL View.
|
| Name | Description | |
|---|---|---|
| AllNodes |
Gets the unique Subject, Predicate and Object nodes of the Graph.
(Inherited from BaseGraph.) | |
| BaseUri |
Gets the current Base Uri for the Graph.
(Inherited from BaseGraph.) | |
| IsEmpty |
Gets whether a Graph is Empty ie. Contains No Triples or Nodes.
(Inherited from BaseGraph.) | |
| LastError |
Gets the error that occurred during the last update (if any).
| |
| NamespaceMap |
Gets the Namespace Mapper for this Graph which contains all in use Namespace Prefixes and their URIs.
(Inherited from BaseGraph.) | |
| Nodes |
Gets the unique Subject and Object nodes of the Graph.
(Inherited from BaseGraph.) | |
| Triples |
Gets the set of Triples described in this Graph.
(Inherited from BaseGraph.) |
| Name | Description | |
|---|---|---|
| Assert(IEnumerableTriple) |
Asserts a List of Triples in the graph.
(Inherited from Graph.) | |
| Assert(Triple) |
Asserts a Triple in the Graph.
(Inherited from Graph.) | |
| AttachEventHandlers |
Helper method for attaching the necessary event Handlers to a Triple Collection.
(Inherited from BaseGraph.) | |
| Clear |
Clears all Triples from the Graph.
(Inherited from BaseGraph.) | |
| ContainsTriple |
Gets whether a given Triple exists in this Graph.
(Inherited from BaseGraph.) | |
| CreateBlankNode |
Creates a New Blank Node with an auto-generated Blank Node ID.
(Inherited from BaseGraph.) | |
| CreateBlankNode(String) |
Creates a New Blank Node with a user-defined Blank Node ID.
(Inherited from BaseGraph.) | |
| CreateGraphLiteralNode |
Creates a new Graph Literal Node with its value being an Empty Subgraph.
(Inherited from BaseGraph.) | |
| CreateGraphLiteralNode(IGraph) |
Creates a new Graph Literal Node with its value being the given Subgraph.
(Inherited from BaseGraph.) | |
| CreateLiteralNode(String) |
Creates a New Literal Node with the given Value.
(Inherited from BaseGraph.) | |
| CreateLiteralNode(String, String) |
Creates a New Literal Node with the given Value and Language Specifier.
(Inherited from BaseGraph.) | |
| CreateLiteralNode(String, Uri) |
Creates a new Literal Node with the given Value and Data Type.
(Inherited from BaseGraph.) | |
| CreateUriNode |
Creates a new URI Node that refers to the Base Uri of the Graph.
(Inherited from BaseGraph.) | |
| CreateUriNode(String) |
Creates a new URI Node with the given QName.
(Inherited from BaseGraph.) | |
| CreateUriNode(Uri) |
Creates a new URI Node with the given URI.
(Inherited from BaseGraph.) | |
| CreateVariableNode |
Creates a new Variable Node.
(Inherited from BaseGraph.) | |
| DetachEventHandlers |
Helper method for detaching the necessary event Handlers from a Triple Collection.
(Inherited from BaseGraph.) | |
| Difference |
Computes the Difference between this Graph the given Graph.
(Inherited from BaseGraph.) | |
| Dispose |
Disposes of a Graph.
(Inherited from BaseGraph.) | |
| Equals(Object) |
Determines whether a Graph is equal to another Object.
(Inherited from BaseGraph.) | |
| Equals(IGraph, DictionaryINode, INode) |
Determines whether this Graph is equal to the given Graph.
(Inherited from BaseGraph.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetBlankNode |
Returns the Blank Node with the given Identifier.
(Inherited from Graph.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetLiteralNode(String) |
Returns the LiteralNode with the given Value if it exists.
(Inherited from Graph.) | |
| GetLiteralNode(String, String) |
Returns the LiteralNode with the given Value in the given Language if it exists.
(Inherited from Graph.) | |
| GetLiteralNode(String, Uri) |
Returns the LiteralNode with the given Value and given Data Type if it exists.
(Inherited from Graph.) | |
| GetNextBlankNodeID |
Creates a new unused Blank Node ID and returns it.
(Inherited from BaseGraph.) | |
| GetObjectData |
Gets the Serialization Information for serializing a Graph.
(Inherited from BaseGraph.) | |
| GetSchema |
Gets the Schema for XML Serialization.
(Inherited from BaseGraph.) | |
| GetTriples(Uri) |
Gets all the Triples involving the given Uri.
(Inherited from Graph.) | |
| GetTriples(INode) |
Gets all the Triples involving the given Node.
(Inherited from Graph.) | |
| GetTriplesWithObject(Uri) |
Gets all the Triples with the given Uri as the Object.
(Inherited from Graph.) | |
| GetTriplesWithObject(INode) |
Gets all the Triples with the given Node as the Object.
(Inherited from Graph.) | |
| GetTriplesWithPredicate(Uri) |
Gets all the Triples with the given Uri as the Predicate.
(Inherited from Graph.) | |
| GetTriplesWithPredicate(INode) |
Gets all the Triples with the given Node as the Predicate.
(Inherited from Graph.) | |
| GetTriplesWithPredicateObject |
Selects all Triples with the given Predicate and Object.
(Inherited from Graph.) | |
| GetTriplesWithSubject(Uri) |
Gets all the Triples with the given Uri as the Subject.
(Inherited from Graph.) | |
| GetTriplesWithSubject(INode) |
Gets all the Triples with the given Node as the Subject.
(Inherited from Graph.) | |
| GetTriplesWithSubjectObject |
Selects all Triples with the given Subject and Object.
(Inherited from Graph.) | |
| GetTriplesWithSubjectPredicate |
Selects all Triples with the given Subject and Predicate.
(Inherited from Graph.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUriNode(String) |
Returns the UriNode with the given QName if it exists.
(Inherited from Graph.) | |
| GetUriNode(Uri) |
Returns the UriNode with the given Uri if it exists.
(Inherited from Graph.) | |
| HasSubGraph(IGraph) |
Checks whether this Graph has the given Graph as a sub-graph.
(Inherited from BaseGraph.) | |
| HasSubGraph(IGraph, DictionaryINode, INode) |
Checks whether this Graph has the given Graph as a sub-graph.
(Inherited from BaseGraph.) | |
| IsSubGraphOf(IGraph) |
Checks whether this Graph is a sub-graph of the given Graph.
(Inherited from BaseGraph.) | |
| IsSubGraphOf(IGraph, DictionaryINode, INode) |
Checks whether this Graph is a sub-graph of the given Graph.
(Inherited from BaseGraph.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Merge(IGraph) |
Merges another Graph into the current Graph.
(Inherited from BaseGraph.) | |
| Merge(IGraph, Boolean) |
Merges another Graph into the current Graph.
(Inherited from BaseGraph.) | |
| OnTripleAsserted |
Event Handler which handles the Triple Added event from the underlying Triple Collection by raising the Graph's TripleAsserted event.
(Inherited from BaseGraph.) | |
| OnTripleRetracted |
Event Handler which handles the Triple Removed event from the underlying Triple Collection by raising the Graph's Triple Retracted event.
(Inherited from BaseGraph.) | |
| RaiseCleared |
Helper method for raising the Cleared event.
(Inherited from BaseGraph.) | |
| RaiseClearRequested |
Helper method for raising the Clear Requested event and returning whether any of the Event Handlers cancelled the operation.
(Inherited from BaseGraph.) | |
| RaiseGraphChanged |
Helper method for raising the Changed event.
(Inherited from BaseGraph.) | |
| RaiseGraphChanged(TripleEventArgs) |
Helper method for raising the Changed event.
(Inherited from BaseGraph.) | |
| RaiseMerged |
Helper method for raising the Merged event.
(Inherited from BaseGraph.) | |
| RaiseMergeRequested |
Helper method for raising the Merge Requested event and returning whether any of the Event Handlers cancelled the operation.
(Inherited from BaseGraph.) | |
| RaiseTripleAsserted(Triple) |
Helper method for raising the Triple Asserted event manually.
(Inherited from BaseGraph.) | |
| RaiseTripleAsserted(TripleEventArgs) |
Helper method for raising the Triple Asserted event manually.
(Inherited from BaseGraph.) | |
| RaiseTripleRetracted(Triple) |
Helper method for raising the Triple Retracted event manually.
(Inherited from BaseGraph.) | |
| RaiseTripleRetracted(TripleEventArgs) |
Helper method for raising the Triple Retracted event manually.
(Inherited from BaseGraph.) | |
| ReadXml |
Reads the data for XML deserialization.
(Inherited from BaseGraph.) | |
| ResolveQName |
Helper function for Resolving QNames to URIs.
(Inherited from BaseGraph.) | |
| Retract(IEnumerableTriple) |
Retracts a enumeration of Triples from the graph.
(Inherited from Graph.) | |
| Retract(Triple) |
Retracts a Triple from the Graph.
(Inherited from Graph.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UpdateView |
Forces the view to be updated.
| |
| UpdateViewInternal |
Abstract method that derived classes should implement to update the view.
| |
| WriteXml |
Writes the data for XML serialization.
(Inherited from BaseGraph.) |
| Name | Description | |
|---|---|---|
| Changed |
Event which is raised when the Graph contents change
(Inherited from BaseGraph.) | |
| Cleared |
Event which is raised after the Graph is cleared of its contents
(Inherited from BaseGraph.) | |
| ClearRequested |
Event which is raised just before the Graph is cleared of its contents
(Inherited from BaseGraph.) | |
| Merged |
Event which is raised when a Merge operation is completed on the Graph
(Inherited from BaseGraph.) | |
| MergeRequested |
Event which is raised when a Merge operation is requested on the Graph
(Inherited from BaseGraph.) | |
| TripleAsserted |
Event which is raised when a Triple is asserted in the Graph
(Inherited from BaseGraph.) | |
| TripleRetracted |
Event which is raised when a Triple is retracted from the Graph
(Inherited from BaseGraph.) |
| Name | Description | |
|---|---|---|
| _baseuri |
Base Uri of the Graph.
(Inherited from BaseGraph.) | |
| _bnodemapper |
Blank Node ID Mapper.
(Inherited from BaseGraph.) | |
| _graphs |
Graphs that are mentioned in the Query.
| |
| _nsmapper |
Namespace Mapper.
(Inherited from BaseGraph.) | |
| _q |
SPARQL Query.
| |
| _store |
Triple Store the query operates over.
| |
| _triples |
Collection of Triples in the Graph.
(Inherited from BaseGraph.) |
CONSTRUCT, DESCRIBE or SELECT queries can be used to generate a Graph. If you use a SELECT query the returned variables must contain ?s, ?p and ?o in order to generate a view correctly.