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

Data transformation: object uri as string instead of resource #48

Closed ccolonna closed 2 years ago

ccolonna commented 2 years ago

Task:

Data transformation: Raw JSON data —> Polifonia KG Mapping Rules

In the polifonia KG .ttl file (see: file ), linked object are represented as string instead of resources.

E.g.

<https://w3id.org/polifonia/resource/Recording/recording_00725> a mp:Recording ;
    core:hasTitle "https://w3id.org/polifonia/resource/Title/blues_for_alice" .

Should be:

<https://w3id.org/polifonia/resource/Recording/recording_00725> a mp:Recording ;
    core:hasTitle <https://w3id.org/polifonia/resource/Title/blues_for_alice> .

.

See also:

<https://w3id.org/polifonia/resource/Session/00001_1> a mp:Session ;
    core:hasPlace "https://w3id.org/polifonia/resource/PhysicalSite/physical_site_c56fdea4_e81e_439a_a183_a52eb1141409" ;
    core:hasTimeInterval "https://w3id.org/polifonia/resource/TimeInterval/ti_00001_1" ;
    core:hasType "mp:EditingSession" ;
    mp:isSessionOfRecording "https://w3id.org/polifonia/resource/Recording/recording_00001" .

This make impossible to traverse the graph.

ccolonna commented 2 years ago

This is solved here https://github.com/polifonia-project/sonar2021_demo/commit/840423b67b852560e5d0c9a9abe9d34dad647597