|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FluxionService
A service that exposes data to the Fluxion stack.
The service is responsible for returning results for queries. The way that it evaluates the query is captured by and . The captures both the result and the details of the context within which the query was evaluated, allowing clients to potentially reason over caches of results.
| Method Summary | |
|---|---|
java.util.Set<java.net.URI> |
getDataSources()
All data sources that this service publishes. |
java.net.URI |
getId()
A human-readable URI-based service ID |
java.net.URI |
getReasonerLevel(java.net.URI dataSource)
The minimum reasoning capabilities that the service will use when matching queries against the data source. |
org.semanticweb.owl.model.OWLOntology |
getSchema(java.net.URI dataSource)
A schema that acts as an upper-bounds on the entities that could possibly be retreived from this service. |
org.semanticweb.owl.model.OWLOntology |
query(java.net.URI dataSource,
java.net.URI queryClass,
org.semanticweb.owl.model.OWLOntology queryOntology)
Execute a query. |
| Method Detail |
|---|
java.net.URI getId()
java.util.Set<java.net.URI> getDataSources()
throws DataSourceException
DataSourceException
java.net.URI getReasonerLevel(java.net.URI dataSource)
throws DataSourceException
dataSource - the being operated upon
DataSourceException - if the data source is not known by this service or if there
was an error connecting to the data source
org.semanticweb.owl.model.OWLOntology getSchema(java.net.URI dataSource)
throws DataSourceException
dataSource - the being operated upon
DataSourceException - if the data source is not known by this service or if there
was an error connecting to the data source
org.semanticweb.owl.model.OWLOntology query(java.net.URI dataSource,
java.net.URI queryClass,
org.semanticweb.owl.model.OWLOntology queryOntology)
throws DataSourceException
dataSource - the being operated uponqueryClass - the qualified name of the class from the specified ontology
for which instances should be foundqueryOntology - the ontology containing the specified query class
DataSourceException - if the data source is not known by this service or if there
was an error connecting to the data source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||