Title: Semantic query optimization in distributed database systems