VDR-DEVICE

A Visual Environment for Developing Defeasible Rule Bases for the Semantic Web

Demo Description

This demo presents a full example of using VDR-Device in a brokered trade application that takes place via an independent third party, the broker. The broker matches the buyer's requirements and the seller's capabilities and proposes a transaction, when both sides can be satisfied by the trade.

The example studied in this demo has to do with apartment renting, with the landlord taking the role of the abstract seller.

Suppose that a number of available apartments resides in an RDF document and that each of the apartments has the following properties:

size of the apartment (in m2)

number of bedrooms of the apartment

price of the apartment

floor of the apartment

gardenSize of the apartment

existence of a lift in the house of the apartment

pet allowance (pets) in the house of the apartment

apartment location (central or not)

A potential renter, called e.g. Carlos, wishes to rent an apartment that fulfills the following requirements:

The set of Carlo's requirements forms a rule base (i.e. a set of rules) that can be loaded by VDR-Device:

  1. From the File menu choose New Project (keyboard shortcut: Alt+F1) or, alternatively, click on the first icon in the overhead toolbar, located on the top of the main window of the program.

  2. The dialog window that appears immediately afterwards contains a combo-box, where the type of the project can be selected. The project type is determined by the location of the rule base, namely, whethere it is located locally (e.g. in the local hard disk) or remotely (i.e. at a web address). For convenience, the Carlo-related rule base is already constructed and it can be located at the URL: http://lpis.csd.auth.gr/systems/dr-device/carlo/carlo-rbase.ruleml

  3. Fill-in the Project Name and Filename fields: Project Name is the name of the project each time and File Name is the URL address of the rule base.

  4. Click on the OK button and wait until the RuleML file is downloaded from the specified address.

creating the Carlo project (remote rule base)

  1. The rule base that contains Carlo's requirments should by now be displayed in the right-hand side frame in tree-format. By navigating through the tree, the user can view and edit the tree nodes, as well as the node attributes that appear in the table on the right-hand frame. The possible attribute values are limited each time, according to the meaning of the specific attribute inside the rule base.

main window

  1. The rule base that contains Carlo's requirements can now be submitted to the reasoning system. From the Run menu choose Compile & Run for the inferencing process to begin. A DOS window appears that informs the user about the progress of the inferencing as well as potential errors in the process.

  2. A number of appropriate apartments that match the submitted requirements is extracted and can be viewed by choosing View Results from the View menu. The user can also view and/or print the trace of the whole inferencing process by choosing View Trace, which can also be found in the View menu.

 

results

trace