scoring for uri templates