eRqlEngine API documentation - http://www.wleklinski.de/rdf/

eworks.eRQL.engine
Class eRqlEngine

java.lang.Object
  extended byeworks.eRQL.engine.eRqlEngine

public class eRqlEngine
extends Object

eRqlEngine is a prototype implementation of an eRQL processor - a new query language for RDF. Details on eRQL can be obtained at http://www.dbis.informatik.uni-frankfurt.de/~tolle/RDF/eRQL/ and http://www.wleklinski.de/rdf/. Details on RDF are available at http://www.w3.org/RDF/.

eRqlEngine eRQL = new eRqlEngine();
eworks.RDF.model.Tuples result = null;
try {
    result=eRQL.query(new java.io.File("C:\input.rdf"),"~~ Pablo Picasso");
} catch(Exception e) {
    System.out.println(e);
}

Version:
1.00 (2003-11-03)
Author:
Fabian Wleklinski (fabian@wleklinski.de)

Constructor Summary
eRqlEngine()
          Constructs an eRqlEngine-instance.
eRqlEngine(OutputStream output)
          Constructs an eRqlEngine-instance and sets the output-stream for printing error- and debug-messages.
 
Method Summary
 Tuples query(File rdfFile, String queryString)
          Evaluates the eRQL query queryString.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

eRqlEngine

public eRqlEngine(OutputStream output)
Constructs an eRqlEngine-instance and sets the output-stream for printing error- and debug-messages.

Parameters:
output - Output-stream for printing error- and debug-messages.

eRqlEngine

public eRqlEngine()
Constructs an eRqlEngine-instance.

Method Detail

query

public Tuples query(File rdfFile,
                    String queryString)
             throws Exception
Evaluates the eRQL query queryString.

Parameters:
rdfFile - The RDF file to query.
queryString - The query string to query.
Returns:
The tuples that match the query.
Throws:
Exception

eRqlEngine API documentation - http://www.wleklinski.de/rdf/