fr.inrialpes.exmo.queryprocessor
Interface QueryProcessor
- All Known Implementing Classes:
- QueryMediator
public interface QueryProcessor
- Author:
- Arun Sharma
query
Result query(String query,
Type type)
- Parameters:
query
- -- The query stringtype
- -- The query type, can be one of SELECT, ASK, CONSTRUCT, or DESCRIBE
- Returns:
- Result, result form depends on type
query
Result query(String query)
- Parameters:
query
- -- The query string
queryWithStringResults
String queryWithStringResults(String query)
- Parameters:
query
- -- The query string
- Returns:
- query results as string
getType
int getType(String query)
- Parameters:
query
- -- the query string
- Returns:
- the type of the query
loadOntology
void loadOntology(String uri)
(C) INRIA & friends, 2003-2008