1 / 12

Jsimparser with ReL

Jsimparser with ReL. Arit Paul and Chris Hitte. SIM vs SQL. SQL is a subset of SIM SIM has the added functionality of: Classes Subclasses. Overview of Changes. Preserved existing SIM and SQL functionality of ReL Created jsimparser Modified PyTuple.java to call jsimparser

chung
Download Presentation

Jsimparser with ReL

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Jsimparser with ReL Arit Paul and Chris Hitte

  2. SIM vs SQL • SQL is a subset of SIM • SIM has the added functionality of: • Classes • Subclasses

  3. Overview of Changes • Preserved existing SIM and SQL functionality of ReL • Created jsimparser • Modified PyTuple.java to call jsimparser • Modified Python.g to pass concrete syntax • Created SIMVisitor

  4. Created Classes • Class.java • EVA.java • EVAAttribute.java • DVA.java • DVAAttribute.java • Insert.java • Assignment.java • Modify.java • Retrieve.java • AttributePath.java

  5. JSimparser • Created JSIMparser based on JSQLparser • JSIMparser: • Accepts concrete syntax from PyTuple.java • Stores parsed data in instances of our newly defined classes • Builds AST from the instances • AST is visited by SIMVisitor

  6. JSimparser

  7. SIMVisitor • Created SIMVisitor based on SIMHelper and SQLVisitor • SIMVisitor: • PyTuple passes the AST to SIMVisitor • Visits the nodes of the AST produced by JSIMparser • Pulls key data from these nodes • Builds an equivalent SPARQL statement • SPARQLDoer executes this statement

  8. PyTuple

  9. ... In class visitor ... EVA and DVA visitor call correct SPARQL

  10. SIMDemo.py • Class • Subclass • Insert • Modify • Retrieve

  11. Q&A

  12. Concrete Syntax from Python.g SPARQL conversion Result of retrieve

More Related