Expansion of the user query
- Query Edition in the user ontology semantics
Retrieve the name, location and room rate for hotels with a room rate equals to $200
[Name Location Price] of (AND hotel (FILLS Price 200))
- Incremental Query Expansion to Multiple Ontologies
- Full Translation of the user query:
- Replacing HOTEL by the intersection of its parents:
Plan 1:[Name Location Price] of (AND Hotel (FILLS Price 168))
- Replacing HOTEL by the union of its children:
Plan 2:[Name Location Price] of (AND (OR 4StarHotel 5StarHotel) (FILLS Price 168))
- Estimating the loss of information
- Loss for Plan 1 (min,max) = (53%, 62%), average 58%
- Loss for Plan 2 (min,max) = (33%, 63%), average 48%
- Execute a new plan (Plan 2)
- Execute a new plan (Plan 1)
The execution of this plan follows the same steps as shown before
New answer presented to the user after correlating the data obtained from Plan 1 (new data are presented in green and red):
Name
|
Location
|
Price
|
Mercure
|
Berlin, Germany
|
200
|
Ritz
|
London, England
|
200
|
Ritz
|
Madrid, Spain
|
200
|
Boston
|
Zaragoza, Spain
|
200
|
NH Zaragoza
|
Zaragoza, Spain
|
200
|
NH Barcelona
|
Barcelona, Spain
|
200
|
Hostal Paco
|
Zaragoza, Spain
|
200
|
Notice that although two new hotels with the features indicated in the user query were added (in green), due to the loss of Plan 1, an accomodation which does not fulfil the user requirements was also included (in red).
To find more details about the whole process described here, please consult the publications on OBSERVER