Title: Preference Query Analysis and Optimization