fixed generating of query triple weights for baselines