1 of 51

DES CATALOGUES

AU WEB DES DONNÉES

DOREMUS et le futur des métadonnées musicales

ANR-14-CE24-0020

2 of 51

PROGRAMME

  1. Convertir les données
  2. Explorer les données
  3. Utiliser les données
  4. De DOREMUS à Schema.org

3 of 51

CONVERTIR

LES DONNÉES

1

4 of 51

001 FRBNF139081882FR

100 $313891295$w.0..b.....$aBeethoven$mLudwig van$d1770-1827

144 $w....b.fre.$aSonates$bPiano$pOp. 27, no 2$tDo dièse mineur

FICHIER

MARC

LANG TITRE MOP OPUS TONALITÉ

5 of 51

001 FRBNF139081882FR

100 $313891295$w.0..b.....$aBeethoven$mLudwig van$d1770-1827

144 $w....b.fre.$aSonates$bPiano$pOp. 27, no 2$tDo dièse mineur

FICHIER

MARC

NUM SUB

6 of 51

UNIMARC

INTERMARC

  • 2 variantes de format MARC
  • choix différents pour représenter le contenu
    • “Op. 27 n. 2” - “Op. 27 no 2”

Comment convertir ces données?

7 of 51

Règles de mapping

144 $w....b.fre.$aSonates$bPiano$pOp. 27, no 2$tDo dièse mineur

F22 Expression: Opus Number

F22 Self-Contained Expression

U17 has opus statement M2 Opus Statement

[U42 has opus number M12 Opus Number]

+ [U43 has opus subnumber M13 Opus Subnumber]

TUM : 144 $p, chain of digits

TUM : 144 $p, chain of digits before the comma

Remove the abbreviation “Op.” before the number

144 $pOp. 352 --> M12 = 352

144 $pOp. 27, no 2 --> M12 = 27, M13 =2

UNIT OF INFORMATION

PATH

INTERMARC BNF

TRANSFER RULE

EXAMPLE

8 of 51

marc2rdf

9 of 51

<http://data.doremus.org/expression/d72301f0-0aba-3ba6-93e5-c4efbee9c6ea>

a efrbroo:F22_Self-Contained_Expression ;

mus:U10_has_order_number "14" ;

mus:U11_has_key “Do majeur”@fr ;

mus:U12_has_genre “sonate”@fr ;

mus:U17_has_opus_statement [ a mus:M2_Opus_Statement ;

mus:U42_has_opus_number "27" ;

mus:U43_has_opus_subnumber "2" ;

ecrm:P3_has_note "Op. 27, no 2"

] ;

ecrm:P102_has_title "Quasi una fantasia" , "Au clair de lune" , "Moonlight sonata";

DOREMUS

RDF

10 of 51

F15

Work

F22

Expression

M2

Opus Statement

F28

Expression

Creation

R3 is realized in

E52

Time Span

E7

Activity

F15

Work

F15

Work

“27”

“2”

“sonate”@fr

“Sonata Quasi una Fantasia”@it

“Moonlight Sonata”@en

“Do dièse majeur”@fr

“Beethoven, Ludwig van (1770-1827)”

“compositeur”@fr

“18010101/18011231”

R17 created

R19 created a realization of

“1. Adagio Sostenuto”

“2. Allegretto”

U17 has

opus statement

U12 has genre

P102 has title

U11 has key

P148 has component

P148 has component

P82 at some time within

U31 had function of type

P14 carried

out by

P9 consists of

P4 has time span

11 of 51

“sonate”@fr

“Do dièse majeur”@fr

“Beethoven, Ludwig van (1770-1827)”

“compositeur”@fr

12 of 51

“Do dièse majeur”@fr

“Do diesis maggiore”@it

“C sharp major”@en

Langues différentes

Synonymes

“sonate”@fr

“sonatine”@fr

“sonate d'église”@fr

Désambiguïsation

Ludwig van

Beethoven

Johann van

Beethoven

Description

“compositeur”@fr

“une personne musicienne qui élabore de la musique (source: Wikipedia)”@fr

13 of 51

Référentiels

<http://data.doremus.org/vocabulary/genre/sn> a skos:Concept ;� skos:altLabel "sonate d'église"@fr,� "sonatine"@fr,� "canzona da sonar"@it,� "sonata da camera"@it,� "sonata da chiesa"@it,� "sonatina"@it,� "suonata"@it ;� skos:prefLabel "Sonate"@de,� "sonata"@en,� "sonata"@es,� "sonate"@fr,� "sonata"@it ;� skos:topConceptOf <http://data.doremus.org/vocabulary/genre/> .

