updated PrecisionRecall sample to use URL as id