cwrc / RDF-extraction

0 stars 0 forks source link

Determine error in URI generation for numerous nodes #38

Closed alliyya closed 2 years ago

alliyya commented 2 years ago

ex. frbroo:R19i_was_realised_through data:https_activity_statement_0 ; crm:P102_has_title data:https_title_0 ; crm:P140i_was_attributed_by data:https_admin_metadata ;

resulting in the transformed data having nodes that have 1000s of labels, timespans and incorrect relationships.


orlando:19f3c06e-5dd8-43c6-b337-41989be2efdc_host_0 a frbroo:F1_Work ;
    rdfs:label "Papers on Language and Literature" ;
    frbroo:R19i_was_realised_through data:https_activity_statement_0 ;
    crm:P102_has_title data:https_title_0 ;
    crm:P140i_was_attributed_by data:https_admin_metadata ;
    crm:P2_has_type bf:Text .

orlando:19fd8a37-de2c-41cd-8159-93eac196a649_series_0 a frbroo:F1_Work ;
    rdfs:label "Cambridge Library Collection" ;
    crm:P102_has_title data:https_title_0 ;
    crm:P140i_was_attributed_by data:https_admin_metadata ;
    crm:P2_has_type bf:Text .

Seems to be related to hosts and types of works?

alliyya commented 2 years ago

Seems to be only happening to related items

Look into objects using the related_item_map

   related_item_map = {
        "host": BF.partOf,
        "constituent": BF.partOf,
        "isReferencedBy": BF.referencedBy,
        "original": BF.original,
        "otherFormat": BF.otherPhysicalFormat,
        "otherVersion": BF.otherEdition,
        "preceding": BF.precededBy,
        "references": BF.references,
        "reviewOf": BF.review,
        "series": BF.hasSeries,
        "succeeding": BF.succeededBy
    }
alliyya commented 2 years ago

Duplicate of #42