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)
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):
Name
|
Location
|
Price
|
Mercure
|
Berlin, Germany
|
200
|
Ritz
|
London, England
|
200
|
Ritz
|
Madrid, Spain
|
200
|
Boston
|
Zaragoza, Spain
|
200
|
Notice that prices presented to the user are always in the semantics he selected (in US Dollars). In addition, the two new hotels listed have the features indicated in the original user query despite the loss of Plan 1, although OBSERVER was not able to verify it.
- If the user is not satisfied with answer, s/he could ask for more data (Execute Plan 1)