public class QueryEngine extends Object
Title: Query Engine for SPARQL-DL
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
| Modifier and Type | Field and Description |
|---|---|
static Logger |
log |
static CoreStrategy |
STRATEGY |
| Constructor and Description |
|---|
QueryEngine() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkGround(QueryAtom atom,
KnowledgeBase kb) |
static QueryResult |
exec(Query query) |
static QueryResult |
exec(Query query,
KnowledgeBase kb) |
static boolean |
execBooleanABoxQuery(Query query)
Executes all boolean ABox atoms
|
static QueryExec |
getQueryExec() |
static CoreStrategy |
getStrategy(QueryAtom core) |
static List<Query> |
split(Query query)
If a query has disconnected components such as C(x), D(y) then it should
be answered as two separate queries.
|
static boolean |
supports(Query query,
KnowledgeBase kb) |
public static Logger log
public static CoreStrategy STRATEGY
public static QueryExec getQueryExec()
public static boolean supports(Query query, KnowledgeBase kb)
public static QueryResult exec(Query query, KnowledgeBase kb)
public static QueryResult exec(Query query)
public static List<Query> split(Query query)
query - Query to be splitpublic static CoreStrategy getStrategy(QueryAtom core)
public static boolean execBooleanABoxQuery(Query query)
query - public static boolean checkGround(QueryAtom atom, KnowledgeBase kb)
Copyright © 2019. All rights reserved.