polifonia-project / KG_data_transformation

Script and services to extract data from raw files JSON,csv,tsv and create Polifonia KG
0 stars 0 forks source link

Fix problem with the model causing overlapping time stamps #27

Closed ccolonna closed 2 years ago

ccolonna commented 2 years ago

This PR should solve problems in the model. It's an hotfix, property might be modified. Maybe @FiorelaCiroku you would like to have a look at that.

In the photo a sketch of the resulting model.

Here the transformation file version0.0.3

HarmSimModel

stiamo notando che molti time stamp associati alle chord sequences sono invertiti perché lo start time è più alto dell'end time. Ci deve essere un problema nella trasformazione, potete controllare per favore? Altrimenti il rischio è che l'app prenda su intervalli sballati.

Abbiamo controllato il jason e i time stamp sono coerenti, quindi deve esserci un problema nella trasformazione.

Obviously you need an n-ary relation for linking a chord progression of a specific song to its time interval. Notice, you need a situation for "being a chord progression in a harmonic similarity of a specific song" that connects song-chord progression-startTime-endTime. The time interval is not the main point, it's the situation of being a chord progression of song X in that harmonic similarity situation.

I hope this clarifies.