polifonia-project / sonar2021_demo

This repository is created for the documentation of the Polifonia demo that is going to be presented to SONAR2021
https://polifonia-project.github.io/sonar2021_demo/
2 stars 0 forks source link

OntologyDesign sprint: iteration 2 (similarities) #21

Open andreamust opened 2 years ago

andreamust commented 2 years ago

As a second iteration in modelling the ontologies for the Sonar demo we are focusing on similarity. In particular, starting from the requirements of the demo it became necessary to model two different types of similarity:

To represent these two different types of similarity we have sketched two models.

Harmonic Similarity

harmonicSimilarity

Issues on Harmonic Similarity

  1. Will harmonic similarity only be computed between two different sequences?
  2. Are the labels clear, expressive and formally correct?
  3. Is it necessary to define binary relations (e.g. for time stamps)?
  4. What is the right module for this type of similarity?

Lyrics Similarity

lyricsSimilarity

Issues on Lyrics Similarity

  1. Are the labels clear, expressive and formally correct?
  2. What is the right module for this type of similarity (lyrics should belong to the composition module, what about the similarity between lyrics)?
  3. Do we need one more granularity level on "LyricsPart" (e.g. lyrics words)?
  4. Is the encoding used for embedding negligible for our purposes (see Harmonic Similarity model)?
  5. How will we compute the position of a LyricsPart within the whole lyrics?
valecarriero commented 2 years ago

I think that LyricsSimilarity can be in the musical composition module. Don't know about the general concept of Similarity.

andreamust commented 2 years ago

I think that LyricsSimilarity can be in the musical composition module. Don't know about the general concept of Similarity.

I agree, I have changed the prefix of LyricSimilarity in the diagram. As for the concept of similarity, it remains an open point.

andreamust commented 2 years ago

harmonicSimilarity_data

I add a few examples of data related to Harmonic Similarity, to help understand what types of data we will be dealing with.

vpresutti commented 2 years ago

I think that LyricsSimilarity can be in the musical composition module. Don't know about the general concept of Similarity.

I agree, I have changed the prefix of LyricSimilarity in the diagram. As for the concept of similarity, it remains an open point.

The concept of two compositions/tracks being similar based on some criteria is a key one to Polifonia. In my opinion the general Similarity pattern and its specialisations should go into a Core module. Wdyt? Another option is to have a general concept of Similarity between two cultural entities (which can be compositions but also of different types) in the Core module and then have specialisations in different mldules. But personally I think that this second option is less manageable and usable. A third option is to have a module dedicated to Comparative measures or something like that, where we define patterns describing observations and measures applied to comparative analysis, such as similarities.

FiorelaCiroku commented 2 years ago

UPDATE: After a discussion with the OD Task Force, we decided to go with the third option, creating a new module "Comparative Measures". @andreamust and I have updated the diagram, changed prefixes, and added the TimeInterval class to fully reuse the pattern. Based on the pattern, I created the OWL file of the module.

Comparative Measures


Questions:

  1. Should I create a new repository for the Comparative Measure module?
  2. If not, where should I upload the OWL file of the module?
  3. Which is the URL standard that we are going to use?
  4. How to express in Protege the property isSimilarTo has the same domain and range? For instance, we should have :MusicFeature :isSimilarTo :MusicFeature and :LyricsLine :isSimilarTo :LyricsLine. How to make sure that we do not get this: :MusicFeature :isSimilarTo :LyricsLine. Temporarily, we created these properties :isSimilarToMusicFeature and :isSimilarToLyricsLine.
FiorelaCiroku commented 2 years ago

Refactoring of the comparative-measure module

CM module
FiorelaCiroku commented 2 years ago

UPDATE: Below is the latest version of the Harmonic Similarity model. I'll upload the OWL file shortly.

Harmonic Similarity
FiorelaCiroku commented 2 years ago

OWL file for the harmonic similarity can be found here: https://github.com/polifonia-project/comparative-measure/blob/main/harmonic-similarity.owl

Let me know if you need something.

FiorelaCiroku commented 2 years ago

The diagram and OWL file have been updated with the addition of isHarmonicallySimilarTo property.

Screenshot 2021-10-19 at 17 13 13