First off, I apologize if I'm not able to articulate my question correctly or effectively due to my lack of knowledge on music terms.
My friends and I were having an argument about whether two foreign songs we were listening to had very similar flow and rhythm/style, and we were pretty split evenly on people who agreed they sound similar and people who don't hear it that way. To me personally, I thought it was very clear how the second song seemed to have the same flow and rhythm/style.
This had me wondering, there must be some way to do an analysis where the songs can generate some graph, and we can compare the graphs. Is my thought valid? And if it is, what tools could I use to do such an analysis, and what data would I want the graph to be generating?