ISO15926 - Step 1: Semantic Web and the SPARQL protocol

by 15. April 2009 07:23

As a member of the ISO 15926 IDS-ADI (international) development team for the IRING project I have to ramp up on the various technologies involved - Step 1 of what will probably be an ongoing series is getting the Joseki Service installed so we can start talking SPARQL.

RDF Primer    SPARQL Query Language for RDF

How do  you eat an elephant "one bite at a time" Smile and ISO15926 can be quite the elephant. So where do you start?  I'm told by the gurus that the place to start is by playing with the SPARQL Endpoint and SPARKQL Protocol  To do this you will have some installation steps to comply with.

If you go to the Documentation | Quickstart link you will be greeted with the following:

  • Unzip the distribution.
  • cd to the root of the distribution.
  • Linux/Cybgwin: Make the scripts executable (e.g. chmod u+x bin/*)
  • Set the JOSEKIROOT environment variable to the location of the installation.
  • Run the script rdfserver (bin/ or bat/). This will run an HTTP server on port 2020.
  • Go to http://localhost:2020/
  • It really is as simple as that but much knowledge is assumed so I'll fill in the blanks with step-by-step information

    1. Ensure you have JAVA installed - it can be downloaded from

    2. Unzip the distribution - for the sake of these instructions I downloaded and unziped the "distribution" to C:\Projects\Joseki-3.3.0

    Note: this is the Windows Environment - I am using Windows 7

    3. Set the JOSEKIROOT environment variable to the location of the installation as follows:

    + Click on  Start | Control Panel | System and click the "Environment Variable" Button

      + Click "New" and enter the applicable information as shown below:

     + Now we're going to edit the "Path" environment variable and append the path to our newly installed Java application.  I am have an X64 system so it will have the c:\program files (x86) path.  Note that paths are delimited by a semicolon so be sure to prefix your path with a semicolon.


    4. Run the script rdfserver (bin/ or bat/). This will run an HTTP server on port 2020.

    If you attempt to execute the rdfserver.bat file directly (in the bin folder) the screen will flash before you.  Placing a "pause" command at the end of the batch file will result in the following:

    This will require you to launch a "Command Prompt" and then perform a Change Directory (CD) command to access the command. i.e.,

    CD C:\Projects\Joseki-3.3.0

    This of course assumes you are on the C: drive.  If you are not type in the following and you will be

    C: <ENTER>

    Note below in my screen shot that I went to the actual "Bin" folder.  I then do a CD .. which tells DOS to backup one folder effectively placing me in the proper folder.  I then can execute the RDFServer.bat file using the following command:


    Which effectively loads my SPARKL Server for Jena

    With your web server up and running (shown above) you can now load your browser and go to the URL

    http://localhost:2020 and see the following - you are ready to play!


    Blog videos and references to CodePlex projects are no longer valid