Show / Hide Table of Contents

Class PelletQueryProcessor

A SPARQL Query Processor which processes queries by parsing them to the SPARQL Query Service of a Knowledge Base on a Pellet Server.
Inheritance
System.Object
PelletQueryProcessor
Implements
ISparqlQueryProcessor
Inherited Members
System.Object.Equals(System.Object)
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.Query
Assembly: dotNetRDF.dll
Syntax
public class PelletQueryProcessor : ISparqlQueryProcessor

Constructors

| Improve this Doc View Source

PelletQueryProcessor(Uri, String)

Creates a new Pellet Query Processor.
Declaration
public PelletQueryProcessor(Uri serverUri, string kbName)
Parameters
Type Name Description
System.Uri serverUri Pellet Server URI.
System.String kbName Knowledge Base Name.
| Improve this Doc View Source

PelletQueryProcessor(PelletServer, String)

Creates a new Pellet Query Processor.
Declaration
public PelletQueryProcessor(PelletServer server, string kbName)
Parameters
Type Name Description
PelletServer server Pellet Server.
System.String kbName Knowledge Base Name.

Methods

| Improve this Doc View Source

ProcessQuery(IRdfHandler, ISparqlResultsHandler, SparqlQuery)

Processes a SPARQL Query passing the results to the RDF or Results handler as appropriate.
Declaration
public void ProcessQuery(IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, SparqlQuery query)
Parameters
Type Name Description
IRdfHandler rdfHandler RDF Handler.
ISparqlResultsHandler resultsHandler Results Handler.
SparqlQuery query SPARQL Query.
| Improve this Doc View Source

ProcessQuery(IRdfHandler, ISparqlResultsHandler, SparqlQuery, QueryCallback, Object)

Processes a SPARQL Query asynchronously passing the results to the relevant handler and invoking the callback when the query completes.
Declaration
public void ProcessQuery(IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, SparqlQuery query, QueryCallback callback, object state)
Parameters
Type Name Description
IRdfHandler rdfHandler RDF Handler.
ISparqlResultsHandler resultsHandler Results Handler.
SparqlQuery query SPARQL Query.
QueryCallback callback Callback.
System.Object state State to pass to the callback.
| Improve this Doc View Source

ProcessQuery(SparqlQuery)

Processes a SPARQL Query.
Declaration
public object ProcessQuery(SparqlQuery query)
Parameters
Type Name Description
SparqlQuery query SPARQL Query.
Returns
Type Description
System.Object
| Improve this Doc View Source

ProcessQuery(SparqlQuery, GraphCallback, SparqlResultsCallback, Object)

Processes a SPARQL Query asynchronously invoking the relevant callback when the query completes.
Declaration
public void ProcessQuery(SparqlQuery query, GraphCallback rdfCallback, SparqlResultsCallback resultsCallback, object state)
Parameters
Type Name Description
SparqlQuery query SPARQL QUery.
GraphCallback rdfCallback Callback for queries that return a Graph.
SparqlResultsCallback resultsCallback Callback for queries that return a Result Set.
System.Object state State to pass to the callback.

Implements

ISparqlQueryProcessor

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • PelletQueryProcessor(Uri, String)
    • PelletQueryProcessor(PelletServer, String)
  • Methods
    • ProcessQuery(IRdfHandler, ISparqlResultsHandler, SparqlQuery)
    • ProcessQuery(IRdfHandler, ISparqlResultsHandler, SparqlQuery, QueryCallback, Object)
    • ProcessQuery(SparqlQuery)
    • ProcessQuery(SparqlQuery, GraphCallback, SparqlResultsCallback, Object)
  • Implements
  • Extension Methods
Back to top Generated by DocFX