ReL Components CodeCompiler.java Python.g AST The Python grammar was changed to include SIM, SQL, Prolog, and ASP statements. Visitor Interpreter Runtime Stack PyTuple.java jSIMParser There is no jSIMParser to parse SIM statements like jSQLParser for SQL but I hope one will be built as a project. SIMHelper.java SIMHelper produces appropriate SPARQL statements for the SIM statements which are sent to SPARQLDoer. ------------ jSQLParser parses SQL statements from PyTuple and produces an AST that can be visited. SQLVisitor.java SPARQLDoer.java Oracle DBMS Dr. Philip Cannata 1 jSQLParser parseSIM() parseSIM parses SIM statements from PyTuple and produces and passes AS information to SIMHelper. The Tuple entry in CodeCompiler was modified to deal with putting SIM, SQL, Prolog, and ASP information and expressions on the runtime stack and to assure that a new instance of PyTuple is created after the expressions are evaluated. SQLVisitor visits the jSQLParser AST and produces appropriate SPARQL statements for the SQL statements which are sent to SPARQLDoer.