On-the-fly entity-aware query processing in the presence of linkage