1 / 20

Eclipse for Jena & ARQ

Eclipse for Jena & ARQ. File needed. Jena-2.5.5 ( http://jena.sourceforge.net/downloads.html ) ARQ-2.2 ( http://jena.sourceforge.net/ARQ/download.html ) Eclipse ( http://www.eclipse.org/downloads/ ). Part I. Create a java project. 1. Open Eclipse and create a new project.

Télécharger la présentation

Eclipse for Jena & ARQ

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. Eclipse for Jena & ARQ

  2. File needed • Jena-2.5.5(http://jena.sourceforge.net/downloads.html) • ARQ-2.2 (http://jena.sourceforge.net/ARQ/download.html) • Eclipse (http://www.eclipse.org/downloads/)

  3. Part I. Create a java project

  4. 1. Open Eclipse and create a new project

  5. 2. Select java project

  6. 3. Define a project name then click finish

  7. 5. Copy lib folder in Jena-2.5.5 to the project folder (the default path is c:\users\{yourname}\workspace\{project name}) 6. Copy jena folder in Tutorial folder to src folder under your project folder 7. Right click the project folder in Eclipse and refresh it

  8. Part II. Add library files to project

  9. 8. Right click the project folder in Eclipse and select Properties

  10. 9. Go to Java Build Path> Libraries

  11. 10. Click Add JARs… and select all the jar file in lib folder

  12. 11. Click OK to finish adding jar library

  13. Part III. Run Jena Program

  14. 12. Select a java program, right click, select Run As> Java Application

  15. Part IV. Run ARQ Program

  16. 13. Create a folder named arq under folder src of your project folder 14. Copy sparql.java in ARQ-2.2\src\arq folder to the folder you’ve just created 15. Copy vc-db-1.rdf and arq file in the Tutorial folder to your project folder 16. Copy the files in lib folder under ARQ-2.2 folder to lib folder under your project older 17. Refresh the project folder in Eclipse and open sparql.java

  17. 18. Right click the sparql.java file and select Run Configurations…

  18. 19. Go to Arguments and type “--data vc-db-1.rdf --query arq\q1.rq” 20. Click Apply, Click Run

  19. Appendix. Final Project

More Related