Show / Hide Table of Contents

Class SparqlView

Represents a SPARQL View over an in-memory store.

Inheritance
object
BaseGraph
Graph
BaseSparqlView
SparqlView
Implements
IGraph
INodeFactory
IDisposable
ITripleIndex
IEquatable<IGraph>
IEquatable<Graph>
Inherited Members
BaseSparqlView._q
BaseSparqlView._graphs
BaseSparqlView._store
BaseSparqlView.UpdateView()
BaseSparqlView.LastError
Graph.Equals(Graph)
Graph.Assert(Triple)
Graph.Assert(IEnumerable<Triple>)
Graph.Retract(Triple)
Graph.Retract(IEnumerable<Triple>)
Graph.GetUriNode(Uri)
Graph.GetUriNode(string)
Graph.GetLiteralNode(string)
Graph.GetLiteralNode(string, string)
Graph.GetLiteralNode(string, Uri)
Graph.GetBlankNode(string)
Graph.GetTripleNode(Triple)
Graph.GetTriples(INode)
Graph.GetTriples(Uri)
Graph.GetTriplesWithSubject(INode)
Graph.GetTriplesWithSubject(Uri)
Graph.GetTriplesWithPredicate(INode)
Graph.GetTriplesWithPredicate(Uri)
Graph.GetTriplesWithObject(INode)
Graph.GetTriplesWithObject(Uri)
Graph.GetTriplesWithSubjectPredicate(INode, INode)
Graph.GetTriplesWithSubjectObject(INode, INode)
Graph.GetTriplesWithPredicateObject(INode, INode)
Graph.GetQuoted(INode)
Graph.GetQuotedWithObject(INode)
Graph.GetQuotedWithPredicate(INode)
Graph.GetQuotedWithSubject(INode)
Graph.GetQuotedWithSubjectPredicate(INode, INode)
Graph.GetQuotedWithSubjectObject(INode, INode)
Graph.GetQuotedWithPredicateObject(INode, INode)
BaseGraph._triples
BaseGraph.NodeFactory
BaseGraph.UriFactory
BaseGraph._name
BaseGraph._bnodemapper
BaseGraph.Triples
BaseGraph.QuotedTriples
BaseGraph.Nodes
BaseGraph.AllNodes
BaseGraph.QuotedNodes
BaseGraph.AllQuotedNodes
BaseGraph.NamespaceMap
BaseGraph.BaseUri
BaseGraph.Name
BaseGraph.IsEmpty
BaseGraph.NormalizeLiteralValues
BaseGraph.LanguageTagValidation
BaseGraph.Clear()
BaseGraph.CreateBlankNode()
BaseGraph.CreateBlankNode(string)
BaseGraph.CreateGraphLiteralNode()
BaseGraph.CreateGraphLiteralNode(IGraph)
BaseGraph.CreateLiteralNode(string, Uri)
BaseGraph.CreateLiteralNode(string)
BaseGraph.CreateLiteralNode(string, string)
BaseGraph.CreateUriNode(Uri)
BaseGraph.CreateUriNode(string)
BaseGraph.CreateUriNode()
BaseGraph.CreateVariableNode(string)
BaseGraph.CreateTripleNode(Triple)
BaseGraph.ContainsTriple(Triple)
BaseGraph.ContainsQuotedTriple(Triple)
BaseGraph.GetQuoted(Uri)
BaseGraph.GetQuotedWithObject(Uri)
BaseGraph.GetQuotedWithPredicate(Uri)
BaseGraph.GetQuotedWithSubject(Uri)
BaseGraph.Merge(IGraph)
BaseGraph.Merge(IGraph, bool)
BaseGraph.Unstar()
BaseGraph.Equals(IGraph)
BaseGraph.Equals(IGraph, out Dictionary<INode, INode>)
BaseGraph.IsSubGraphOf(IGraph)
BaseGraph.IsSubGraphOf(IGraph, out Dictionary<INode, INode>)
BaseGraph.HasSubGraph(IGraph)
BaseGraph.HasSubGraph(IGraph, out Dictionary<INode, INode>)
BaseGraph.Difference(IGraph)
BaseGraph.ResolveQName(string)
BaseGraph.GetNextBlankNodeID()
BaseGraph.TripleAsserted
BaseGraph.TripleRetracted
BaseGraph.Changed
BaseGraph.ClearRequested
BaseGraph.Cleared
BaseGraph.MergeRequested
BaseGraph.Merged
BaseGraph.OnTripleAsserted(object, TripleEventArgs)
BaseGraph.RaiseTripleAsserted(TripleEventArgs)
BaseGraph.RaiseTripleAsserted(Triple)
BaseGraph.OnTripleRetracted(object, TripleEventArgs)
BaseGraph.RaiseTripleRetracted(TripleEventArgs)
BaseGraph.RaiseTripleRetracted(Triple)
BaseGraph.RaiseGraphChanged(TripleEventArgs)
BaseGraph.RaiseGraphChanged()
BaseGraph.RaiseClearRequested()
BaseGraph.RaiseCleared()
BaseGraph.RaiseMergeRequested()
BaseGraph.RaiseMerged()
BaseGraph.AttachEventHandlers(BaseTripleCollection)
BaseGraph.DetachEventHandlers(BaseTripleCollection)
BaseGraph.Dispose()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Query
Assembly: dotNetRdf.dll
Syntax
public class SparqlView : BaseSparqlView, IGraph, INodeFactory, IDisposable, ITripleIndex, IEquatable<IGraph>, IEquatable<Graph>

