public class SparqlDLExecutionFactory extends Object
Title:
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
| Modifier and Type | Class and Description |
|---|---|
static class |
SparqlDLExecutionFactory.QueryEngineType
Different types of query engine that can be used for answering queries.
|
| Constructor and Description |
|---|
SparqlDLExecutionFactory() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.jena.query.QueryExecution |
create(org.apache.jena.query.Query query,
org.apache.jena.query.Dataset dataset)
Creates a QueryExecution by selecting the most appropriate
SparqlDLExecutionFactory.QueryEngineType that can answer the given query. |
static org.apache.jena.query.QueryExecution |
create(org.apache.jena.query.Query query,
org.apache.jena.query.Dataset dataset,
org.apache.jena.query.QuerySolution initialBinding)
Creates a QueryExecution by selecting the most appropriate
SparqlDLExecutionFactory.QueryEngineType that can answer the given query. |
static org.apache.jena.query.QueryExecution |
create(org.apache.jena.query.Query query,
org.apache.jena.query.Dataset dataset,
org.apache.jena.query.QuerySolution initialBinding,
SparqlDLExecutionFactory.QueryEngineType queryEngineType)
Creates a QueryExecution with the given
SparqlDLExecutionFactory.QueryEngineType. |
static org.apache.jena.query.QueryExecution |
create(org.apache.jena.query.Query query,
org.apache.jena.query.Dataset dataset,
org.apache.jena.query.QuerySolution initialBinding,
SparqlDLExecutionFactory.QueryEngineType queryEngineType,
boolean handleVariableSPO)
Creates a QueryExecution with the given
SparqlDLExecutionFactory.QueryEngineType. |
static org.apache.jena.query.QueryExecution |
create(org.apache.jena.query.Query query,
org.apache.jena.rdf.model.Model model)
Creates a QueryExecution object where the Basic Graph Patterns (BGPs)
will be answered by native Pellet query engine whenever possible.
|
static org.apache.jena.query.QueryExecution |
create(org.apache.jena.query.Query query,
org.apache.jena.rdf.model.Model model,
org.apache.jena.query.QuerySolution initialBinding)
Creates a QueryExecution by selecting the most appropriate
SparqlDLExecutionFactory.QueryEngineType that can answer the given query. |
static org.apache.jena.query.QueryExecution |
createBasicExecution(org.apache.jena.query.Query query,
org.apache.jena.query.Dataset dataset)
Deprecated.
Use
createPelletExecution(Query, Dataset) instead |
static org.apache.jena.query.QueryExecution |
createBasicExecution(org.apache.jena.query.Query query,
org.apache.jena.rdf.model.Model model)
Deprecated.
Use
createPelletExecution(Query, Model) instead |
static org.apache.jena.query.QueryExecution |
createPelletExecution(org.apache.jena.query.Query query,
org.apache.jena.query.Dataset dataset)
Creates a Pellet query engine that will answer the given query.
|
static org.apache.jena.query.QueryExecution |
createPelletExecution(org.apache.jena.query.Query query,
org.apache.jena.query.Dataset dataset,
org.apache.jena.query.QuerySolution initialBinding)
Creates a Pellet query engine that will answer the given query.
|
static org.apache.jena.query.QueryExecution |
createPelletExecution(org.apache.jena.query.Query query,
org.apache.jena.rdf.model.Model model)
Creates a Pellet query engine that will answer the given query.
|
static org.apache.jena.query.QueryExecution |
createPelletExecution(org.apache.jena.query.Query query,
org.apache.jena.rdf.model.Model model,
org.apache.jena.query.QuerySolution initialBinding)
Creates a Pellet query engine that will answer the given query.
|
public static org.apache.jena.query.QueryExecution create(org.apache.jena.query.Query query,
org.apache.jena.query.Dataset dataset,
org.apache.jena.query.QuerySolution initialBinding)
SparqlDLExecutionFactory.QueryEngineType that can answer the given query.query - the querydataset - the target of the queryinitialBinding - initial binding that will be applied before query execution or
null if there is no initial bindingQueryExecution that will answer the query with the
given datasetSparqlDLExecutionFactory.QueryEngineTypepublic static org.apache.jena.query.QueryExecution create(org.apache.jena.query.Query query,
org.apache.jena.query.Dataset dataset,
org.apache.jena.query.QuerySolution initialBinding,
SparqlDLExecutionFactory.QueryEngineType queryEngineType)
SparqlDLExecutionFactory.QueryEngineType. If the
query engine cannot handle the given query a QueryException may be thrown
during query execution. Users are recommended to use
create(Query, Dataset, QuerySolution)query - the querydataset - the target of the queryinitialBinding - used for parametrized queriesqueryEngineType - type of the query engine that will be used to answer the queryQueryExecution that will answer the query with the
given datasetpublic static org.apache.jena.query.QueryExecution create(org.apache.jena.query.Query query,
org.apache.jena.query.Dataset dataset,
org.apache.jena.query.QuerySolution initialBinding,
SparqlDLExecutionFactory.QueryEngineType queryEngineType,
boolean handleVariableSPO)
throws org.apache.jena.query.QueryException
SparqlDLExecutionFactory.QueryEngineType. If the
query engine cannot handle the given query a QueryException may be thrown
during query execution. Users are recommended to use
create(Query, Dataset, QuerySolution)query - the querydataset - the target of the queryinitialBinding - used for parametrized queriesqueryEngineType - type of the query engine that will be used to answer the queryhandleVariableSPO - If this variable is true then queries with variable SPO
statements are not handled by the SPARQL-DL engine but fall
back to ARQQueryExecution that will answer the query with the
given datasetorg.apache.jena.query.QueryExceptionpublic static org.apache.jena.query.QueryExecution create(org.apache.jena.query.Query query,
org.apache.jena.rdf.model.Model model)
query - the querymodel - the target of the queryQueryExecution that will answer the query with the
given modelorg.apache.jena.query.QueryException - if the given model is not associated with Pellet reasonerpublic static org.apache.jena.query.QueryExecution create(org.apache.jena.query.Query query,
org.apache.jena.query.Dataset dataset)
SparqlDLExecutionFactory.QueryEngineType that can answer the given query.query - the querydataset - the target of the queryQueryExecution that will answer the query with the
given datasetSparqlDLExecutionFactory.QueryEngineTypepublic static org.apache.jena.query.QueryExecution create(org.apache.jena.query.Query query,
org.apache.jena.rdf.model.Model model,
org.apache.jena.query.QuerySolution initialBinding)
SparqlDLExecutionFactory.QueryEngineType that can answer the given query.query - the querymodel - the target of the queryinitialBinding - initial binding that will be applied before query execution or
null if there is no initial bindingQueryExecution that will answer the query with the
given datasetSparqlDLExecutionFactory.QueryEngineTypepublic static org.apache.jena.query.QueryExecution createPelletExecution(org.apache.jena.query.Query query,
org.apache.jena.rdf.model.Model model)
create functions.query - the querymodel - the target of the queryQueryExecution that will answer the query with the
given modelSparqlDLExecutionFactory.QueryEngineTypepublic static org.apache.jena.query.QueryExecution createPelletExecution(org.apache.jena.query.Query query,
org.apache.jena.rdf.model.Model model,
org.apache.jena.query.QuerySolution initialBinding)
create functions.query - the querymodel - the target of the queryinitialBinding - initial binding that will be applied before query execution or
null if there is no initial bindingQueryExecution that will answer the query with the
given modelSparqlDLExecutionFactory.QueryEngineTypepublic static org.apache.jena.query.QueryExecution createPelletExecution(org.apache.jena.query.Query query,
org.apache.jena.query.Dataset dataset)
create functions.query - the querydataset - the target of the queryinitialBinding - initial binding that will be applied before query execution or
null if there is no initial bindingQueryExecution that will answer the query with the
given datasetSparqlDLExecutionFactory.QueryEngineTypepublic static org.apache.jena.query.QueryExecution createPelletExecution(org.apache.jena.query.Query query,
org.apache.jena.query.Dataset dataset,
org.apache.jena.query.QuerySolution initialBinding)
create functions.query - the querydataset - the target of the queryinitialBinding - initial binding that will be applied before query execution or
null if there is no initial bindingQueryExecution that will answer the query with the
given datasetSparqlDLExecutionFactory.QueryEngineTypepublic static org.apache.jena.query.QueryExecution createBasicExecution(org.apache.jena.query.Query query,
org.apache.jena.rdf.model.Model model)
createPelletExecution(Query, Model) insteadpublic static org.apache.jena.query.QueryExecution createBasicExecution(org.apache.jena.query.Query query,
org.apache.jena.query.Dataset dataset)
createPelletExecution(Query, Dataset) insteadCopyright © 2019. All rights reserved.