Alignment API and Server 3.2

fr.inrialpes.exmo.queryprocessor
Interface QueryProcessor

All Known Implementing Classes:
QueryMediator

public interface QueryProcessor

Author:
Arun Sharma

Method Summary
 int getType(String query)
           
 void loadOntology(String uri)
           
 Result query(String query)
           
 Result query(String query, Type type)
           
 String queryWithStringResults(String query)
           
 

Method Detail

query

Result query(String query,
             Type type)
Parameters:
query - -- The query string
type - -- 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)

Alignment API and Server 3.2

(C) INRIA & friends, 2003-2008