Home

ANNEX 4: THEMIS USER MANUAL

image

Contents

1. Be B S QU CREATE TABLE COMPANY id VARCHAR 100 NOT NULL name VARCHAR 100 NOT NULL description VARCHAR 200 2005 2006 The ATHENA Consortium 3 ONT2 Ontology based support to Enterprise Interoperability THEMIS manual timestamp PRIMARY KEY i DATE NOT NULL id CREATE UNIQUE INDEX COMPANY_UI ON COMPANY name CREATE TABLE USER id VARCHA companyID VARCHAR 100 NOT NULL password VA name VARCHA description role INTEGE timestamp PRIMARY KI CREAT Gl 2 EY R 100 NOT NULL RCHAR 100 NOT NULL R 100 NOT NULL VARCHAR 200 R 1 DATE NOT NULL id r UNIQUE INDEX USER_UI ON USER companyID name CREATE TABLE RDFJOB id VARC userlD VA name VARCHAR 100 NOT NULL HA RC R 100 NOT NULL HAR 100 NOT NULL description VARCHAR 200 timestamp DATE NOT NULL PRIMARY KEY ia E CREATE UNIQUE INDEX RDFJOB_UI ON RDFJOB userID name CREATE TABLE RDF id VARCHAR 100 NOT NULL rdfJobID VARCHAR 100 NOT NULL modelName VARCHAR 100 NOT NULL description VARCHAR 200 timestamp DATE NOT NULL url VARC HA PRIMARY KI 5 EY R 100 id E CREATE UNIQUE INDEX RDF_UI ON RDF rdfJobID modelName CREATE TABLE SRVREL id VARCHAR 100 NOT NULL rdfID VARCHAR 100 NOT NUL
2. sens lt rdfs Class rdf ID PartyName gt Description lt rdfs Class rdf ID PartyTaxScheme gt Model lt rdfs Class rdf ID TaxScheme gt related URI Ho lt rdfs Class rdf ID Delivery gt lt rdfs Class rdf ID OrderLine gt lt rdfs Class rdf ID Lineltem gt lt rdfs Class rdf ID Item gt lt rdfs Class rdf ID StandardItemIdentification gt search lt rdfs Class rdf ID MeasurementDimension gt v z r Model sl Internet cA z Srup wi 5 Annex TH It R Figure 5 RDFS visualization and new WS endpoint creation form 1 4 FAQs Why do you use JBoss and not a lighter application server such as Tomcat or Jetty JBoss is an open source project hosted by Sourceforge and its web container is the famous Tomcat It is more extensible easily deployable without any particular installation and allows using data sources in order to implement a perfect three layer architecture ensuring the abstraction from particular DBMS Is it possible to use different databases THEMIS is built using standard Java JDBC based libraries that allow using different databases Also Jena permits to deploy its persistency layer over different types of DBMS During the development MySQL has been chosen because it is free it is easily deployable and contains advanced features Why do you use Jena for storing the models Obviously the RDF models are written in RDF which follows th
3. 105 0 a BJ Be D 15 36 Figure 2 THEMIS login page 4 Store a new RDFS document a Anew RDFS has to be included into an existing Job so create first a new Job clicking on your user name folder on the tree in the Job list frame b In the main view appears a form for adding a new Job c Complete the form and click on the Add button 2005 2006 The ATHENA Consortium ONT2 Ontology based support to Enterprise Interoperability THEMIS manual THEMIS By Gruppo Formula Research Group Microsoft Internet Explorer File Edit View Favorites Tools Help Oek OS HAA Asah krate 3 H 03 Address ES http 127 0 0 1 8080 themisv05 servlet loginConfirm user g8password g8 company g European Integrated Projecte lava Script Tres MA a User details amp My THEMIS a User name Lorenzo Pondrelli aa User quest User description ATHENA user amp Job Role Normal user Model model2 Company Gruppo Formula Model model4 Company description Research group ES Job Job 1 eae EA Company Gruppo Formula e Job name a lt lt User ID 6769877999867 432xe4 Name Description Role Normal user Creation 27 01 2006 Existing Jobs for this user Job name example 1 Job description This is the first example Model search Job name example 2 d The new Job has been added to the Job list e Click on the new Job folder In the
4. has been developed under the funding of the EC with the support of the EC ATHENA IP Project A Information Society Disclaimer and Copyright Notice Permission is granted without fee for personal or educational non profit use previous notification is needed For notification purposes please address to the ATHENA Training Programme Chair at rg uninova pt In other cases please contact at the same e_mail address for use conditions Some of the figures presented in this course are freely inspired by others reported in referenced works sources For such figures copyright and all rights therein are maintained by the original authors or by other copyright holders It is understood that all persons copying these figures will adhere to the terms and constraints invoked by each copyright holder 2005 2006 The ATHENA Consortium 13
5. main window appears a new form for adding RDFS You can add an RDFS stored in your file system or load it from an existing URL O 2005 2006 The ATHENA Consortium 8 ONT2 Ontology based support to Enterprise Interoperability THEMIS manual THEMIS By Gruppo Formula Research Group Microsoft Internet Explorer File Edit View Favorites Tools Help a Gack gt OMB GD Asah krate 8 3 H Dh 3 Address E http 1127 0 0 1 8080 themisv05 servlet loginConfirm user g8password g8company g M ATHENA THEMIS AFORMULA lwe know how pt Tre Job details z My THEMIS Job name Lorenzo Pondrelli 7 User quest Job description ATHENA user Model model r Modeli madali New Model ES Job Job 1 E Job Job 1 Model URI http thisthemis 578527899 tt4434543 iS WS rel Johnson end point 1 Model name CACA O A Job List SE Company Gruppo Formula Model description 3 EMS User User 3 original URL http example originaldoc Model related URL 8943098409 u574 564 a Modelretteatype TV Name d Desert 7 Creation 27 01 2006 Model search Models related to this Job Model name Model 1 Model UR www example com RDF000000001 wi i gl Figure 4 Adding a new model g The new model is stored into the database and its link appears in the Job list under the folder of its Job h Clicking on that model link now is po
6. L serviceUR timestamp I PRIMARY KEY VARCHAR 100 NOT NULL DATE NOT NULL id F CREATE UNIQUE INDEX SRVREL_UI ON SRVREL rdfID serviceURI CREATE TABLE MODREL id VARCHAR 100 NOT NULL rdfID VARCHAR 100 NOT NULL modelURI VARCHAR 100 NOT NULL modelType descripti timestamp PRIMARY KI i on EY VARCHAR 100 NOT NULL VARCHAR 200 DATE NOT NULL id CREATE UNIQUE INDEX MODREL_UI ON MODREL rdfID modelURI Setup the JBoss data source O 2005 2006 The ATHENA Consortium ONT2 Ontology based support to Enterprise Interoperability THEMIS manual In order to allow the usage of different kinds of databases the connection to the DB is managed by the tool via a JBoss data source Find the deploy folder of your JBoss installation where you have putted the THEMIS war file if for instance your JBoss is installed into C JBoss4 0 3 you can find that folder in the path C JBoss4 0 3 server default deploy If a previous version of the data source file does not exist the first step is the creation of an XML file called jdbc ds xml into the deploy folder Add to the jdbc ds xml file a new data source like the following XML lt datasources gt lt local tx datasource gt lt 3ndi name gt dataDB lt 3jndi name gt lt connectionurl gt jdbc mysal localhost themisdb1 lt connection url gt lt driver class gt com mysql jdb
7. ONT2 Ontology based support to Enterprise Interoperability THEMIS manual ANNEX 4 THEMIS USER MANUAL s European Integrated Projects Activity B6 Training 2005 2006 The ATHENA Consortium ONT2 Ontology based support to Enterprise Interoperability THEMIS manual THEMIS USER MANUAL Howto set Up andron THEMIS ba gece testes skeetv A Besser ons imate 3 1 1 REQUWIFEMIGIIS 3 45 iii eb edie 3 1 1 1 TS Install THEMISTO0l 000 eee ee ee oe At Se 3 1 1 2 AIN THEM A aeis eee O eee 3 1 1 3 OTUATHEM SIE 5 1 2 RUN I mina seer pret ee A so e a a a a ada 6 1 3 TEST TSS STH CAT OTe a 6 1 5 KAOWM ISSUES cc cnc82 maricon Idle bie sovetedy sous did ina 1 1 6 Used Configura dba 11 2 A A NS 12 Ack owedgement eric iii tatiana tatiana 13 O 2005 2006 The ATHENA Consortium 2 ONT2 Ontology based support to Enterprise Interoperability THEMIS manual 1 How to set up and run THEMIS 1 1 Requirements 1 1 1 To install THEMIS tool If you do not have a previous installation of the THEMIS tool Install a JDK Get J2SE version 1 4 2 SDK or higher from http java sun com j2se Set the JAVA_HOME environment variable Start Control Panel System Properties gt Advanced gt Environment Variables to point to the JDK installation directory e g C java j2sdk1 4 2_05 Install a JBoss Get JBoss J2EE application server version 4 0 x from http www boss org Copy the JBoss folder into your system In
8. c Driver lt driver class gt lt user name gt root lt user name gt lt password gt root lt password gt lt local tx datasource gt lt datasources gt The fields in red have to be filled with your own DB installation parameters lt connectionurl gt Should include the exact sub protocol including type of connector the type of DB and the adaress of the DB server lt driver class gt The name of the Java connector for the specific DB lt user name gt and lt password gt Authentication parameters to access to the THEMIS DB instance 1 1 3 To run THEMIS Start the DBMS Start the database management system if it is not still running Normally on Window the DBMS are installed as automatic service and starts automatically Start JBoss If you do not have set the JAVA path in your system a Windows 2000 XP users may set their path by right clicking on My Computer and selecting Properties Under the Advanced tab there is a button that allows you to set the Environment variables Click on this and alter the Path variable so that it also contains the path to the Java executable For example if you have installed Java in c jdk and your path is currently set to C WINDOWS SYSTEM32 then you would change your path to read C WINDOWS SYSTEM32 c jdk bin b Windows 95 98 ME users may find that their path variable is stored in a different place Edit the c autoexec bat file and add the following line at
9. e XML syntax so it is possible to use different storage systems but using Jena 2 the documents are stored as triples in an efficient and flexible way permitting also to export them in different formats 2005 2006 The ATHENA Consortium 10 ONT2 Ontology based support to Enterprise Interoperability THEMIS manual 1 5 Known Issues e THEMIS versions support The THEMIS tool is not tested with versions 3 x or lower of JBoss it is tested only with version 4 x and 5 0 of MySQL and JDK 1 4 2 or 1 5 so it is possible to get problems installing the tool in older and newer versions of those components 1 6 Used Configuration The examples in this document were tested with the following configuration Java version 1 5 0 upgrade 6 JBoss 4 0 3 MySQL 5 0 Win XP pro SP 1 2005 2006 The ATHENA Consortium 11 ONT2 Ontology based support to Enterprise Interoperability THEMIS manual 2 References 1 Java home page hitp java sun com j2se 2 JBoss home page http www jboss org 3 MySQL home page Hitp www mysql org 4 Jena 2 home page Http ena sourceforge net O 2005 2006 The ATHENA Consortium ONT2 Ontology based support to Enterprise Interoperability THEMIS manual Acknowledgement The editors of this book acknowledge the following organizations for providing and revising the contents of this book UNINOVA SAP ESI TROUX DFKI TXT Formula AIDIMA SINTEF INTRACOM CRF FIAT and EADS This course
10. s O B OUA C THEMIS Grommua we know how Version 1 0 by Gruppo Formula Research Group division of Gruppo Formula developed within the Athena Project THEMIS is the Athena RDF models repository If you don t have an account you need to contact the THEMIS administrator lorenzo pondrelli formula it Tf you already have an account please click on the Enter the system image If you want to know more about THEMIS you may start reading the THEMIS User Manual ce a Enter the system Download the manual For any further information contact lorenzo pondre ll formula it za start 186408 Groicrormurajat g D 43 5 Annex TH E Jena 2 Inference E menus By Gru Y netBeans 10E 5 0 a Hna 15 33 Figure 1 THEMIS home page 3 Insert your authentication parameters company username and password 2005 2006 The ATHENA Consortium 6 ONT2 Ontology based support to Enterprise Interoperability THEMIS manual Z THEMIS By Gruppo Formula Research Group Microsoft Internet Explorer le x File Edt View Favorites Tools Help Address hetp jflocalhost 8089 THEMIS war login jsp Eo fr Qe i lz 0 sere Favores Or h B 00 3 THEMIS Company formulal User Password El Done POE POT TO Local intranet start 1004008 Coorcrormarr 7D 83 5 Amex TH Jena 2 Inference E THEMIS By Gru Y NetBeans
11. ssible to visualize the model using different styles or add Web services endpoints link in order to connect the schemas to the message gateways such as Johnson for preparing the tool to support the run time execution of semantic mediator like ARES 2005 2006 The ATHENA Consortium 9 ONT2 Ontology based support to Enterprise Interoperability THEMIS manual 3 THEMIS By Gruppo Formula Research Group Microsoft Internet Explorer File Edit View Favorites Tools Help ay s O la Asch Favorites 3 H O 3 Address http 127 0 0 1 8080 themisvO5 servlet loginConfirm user g8password g8 company g v Eo Links European Integrated Projecte H E M IS Settings Help amp My THEMIS Service Endpoint URL EXA User quest ES Job 8 Model model2 9 Model model4 ES Job Job 1 a F i iad a lt xml version 1 0 encoding UTF 8 gt E ad b Job1 lt rdf RDF xmins rdf http www w3 org 1999 02 22 rdf syntax ns 8 WS rel Johnson end point 1 3 xminsirdfs http www w3 org 2000 01 rdf schema gt E3 Company Gruppo Formula lt rdfs Class rdf ID Order gt s gt lt rdfs Class rdf ID BuyerParty gt vat User Usera he lt rdfs Class rdf ID Party gt lt rdfs Class rdf ID Address gt 5 lt rdfs Class rdf ID Country gt Model ID 8778572439 uu7534543 erdfs Class rdf ID Contact gt Name gt lt rdfs Class rdf ID 0thercommunication gt
12. stall a MySQL instance Get MySQL version 4 x or 5 x recommended from http www mysal org If you have already installed on your machine a different version or you have a different kind of database you can use it changing the data source parameters Section 1 1 2 1 1 2 To deploy THEMIS Install the Java Runtime Environment JRE If you do not have installed a J2SE SDK that already includes the JRE get the J2SE 1 4 2 JRE from http java sun com j2se Deploy the WAR file into the application server Find the deploy folder of your JBoss installation and put there the themis war file containing all the necessary resources for running the software if for instance your JBoss is installed into C JBoss4 0 3 so normally you can find that folder in the path C JBoss4 0 3 server default deploy The package includes also all the necessary Java libraries needed by the tool including Jena 2 Deploy the THEMIS database Create a new database instance If you are not using MySQL as database you have to include the appropriate JDBC driver into the system classpath or adding it into the C JBoss4 0 3 server default lib folder Run the following SQL script in the DB instance created for THEMIS in order to setup all the necessary tables ROP TABLE IF EXISTS COMPANY ROP TABLE IF EXISTS USER ROP TABLE IF EXISTS RDFJOB ROP TABLE IF EXISTS RDF ROP TABLE IF EXISTS SRVREL ROP TABLE IF EXISTS MODREL
13. the end SET PATH PATH c jdk bin This also assumes that you have installed Java in c jdk c Linux UNIX Solaris FreeBSD users must set their PATH variable to point to where the java binaries have been installed Please refer to your shell documentation if you have trouble doing this For example if you use bash as your shell then you would add the following line to the end of your bashrc export PATH path to java P ATH If you JBoss instance is not running find the bin folder under your JBoss installation path and double click ton he run bat file Wait the starting process end then check if the server encountered some errors Point with your browser to the main page of the server to check its correct execution normally the address is http localhost 8080 for local installation 2005 2006 The ATHENA Consortium 5 ONT2 Ontology based support to Enterprise Interoperability THEMIS manual 1 2 Run THEMIS 1 Open an Internet browser and point to the JBoss page on which the tool is running normally http localhost 8080 themis for local installation 1 3 Test the installation You can test the installation of THEMIS following a simple tutorial test 1 Start the JBoss server 2 Load the THEMIS home page Z THEMIS By Gruppo Formula Research Group Microsoft Internet Explorer ARS xj Fie Edit View Favorites Tools Help Address E http localhost 8089 THEMIS war h Qe O ida search Favorite

Download Pdf Manuals

image

Related Search

Related Contents

chancen - Umweltbundesamt  KDC-X396 KDC-352U KDC-252U KDC-202U KDC  Untitled - Central Ar  Audiovox VI600 User's Manual  Harbor Freight Tools 3794 User's Manual  B-44 - Régie de l`énergie  Untitled  Helium Sniffer Probe User Guide  Samsung 2263DX Kasutusjuhend  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.