Constructors

| Edit this page View Source

SparqlView(string, IInMemoryQueryableStore, IRefNode)

Creates a new SPARQL View.

Declaration
public SparqlView(string sparqlQuery, IInMemoryQueryableStore store, IRefNode name = null)
Parameters
Type Name Description
string sparqlQuery

SPARQL Query.

IInMemoryQueryableStore store

Triple Store to query.

IRefNode name

The graph name to assign to the view.

| Edit this page View Source

SparqlView(SparqlParameterizedString, IInMemoryQueryableStore, IRefNode)

Creates a new SPARQL View.

Declaration
public SparqlView(SparqlParameterizedString sparqlQuery, IInMemoryQueryableStore store, IRefNode name = null)
Parameters
Type Name Description
SparqlParameterizedString sparqlQuery

SPARQL Query.

IInMemoryQueryableStore store

Triple Store to query.

IRefNode name

The graph name to assign to the view.

| Edit this page View Source

SparqlView(SparqlQuery, IInMemoryQueryableStore, IRefNode)

Creates a new SPARQL View.

Declaration
public SparqlView(SparqlQuery sparqlQuery, IInMemoryQueryableStore store, IRefNode name = null)
Parameters
Type Name Description
SparqlQuery sparqlQuery

SPARQL Query.

IInMemoryQueryableStore store

Triple Store to query.

IRefNode name

The graph name to assign to the view.

Properties

| Edit this page View Source

FullTripleIndexing

Specifies whether this view should fully index any graph result sets.

Declaration
public bool FullTripleIndexing { get; set; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

UpdateViewInternal()

Updates the view by making the SPARQL Query in-memory over the relevant Triple Store.

Declaration
protected override void UpdateViewInternal()
Overrides
BaseSparqlView.UpdateViewInternal()

Implements

IGraph
INodeFactory
IDisposable
ITripleIndex
IEquatable<T>
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)
GraphExtensions.LoadFromEmbeddedResource(IGraph, string, IRdfReader)
GraphExtensions.LoadFromFile(IGraph, string)
GraphExtensions.LoadFromFile(IGraph, string, IRdfReader)
GraphExtensions.LoadFromString(IGraph, string)
GraphExtensions.LoadFromString(IGraph, string, IRdfReader)
GraphExtensions.LoadFromUri(IGraph, Uri, IRdfReader, Loader)
GraphExtensions.LoadFromUri(IGraph, Uri, Loader)
GraphExtensions.SaveToFile(IGraph, string)
GraphExtensions.SaveToFile(IGraph, string, IRdfWriter)
GraphExtensions.SaveToFile(IGraph, string, IStoreWriter)
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)
  • Edit this page
  • View Source
In this article
  • Constructors
    • SparqlView(string, IInMemoryQueryableStore, IRefNode)
    • SparqlView(SparqlParameterizedString, IInMemoryQueryableStore, IRefNode)
    • SparqlView(SparqlQuery, IInMemoryQueryableStore, IRefNode)
  • Properties
    • FullTripleIndexing
  • Methods
    • UpdateViewInternal()
  • Implements
  • Extension Methods
Back to top Generated by DocFX