The multipartite quantum networks feature multiple independent sources, in contrast to the conventional multipartite Bell experiment involving a single source. Despite the initial independence of resources, the multiple observers in the network can suitably choose measurements on their local subsystems and generate a form of quantum nonlocality across the network. So far, network nonlocality has been explored when each source produces a two-qubit entangled state. In this work we demonstrate the network nonlocality when each party performs a black-box measurement, and the dimension of the system remains unspecified. In an interesting work, by considering each source produces two-qubit entangled states in the conventional bilocal scenario, Gisin et al. [Phys. Rev. A 96, 020304 (2017)] demonstrated a correspondence between the violations of bipartite Clauser-Horne-Shimony-Halt inequality and the bilocality inequality. We introduce a variant of the sum-of-squares approach to reproduce their results without assuming the dimension of the system. We then generalize the argument for network nonlocality in star-network topology. Furthermore, we propose a set of $n$-locality inequalities in a star-network configuration where each of the $n$ parties performs an arbitrary number of dichotomic measurements and demonstrates the above correspondence between the quantum violations of the $n$-locality inequalities and the chained Bell inequalities. A similar correspondence is demonstrated based on a recently formulated family of $n$-locality inequalities whose optimal quantum violation cannot be obtained when each source emits a two-qubit entangled state and requires multiple copies of two-qubit entangled states. Throughout this paper, each party in the network performs black-box measurements, and the dimension of the system remains unspecified.