Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

The RISM property reconciliation is incomplete and needs reviewing. #231

Open
candlecao opened this issue Feb 18, 2025 · 6 comments
Open
Assignees
Labels
Priority: high high priority

Comments

@candlecao
Copy link
Contributor

See https://github.com/DDMAL/linkedmusic-datalake/blob/main/rism/data/reconciled/mapping.json

@candlecao
Copy link
Contributor Author

candlecao commented Feb 19, 2025

  1. Among the keys in the JSON files, why there are "http://www.wikidata.org/prop/direct/P2308"(class) "http://www.wikidata.org/prop/direct/P2888"(exact match) which are from Wikidata's properties?

and how to use P2308? E.g.,

<https://rism.online/institutions/30000440> a ns1:Institution ;
    rdfs:label "Bibliothèque royale de Belgique (KBR) - Koninklijke Bibliotheek van België (KBR), Bruxelles; Brussel (B-Br)"@none ;
    wdt:P2308 wd:Q178706 ; # wd:Q178706 is institution
    wdt:P2888 wd:Q98214461 .

--from merged.ttl

  1. How is the URI <https://rism.online/api/v1#> generated?

  2. Some reconciled instances may not be accurate:

<https://rism.online/institutions/30000440> wdt:P2888 wd:Q98214461 .
  1. Please see the original code snippet before reconciliation:
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix ns1: <https://rism.online/api/v1#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://rism.online/sources/1000000001> a ns1:Source ;
    rdfs:label "3 Trios; Print"@en ;
    dcterms:creator <https://rism.online/people/94547> ;
    ns1:hasDates [ ns1:dateStatement "[ca. 1800]" ;
            ns1:earliestDate 1800 ;
            ns1:latestDate 1800 ] ;
    ns1:hasHolding <https://rism.online/sources/1000000001/holdings/51006604> ;

Image

  1. What does "Source contents" mean? E.g.,

Image

Does it mean that 2 Psalms; Manuscript copy; E-SC 55/4 sources from Memor esto verbi tui; Autograph manuscript; E-SC 55/4?

  1. What is the type of the value of property :hasSubject? (what does this mean) E.g., entering https://rism.online/subjects/25250, only to see:

Unexpected response
Problem with the given value:

{
        "@context": "https://rism.online/api/v1/context.json",
        "id": "https://rism.online/subjects/25250",
        "type": "rism:Subject",
        "label": {
            "de": [
                "Schlagworteintragung"
            ],
            "en": [
                "Subject heading"
            ],
            "es": [
                "Descriptor"
            ],
            "fr": [
                "Sujet"
            ],
            "it": [
                "Soggetto"
            ],
            "pl": [
                "Hasło przedmiotowe"
            ],
            "pt": [
                "Assunto"
            ]
        },
        "term": {
            "none": [
                "Sacred songs"
            ]
        },
        "notes": {
            "none": [
                null
            ]
        },
        "alternateTerms": {
            "none": [
                [
                    "Geistliche Gesänge"
                ]
            ]
        }
    }

Could not decode record body response
Please return to the home page and try again
--@

Note: the Subjects' labels are including:

Melodramas
Hours of the Office
Concertos
Minuets
Quartets (inst.)
Instrumental pieces
Terzets (voc.)
Chansons
Entr'actes
Sarabandes
Canaries
Versets (inst.)
Ricercares (voc.)
Brass music
Mazurkas
Tonos
Arrangements
Completoria
First editions
Pasticcios
Motets
Sequences
Chorale arrangements
Sacred concerts (voc.)
Bourrées
Singspiele
Schleifer
Paduanas
Morescas
Introits
Symphonies
Toccatas
Oratorios
Allemandes
Canzonas (inst.)
Passepieds
Contrafacta
Insertions
Canons (voc.)
Rondos (inst.)
Keyboard pieces
"Masses (cantus firmus-, paraphrase-, parody masses)"
Lessons
Villanellas
Second editions
Operas
Solfeggios (inst./voc.)
Madrigals
Canzoni (voc.)
Gavottes
Romances (voc.)
Versi (voc.)
Ballads (voc.)
Psalms
Gozos
Catalogues
Funeral music
Preludes
Suites
Trios (inst.)
Airs (inst.)
Antiphons
Tutors (voc.)
Krakowiaks
Incidental music
Graduals
Cavatinas
Invitatories
Quintets (inst.)
Tombeaux
Masses
Fugues (voc.)
Fugues (inst.)
Canons (inst.)
Lamentations
Character pieces
Festive music
Calendas
Gigues
Dialogues
Quodlibets
Partsongs
Tragédies lyriques
Airs (voc.)
Military music
Dances
Duets (inst.)
Ricercares (inst.)
Sonatas
Variations
Waltzes
Arias (voc.)
Responsories
Vocal pieces
Basse danses
Passamezzos
Lections
Quartets (voc.)
Dancing songs
Litanies
Duets (voc.)
Capriccios (inst.)
Villancicos
Songs
Sacred songs
Odes
Anglaises
Galops
Wedding music
Album leaves
Writings
Choruses
Reprints
Operettas
Vespers
Polonaises
Cantatas
Offertories
Passions
Courantes
Exercises (voc.)
Galliards
Etudes (inst.)
Requiems
Fantasies
Marches
Lieder
Hymns
Recitatives
Canzonettas
Canticles
Rondos (voc.)
Ariettes
Music theory
First issues

