1 / 15

CS566 Project Overview & Tools Setup

CS566 Project Overview & Tools Setup. Computer Science Department UoC. Outline. Emerald Framework Overview Communication pattern Software Requirements Setup sequence Cs566 project objective & Additional tools. Emerald Overview. It is an framework for

bunme
Télécharger la présentation

CS566 Project Overview & Tools Setup

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. CS566 Project Overview & Tools Setup Computer Science Department UoC

  2. Outline • Emerald Framework Overview • Communication pattern • Software Requirements • Setup sequence • Cs566 project objective & Additional tools

  3. Emerald Overview • It is an framework for • Interoperable reasoning among agents in the Semantic Web, by using third-party trusted reasoning services. • Based on Jade Agents • The advantages • Agents can exchange their position justification arguments (i.e. rule set) • No need for all agents to conform to the same kind of rule paradigm or logic • Agents can use an external reasoning service to grasp the semantics of the rule set (e.g. results)

  4. Emerald Overview

  5. Communication pattern • Exchange ACL messages containing • RuleML files • International Standard for Rule Representation • Support for defeasible rules • Used for e.g. preferences or requirements etc. • RDF files • International standard for resource description and data representation • Used for representing e.g. actual data, facts in our case and • Results of reasoning • This way is achieved an overall understanding between all agents in the framework (agents, reasoners etc.)

  6. Software Requirements • MS Windows • even though programs are in java…due to some restrictions (.exe setup files and fixed paths among others) • Jade Agents: • Java Framework for developing Agent Based Systems • http://jade.tilab.com • Jess: • Rule Based Engine • http://www.jessrules.com/download.shtml • DR-Device: • Defeasible Reasoning Engine • http://lpis.csd.auth.gr/systems/resources.html • Emerald: • Framework based on Agents for Defeasible Reasoning Services • http://lpis.csd.auth.gr/systems/emerald/resource.html

  7. Tools Set Up Sequence - 1 • Copy Jade into c:\ • A simple copy paste of the extracted folder will do • rename the folder to exactly ‘jade’ if it is not already • Immediately on the second folder level there should be a ‘lib’ folder with some jars (c:\jade\lib and not c:\jade\jade\lib) • Set environment variables • Edit the variable CLASSPATH (see slides later on)

  8. Tools Set Up Sequence - 2 • Copy Jess into c:\ • A simple copy paste of the extracted folder will do • rename the folder to exactly ‘jess’ if it is not already • Immediately on the second folder level there should be a ‘lib’ folder with some jars (c:\jess\lib and not c:\jess\jess\lib) • Set environment variables • Edit the variable CLASSPATH (see slides later on)

  9. Tools Set Up Sequence - 3 • Download j2cf from • http://www.csd.uoc.gr/~hy566/j2cf.rar • Copy j2cf to c:\ • A simple copy paste of the extracted folder will do • Set environment variables • Edit the variable CLASSPATH (see slides later on)

  10. Tools Set Up Sequence - 4 • Extract and run the .exe setup file for DR-Device • Do not change the default installation folder • then restart the computer.

  11. Tools Set Up Sequence - 5 • Extract and run the .exe setup file for EMERALD • Default installation folder is c:\jade\emerald • Thus, jade setup should precede emerald setup • Select R- Reasoning Files and DR –Reasoning Files uncheck all others • Similarly, Dr-device setup should precede emerald • after setup is done, go to c:\jade\emerald • Delete the R-Reasoning files folder • Copy paste contents of the DR-Reasoning files folder to its parent directory. (c:\jade\emerald)

  12. Tools Set Up Sequence - 6 • Go to control panel  system  advanced • Click on the Environment Variables button • Click Edit for the CLASSPATH variable and copy paste the following string: c:\jade\EMERALD;c:\j2cf\j2cf.jar;c:\jade\lib\jade.jar;c:\jade\lib\jadeTools.jar;c:\jade\lib\iiop.jar;c:\jade\lib\http.jar;c:\jade\lib\commons-codec\commons-codec-1.3.jar;c:\jess\lib\jess.jar;c:\jess\lib\jsr94.jar • Click ok, then apply etc. • And we are almost done!

  13. Running the Emerald Demo • Download the ruleml_files.rar from • http://www.csd.uoc.gr/~hy566/ruleml_files.rar • and extract to c:\ruleml_files • Run Emerald and create the two agents: • Broker first and then Customer which automatically triggers the demo • See the Emerald short Guide from • http://lpis.csd.auth.gr/systems/emerald/EMERALD_manual.zip • Where is described the use of the above mentioned files

  14. CS566 Project Objective • The main objective for cs566 project is to • Extend Emerald to support Defeasible Reasoning via DR-Prolog (in addition to DR-Device ) • For this purpose the following additional tools are required • XSB: • Prolog Interpreter • DR-Prolog Metaprogram: • Implementation of Defeasible Reasoning over Prolog • Interprolog: • Library for intercommunication (in our project case) between JAVA and XSB • Inevitably “some programming” is also needed for binding the above together, in order to substitute DR-Device successfully

  15. That’s all for now!!!

More Related