|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.clarkparsia.pellet.sparqldl.jena.SparqlDLExecutionFactory
public class SparqlDLExecutionFactory
Title:
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
Nested Class Summary | |
---|---|
static class |
SparqlDLExecutionFactory.QueryEngineType
Different types of query engine that can be used for answering queries. |
Constructor Summary | |
---|---|
SparqlDLExecutionFactory()
|
Method Summary | |
---|---|
static com.hp.hpl.jena.query.QueryExecution |
create(com.hp.hpl.jena.query.Query query,
com.hp.hpl.jena.query.Dataset dataset)
Creates a QueryExecution by selecting the most appropriate SparqlDLExecutionFactory.QueryEngineType that can answer the given query. |
static com.hp.hpl.jena.query.QueryExecution |
create(com.hp.hpl.jena.query.Query query,
com.hp.hpl.jena.query.Dataset dataset,
com.hp.hpl.jena.query.QuerySolution initialBinding)
Creates a QueryExecution by selecting the most appropriate SparqlDLExecutionFactory.QueryEngineType that can answer the given query. |
static com.hp.hpl.jena.query.QueryExecution |
create(com.hp.hpl.jena.query.Query query,
com.hp.hpl.jena.query.Dataset dataset,
com.hp.hpl.jena.query.QuerySolution initialBinding,
SparqlDLExecutionFactory.QueryEngineType queryEngineType)
Creates a QueryExecution with the given SparqlDLExecutionFactory.QueryEngineType . |
static com.hp.hpl.jena.query.QueryExecution |
create(com.hp.hpl.jena.query.Query query,
com.hp.hpl.jena.query.Dataset dataset,
com.hp.hpl.jena.query.QuerySolution initialBinding,
SparqlDLExecutionFactory.QueryEngineType queryEngineType,
boolean handleVariableSPO)
Creates a QueryExecution with the given SparqlDLExecutionFactory.QueryEngineType . |
static com.hp.hpl.jena.query.QueryExecution |
create(com.hp.hpl.jena.query.Query query,
com.hp.hpl.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 com.hp.hpl.jena.query.QueryExecution |
create(com.hp.hpl.jena.query.Query query,
com.hp.hpl.jena.rdf.model.Model model,
com.hp.hpl.jena.query.QuerySolution initialBinding)
Creates a QueryExecution by selecting the most appropriate SparqlDLExecutionFactory.QueryEngineType that can answer the given query. |
static com.hp.hpl.jena.query.QueryExecution |
createBasicExecution(com.hp.hpl.jena.query.Query query,
com.hp.hpl.jena.query.Dataset dataset)
Deprecated. Use createPelletExecution(Query, Dataset) instead |
static com.hp.hpl.jena.query.QueryExecution |
createBasicExecution(com.hp.hpl.jena.query.Query query,
com.hp.hpl.jena.rdf.model.Model model)
Deprecated. Use createPelletExecution(Query, Model) instead |
static com.hp.hpl.jena.query.QueryExecution |
createPelletExecution(com.hp.hpl.jena.query.Query query,
com.hp.hpl.jena.query.Dataset dataset)
Creates a Pellet query engine that will answer the given query. |
static com.hp.hpl.jena.query.QueryExecution |
createPelletExecution(com.hp.hpl.jena.query.Query query,
com.hp.hpl.jena.query.Dataset dataset,
com.hp.hpl.jena.query.QuerySolution initialBinding)
Creates a Pellet query engine that will answer the given query. |
static com.hp.hpl.jena.query.QueryExecution |
createPelletExecution(com.hp.hpl.jena.query.Query query,
com.hp.hpl.jena.rdf.model.Model model)
Creates a Pellet query engine that will answer the given query. |
static com.hp.hpl.jena.query.QueryExecution |
createPelletExecution(com.hp.hpl.jena.query.Query query,
com.hp.hpl.jena.rdf.model.Model model,
com.hp.hpl.jena.query.QuerySolution initialBinding)
Creates a Pellet query engine that will answer the given query. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SparqlDLExecutionFactory()
Method Detail |
---|
public static com.hp.hpl.jena.query.QueryExecution create(com.hp.hpl.jena.query.Query query, com.hp.hpl.jena.query.Dataset dataset, com.hp.hpl.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 binding
QueryExecution
that will answer the query with the
given datasetSparqlDLExecutionFactory.QueryEngineType
public static com.hp.hpl.jena.query.QueryExecution create(com.hp.hpl.jena.query.Query query, com.hp.hpl.jena.query.Dataset dataset, com.hp.hpl.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 query
QueryExecution
that will answer the query with the
given datasetpublic static com.hp.hpl.jena.query.QueryExecution create(com.hp.hpl.jena.query.Query query, com.hp.hpl.jena.query.Dataset dataset, com.hp.hpl.jena.query.QuerySolution initialBinding, SparqlDLExecutionFactory.QueryEngineType queryEngineType, boolean handleVariableSPO) throws com.hp.hpl.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 ARQ
QueryExecution
that will answer the query with the
given dataset
com.hp.hpl.jena.query.QueryException
public static com.hp.hpl.jena.query.QueryExecution create(com.hp.hpl.jena.query.Query query, com.hp.hpl.jena.rdf.model.Model model)
query
- the querymodel
- the target of the query
QueryExecution
that will answer the query with the
given model
com.hp.hpl.jena.query.QueryException
- if the given model is not associated with Pellet reasonerpublic static com.hp.hpl.jena.query.QueryExecution create(com.hp.hpl.jena.query.Query query, com.hp.hpl.jena.query.Dataset dataset)
SparqlDLExecutionFactory.QueryEngineType
that can answer the given query.
query
- the querydataset
- the target of the query
QueryExecution
that will answer the query with the
given datasetSparqlDLExecutionFactory.QueryEngineType
public static com.hp.hpl.jena.query.QueryExecution create(com.hp.hpl.jena.query.Query query, com.hp.hpl.jena.rdf.model.Model model, com.hp.hpl.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 binding
QueryExecution
that will answer the query with the
given datasetSparqlDLExecutionFactory.QueryEngineType
public static com.hp.hpl.jena.query.QueryExecution createPelletExecution(com.hp.hpl.jena.query.Query query, com.hp.hpl.jena.rdf.model.Model model)
create
functions.
query
- the querymodel
- the target of the query
QueryExecution
that will answer the query with the
given modelSparqlDLExecutionFactory.QueryEngineType
public static com.hp.hpl.jena.query.QueryExecution createPelletExecution(com.hp.hpl.jena.query.Query query, com.hp.hpl.jena.rdf.model.Model model, com.hp.hpl.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 binding
QueryExecution
that will answer the query with the
given modelSparqlDLExecutionFactory.QueryEngineType
public static com.hp.hpl.jena.query.QueryExecution createPelletExecution(com.hp.hpl.jena.query.Query query, com.hp.hpl.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 binding
QueryExecution
that will answer the query with the
given datasetSparqlDLExecutionFactory.QueryEngineType
public static com.hp.hpl.jena.query.QueryExecution createPelletExecution(com.hp.hpl.jena.query.Query query, com.hp.hpl.jena.query.Dataset dataset, com.hp.hpl.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 binding
QueryExecution
that will answer the query with the
given datasetSparqlDLExecutionFactory.QueryEngineType
public static com.hp.hpl.jena.query.QueryExecution createBasicExecution(com.hp.hpl.jena.query.Query query, com.hp.hpl.jena.rdf.model.Model model)
createPelletExecution(Query, Model)
instead
public static com.hp.hpl.jena.query.QueryExecution createBasicExecution(com.hp.hpl.jena.query.Query query, com.hp.hpl.jena.query.Dataset dataset)
createPelletExecution(Query, Dataset)
instead
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |