Added utility function to create title pid map from triplestore