RÉFÉRENTIEL DE GENRES

14 of 51

Référentiels

  • genres�IAML, RAMEAU
  • dérivations
  • tonalités
  • media of performances�MIMO, RAMEAU, IAML, �Hornbostel & Sachs, Radio France
  • modes
  • personnes et collectivités�ISNI
  • lieux géographiques
  • types de titres
  • types de parties d'une œuvre
  • catalogues
  • fonctions
  • Ethnic groups�CREM, RAMEAU
  • Rhythmical form
  • Responsibility
  • ...

15 of 51

Certains référentiels sont déjà en ligne

16 of 51

mus:U12_has_genre “sonate”@fr

mus:U12_has_genre <http://data.doremus.org/vocabulary/genre/sn>

STRING2URI

17 of 51

F15

Work

F22

Expression

M2

Opus Statement

F28

Expression

Creation

R3 is realized in

E52

Time Span

E7

Activity

F15

Work

F15

Work

“27”

“2”

<http://data.doremus.org/vocabulary/genre/sn>

“Sonata Quasi una Fantasia”@it

“Moonlight Sonata”@en

<http://data.doremus.org/vocabulary/key/cxm>

<http://dbpedia.org/resource/ Ludwig_van_Beethoven>

“compositeur”@fr

“18010101/18011231”

R17 created

R19 created a realization of

“1. Adagio Sostenuto”

“2. Allegretto”

U17 has

opus statement

U12 has genre

P102 has title

U11 has key

P148 has component

P148 has component

P82 at some time within

U31 had function of type

P14 carried

out by

P9 consists of

P4 has time span

18 of 51

EXPLORER

LES DONNÉES

2

19 of 51

data.doremus.org

SPARQL ENDPOINT

NAVIGATEUR À FACETTES

URIs DÉRÉFÉRENÇABLES

20 of 51

SPARQL Endpoint

21 of 51

donnez-moi la liste des titres

de toutes les sonates

composées par Beethoven

+

=

?titre

22 of 51

SPARQL Endpoint

PREFIX ecrm: <http://erlangen-crm.org/current/>

PREFIX efrbroo: <http://erlangen-crm.org/efrbroo/>

PREFIX mus: <http://data.doremus.org/ontology#>

SELECT ?title

FROM <http://data.doremus.org/>

WHERE {

?expression a efrbroo:F22_Self-Contained_Expression ;

ecrm:P102_has_title ?title;

mus:U12_has_genre <http://data.doremus.org/vocabulary/iaml/genre/sn> .

?expCreation efrbroo:R17_created ?expression ;

ecrm:P9_consists_of ?activity .

?activity ecrm:P14_carried_out_by ?person .

?person ecrm:P1_is_identified_by "Beethoven, Ludwig van(1770-1827)".

}

QUERY

SPARQL

RESULTS

23 of 51

Navigateur à facettes

24 of 51

25 of 51

URIs Déréférençables

ressources

URIs

pages

26 of 51

UTILISER

LES DONNÉES

3

27 of 51

28 of 51

29 of 51

30 of 51

31 of 51

32 of 51

DE DOREMUS

Á SCHEMA.ORG

4

33 of 51

34 of 51

?

35 of 51

36 of 51

CreativeWork

  • name
  • description
  • author
  • citation
  • genre
  • locationCreated
  • dateCreated
  • isBasedOn
  • workExample/exampleOfWork
  • hasPart/isPartOf
  • ....

MusicComposition

  • composer
  • lyricist
  • firstPerformance
  • musicArrangement
  • musicCompositionForm
  • musicalKey

MusicRecording

  • duration
  • inAlbum

MusicEvent

  • actor
  • location
  • startDate - endDate
  • workPerformed

37 of 51

DOREMUS

(FRBRoo)

Schema.org

  • richesse
  • détail
  • spécificité
  • immédiateté
  • vue d'ensemble
  • généricité

Comment faire le mapping?

38 of 51

Recettes

Recettes

P. Lisena, R. Troncy

DOREMUS to Schema.org: Mapping a Complex Vocabulary to a Simpler One

20th International Conference on Knowledge Engineering and Knowledge Management,�19-23 November, Bologna

PAPER

39 of 51

F15

Work

F22

Expression

M2

Opus Statement

F28

Expression

Creation

R3 is realized in

E52

Time Span

E7

Activity

F15

Work

F15

Work

“27”

“2”

<http://data.doremus.org/vocabulary/genre/sn>

“Sonata Quasi una Fantasia”@it

“Moonlight Sonata”@en

<http://data.doremus.org/vocabulary/key/cxm>

