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
In the example we consider a user that gives the same importance to precision and recall (this can be changed by the user anyway). OBSERVER deals with intervals of percentages (minimum and maximum precision, recall and loss).
- Loss for Plan 1:
- Precision (min,max) = (23%, 30%)
- Recall (min,max)= (100%, 100%)
- Loss (min,max) = (53%, 62%), average 58%
- Loss for Plan 2:
- Precision (min,max) = (100%, 100%)
- Recall (min,max) = (22%, 50%)
- Loss (min,max) = (33%, 63%), average 48%
So Plan 2 will be selected first to enrich the first answer presented to the user.
- Execute the plan with less loss of information (Plan 2)