Similar Items: Path Checking for MTL and TPTL over Data Words