<http://dbpedia.org/resource/ Ludwig_van_Beethoven>

“compositeur”@fr

“18010101/18011231”

R17 created

R19 created a realization of

“1. Adagio Sostenuto”

“2. Allegretto”

U17 has

opus statement

U12 has genre

P102 has title

U11 has key

P148 has component

P148 has component

P82 at some time within

U31 had function of type

P14 carried

out by

P9 consists of

P4 has time span

40 of 51

  1. Choisir le(s) nœud(s) de départ

F22

Expression

F28

Expression

Creation

E7

Activity

“Sonata Quasi una Fantasia”@it

“Moonlight Sonata”@en

<http://dbpedia.org/resource/ Ludwig_van_Beethoven>

R17 created

P102 has title

P14 carried

out by

P9 consists of

41 of 51

  • Choisir le(s) nœud(s) de départ
  • Identifier les classes similaires

F22

Expression

F28

Expression

Creation

  1. Noms similaires�mus: F28 ExpressionCreation → sdo: CreateAction.
  2. Descriptions similaires
  3. Propriétés similaires�mus:F2 Expression U11 has key → sdo:MusicComposition.musicalKey
  4. Propriétés avec des valeurs attendues similaires�mus: U12 has genre et sdo:musicCompositionForm ont “sonates” comme valeur possible

Music

Composition

CreateAction

42 of 51

  • Choisir le(s) nœud(s) de départ
  • Identifier les classes similaires
  • Identifier les propriétés similaires

F22

Expression

F28

Expression

Creation

  • Noms similaires�mus:U11 has key → sdo:musicalKey
  • Descriptions similaires
  • Valeurs attendues similaires�mus: U12 genre et sdo:musicCompositionForm ont “sonates” comme valeur possible

Music

Composition

CreateAction

<http://data.doremus.org/vocabulary/key/cxm>

U11 has key

<http://data.doremus.org/vocabulary/key/cxm>

musicalKey

P9 consists of

E7

Activity

agent

?

43 of 51

  • Choisir le(s) nœud(s) de départ
  • Identifier les classes similaires
  • Identifier les propriétés similaires

F22

Expression

F28

Expression

Creation

Music

Composition

CreateAction

<http://data.doremus.org/vocabulary/key/cxm>

U11 has key

<http://data.doremus.org/vocabulary/key/cxm>

musicalKey

P9 consists of

E7

Activity

agent

?

itérer ce 2 points

jusqu'à ce que chaque noeud soit atteint

44 of 51

Music

Composition

Music Composition

Create Action

exampleOfWork

Role

Music

Composition

Music

Composition

<http://data.doremus.org/vocabulary/genre/sn>

“Sonata Quasi una Fantasia”@it

“Moonlight Sonata”@en

<http://data.doremus.org/vocabulary/key/cxm>

<http://dbpedia.org/resource/ Ludwig_van_Beethoven>

“compositeur”@fr

“1801”

result

result

“1. Adagio Sostenuto”

“2. Allegretto”

musicComposition

Form

name

musicalKey

includedComposition

includedComposition

roleName

agent

agent

startTime

“1801”

endTime

45 of 51

Music

Composition

Music Composition

exampleOfWork

result

result

46 of 51

  • Choisir le(s) nœud(s) de départ
  • Identifier les classes similaires
  • Identifier les propriétés similaires
  • Simplifier le graphe
  • Même classe ou une superclasse en commun
  • Les connexions à la même classe sont effectuées avec la même propriété
  • Ils sont liés entre eux
  • Pas de propriétés en conflit�Ils ne peuvent pas avoir des noms ou des clés différents.

Create

Action

Music

Composition

Music Composition

example

OfWork

result

result

Create

Action

Music Composition

result

47 of 51

Music Composition

Create Action

Role

Music

Composition

Music

Composition

<http://data.doremus.org/vocabulary/genre/sn>

“Sonata Quasi una Fantasia”@it

“Moonlight Sonata”@en

<http://data.doremus.org/vocabulary/key/cxm>

<http://dbpedia.org/resource/ Ludwig_van_Beethoven>

“compositeur”@fr

“1801”

result

“1. Adagio Sostenuto”

“2. Allegretto”

musicComposition

Form

name

musicalKey

includedComposition

includedComposition

roleName

agent

agent

startTime

“1801”

endTime

48 of 51

49 of 51

schema-visualizer

50 of 51

51 of 51

LIENS UTILES

DOREMUS Website

Page GitHub

avec le logiciels, l’ontologie, ...

https://github.com/DOREMUS-ANR/

Cette présentation

https://goo.gl/FFVp4s