09.01.2013 Views

European Journal of Scientific Research - EuroJournals

European Journal of Scientific Research - EuroJournals

European Journal of Scientific Research - EuroJournals

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

380 Benharzallah Saber and Kazar Okba<br />

evolution, a division and an easier inference <strong>of</strong> ontologies [27]. The language used to interrogation the<br />

semantic mediation system is SOWL [28].<br />

We adopt that ontology described the concepts <strong>of</strong> a domain while the schema describes the<br />

structure <strong>of</strong> a database, and the establishment <strong>of</strong> bonds between them makes it possible to data<br />

integrate while being based on their significance and not on their structure. Our approach uses the<br />

OWL to represent all information concerning the semantic mediation <strong>of</strong> the information systems. OWL<br />

is used like<br />

• A common representation model <strong>of</strong> the schemas: our approach is based on work which was<br />

completed to convert schema represented on the relational model, object or XMLSchema [21]<br />

[22] [23] towards OWL model.<br />

• A common representation model <strong>of</strong> ontologies: to clarify the concepts <strong>of</strong> the schema compared<br />

to the application domain <strong>of</strong> the cooperation system.<br />

• A representation language <strong>of</strong> the links schema-ontology: to link a schema to its ontology.<br />

• A representation language <strong>of</strong> the mapping rules: to link a consuming schema system to<br />

suppliers schemas systems, in the case <strong>of</strong> the schema mediation<br />

3.6. Queries processing<br />

The query processing breaks up into several steps, and during this process, the multi-agents system<br />

uses a set protocol. The principal steps are:<br />

1. Static query resolution<br />

Step 1: query validation the IAC checks the validity <strong>of</strong> the query. i.e. is this which is written in<br />

schema mediation terms or not.<br />

Step2: query decomposition: the request is broken up at a recombining query <strong>of</strong> the results and sub<br />

queries intended for the intelligent agent suppliers (IAS) who contain data necessary to the execution<br />

<strong>of</strong> the query. The decomposition <strong>of</strong> the query is done by the use <strong>of</strong> the mapping rules. The IAC applies<br />

the cooperation protocol <strong>of</strong> static query resolution.<br />

Step3: recombining <strong>of</strong> the results: the intelligent agent consuming (IAC) execute the recombining<br />

query <strong>of</strong> the results.<br />

2. Dynamic query resolution<br />

The dynamic resolution makes it possible to take into account the appearance <strong>of</strong> new IASs. The<br />

principal steps are:<br />

Step 1: query reformulation the IAC reformulates the query in its ontology terms by using the links<br />

schema-ontology which is in its knowledge base.<br />

Step 2: Transmission <strong>of</strong> the reformulated query the IAC applies the cooperation protocol <strong>of</strong><br />

dynamic query resolution. So it transmits the reformulated query to the routing agent which is nearest<br />

semantically. And this last sends it to all IASs <strong>of</strong> its net contacts.<br />

Step 3: Semantic evaluation <strong>of</strong> the reformulated query: Each IAS answers according to its capacity<br />

to treat the query:<br />

a. To compare elements <strong>of</strong> the query with its ontology. The elements <strong>of</strong> the query and its ontology<br />

are compared using a semantic distance. The identified elements as equivalent are retained.<br />

b. The query is rewritten in terms <strong>of</strong> the equivalent elements <strong>of</strong> its ontology (then interpreted on<br />

its schema) to take <strong>of</strong> them into account the semantic conflicts <strong>of</strong> values (each intelligent agent<br />

has library <strong>of</strong> functions for the conversion <strong>of</strong> the types).<br />

c. The answer is sent then to the routing agent, by indicating the manner <strong>of</strong> treating the query, for<br />

this last can build recombining queries <strong>of</strong> the results.<br />

If no IAS answers, the routing agent sends the query to the other routings agents <strong>of</strong> other<br />

domains and if there are answers the routing agent updates its net contacts.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!