@candlecao
Copy link
Contributor Author

candlecao commented Feb 22, 2025

As of Feb 21, 2025, the properties which cannot be reconciled can be seen as follows:

{
    "entity_type": [],
    "http://purl.org/dc/terms/creator": "P50",
    // This was previously reconciled to P2309; Junjun doesn't think P2309 is used for relation in this case,so he deleted it:
    "http://purl.org/dc/terms/relation": "",
    "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "",
    "http://www.w3.org/1999/02/22-rdf-syntax-ns#value": "",
    "http://www.w3.org/2000/01/rdf-schema#label": "",
    "http://www.wikidata.org/prop/direct/P2308": "",
    "http://www.wikidata.org/prop/direct/P2888": "",
    "https://rism.online/api/v1#dateStatement": "",
    // not sure, because earliestDate is for describing event, while e.g., a manuscript is not an event:
    "https://rism.online/api/v1#earliestDate": "P1319",
    // point in time: "date something took place, existed or a statement was true; for providing time use the "refine date" property (P4241)":
    "https://rism.online/api/v1#hasDates": "P585",
    // Yueqiao: uesed P3294. Junjun: “P3294 is about the coding format categories;
    // The values of P3294 in Wikidata are options such as hexadecimal, PAL(colour encoding system, NTST(analog television system...”:
    "https://rism.online/api/v1#hasEncoding": "",
    // Yueqiao: used P749. Junjun: parent organization (P749) is not suitable?:
    "https://rism.online/api/v1#hasHolding": "",
    // Yueqiao: used P749. Junjun: uesd P195--collection. The domain of the property is about "holding" which is not clarified in RISM front end:
    "https://rism.online/api/v1#hasHoldingInstitution": "P195",
    "https://rism.online/api/v1#hasIncipit": "P1922", first line
    // Yueqiao: used P286 (head coach). Junjun: in RISM, the values of this property are such as,"F", "9t", "7t", "D", "D, E|b, F, D, G". They are about key or mode in context of music scores. There is not a suitable property in Wikidata for this:
    "https://rism.online/api/v1#hasKeyMode": "",
    // This is like a parent-property. We can refer to "Material description" of the frontEnd for a clear illustration:
    "https://rism.online/api/v1#hasMaterialGroup": "",
    // PAE is short for Plaine and Easie (code):
    "https://rism.online/api/v1#hasPAEClef": "",
    "https://rism.online/api/v1#hasPAEData": "",
    "https://rism.online/api/v1#hasPAEKeysig": "",
    "https://rism.online/api/v1#hasPAETimesig": "",
    // Yueqiao: P2043(length). Junjun: doesn't think there is need for reconciling this envn if seperating the length and width:
    "https://rism.online/api/v1#hasPhysicalDimensions": "",
    "https://rism.online/api/v1#hasQualifier": "",
    // Junjun: in this context, #hasRelationship has no difference with dcterms:relation:
    "https://rism.online/api/v1#hasRelationship": "",
    // I am not sure if we need to reconcile this property which appears as a nested property under :hasRelationship:
    "https://rism.online/api/v1#hasRole": "",
    // Junjun: P144:"based on". To be confirmed:
    "https://rism.online/api/v1#hasSourceItem": "P144", 
    "https://rism.online/api/v1#hasSubject": "P921",
    "https://rism.online/api/v1#hasSummary": "",
    "https://rism.online/api/v1#isPartOf": "P361",
    "https://rism.online/api/v1#latestDate": "P1326",
    "https://rism.online/api/v1#meiEncoding": "",
    "https://rism.online/api/v1#paeEncoding": ""
}

--in the json file, if the value within "" is blank, it means the property in the corresponding key cannot be reconciled (with Wikidata).

@ahankinson
Copy link
Member

I will have a look next week and get back to you.

@ahankinson
Copy link
Member

How is the URI <https://rism.online/api/v1#> generated?

This is just the namespace we assigned to our objects. It was generated from my head as a unique URI.

@prefix ns1: <https://rism.online/api/v1#>

This might make more sense if you do @prefix rism: <https://rism.online/api/v1#>

It doesn't change anything fundamentally, but it does mean you can make statements like <https://rism.online/institutions/30000440> a rism:Institution, which probably helps in the human-readability.

https://rism.online/sources/1000000001/holdings/51006604

Thanks, this is a bug. rism-digital/rism-online-issues#338

@ahankinson
Copy link
Member

What does "Source contents" mean?

Source records in RISM can contain other Source records which are "children" of the parent. "Source contents" is a list of all the sources within the parent source record.

A "holding" record is the record that relates a book to its holding institution. In the case of printed books, there can be many holding institutions. In the case of a manuscript, there is only one. "Child" Source records in RISM do not have a holding record; only the parent records do.

@candlecao
Copy link
Contributor Author

Thank you for sharing the context which helped me know better of RISM's structure.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Priority: high high priority
Projects
None yet
Development

No branches or pull requests

3 participants