Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add an additional data_lod twig context that includes the original label used to reconciliate against. #153

Open
DiegoPino opened this issue Mar 9, 2023 · 1 comment
Assignees
Labels
AMI entity LoD Reconciliation Make your labels into Links and suffer Metadata Display Preview AMI Set integration with creative Twig template editing
Milestone

Comments

@DiegoPino
Copy link
Member

What?

Right now our LoD Twig context uses the source field, the reconciliation vocab/method/endpoint and the results. That covers most of the cases, but we have found the need for certain users to also have the Original label, specially for cases were the users don't trust or see the LoD process as separate thing (means once done, it has its own place) or want to do analysis on what was reconciliated or not outside of the scope of the AMI set itself. Note this can already be done by downloading the Processed LoD CSV and looking at it but this would allow to bring the data back into each ADO during ingest.

We do have this data available so its a matter of exposing it during Ingest + during preview

@DiegoPino DiegoPino self-assigned this Mar 9, 2023
@DiegoPino DiegoPino added LoD Reconciliation Make your labels into Links and suffer Metadata Display Preview AMI Set integration with creative Twig template editing AMI entity labels Mar 9, 2023
@DiegoPino DiegoPino added this to the 0.5.0 milestone Mar 9, 2023
@DiegoPino
Copy link
Member Author

Ok, so this is what I got:

data_lod:

{
    "mods_name_corporate_creator_namepart": {
        "loc_rdftype_corporatename": [
            {
                "uri": "http:\/\/id.loc.gov\/authorities\/names\/n77004435",
                "label": "Student Struggle for Soviet Jewry"
            },
            {
                "label": "American Association for Jewish Education",
                "uri": "http:\/\/id.loc.gov\/authorities\/names\/n50082591"
            },
            {
                "uri": "http:\/\/id.loc.gov\/authorities\/names\/n50071085",
                "label": "Zionist Organization of America"
            },
            {
                "label": "North American Jewish Students' Network",
                "uri": "http:\/\/id.loc.gov\/authorities\/names\/n80102552"
            }
        ]
    },
    "mods_name_personal_creator_namepart": {
        "loc_rdftype_personalname": []
    }
}

data_lod_contextual:

{
    "mods_name_corporate_creator_namepart": {
        "Student Coalition for Soviet Jewry": {
            "loc_rdftype_corporatename": []
        },
        "Student Struggle for Soviet Jewry": {
            "loc_rdftype_corporatename": [
                {
                    "uri": "http:\/\/id.loc.gov\/authorities\/names\/n77004435",
                    "label": "Student Struggle for Soviet Jewry"
                }
            ]
        },
        "American Association for Russian Jews": {
            "loc_rdftype_corporatename": [
                {
                    "label": "American Association for Jewish Education",
                    "uri": "http:\/\/id.loc.gov\/authorities\/names\/n50082591"
                }
            ]
        },
        "Zionist Organization of America": {
            "loc_rdftype_corporatename": [
                {
                    "uri": "http:\/\/id.loc.gov\/authorities\/names\/n50071085",
                    "label": "Zionist Organization of America"
                }
            ]
        },
        "North American Jewish Students' Network": {
            "loc_rdftype_corporatename": [
                {
                    "label": "North American Jewish Students' Network",
                    "uri": "http:\/\/id.loc.gov\/authorities\/names\/n80102552"
                }
            ]
        }
    }
}

@alliomeria let me know if this works tomorrow 👀 thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AMI entity LoD Reconciliation Make your labels into Links and suffer Metadata Display Preview AMI Set integration with creative Twig template editing
Projects
None yet
Development

No branches or pull requests

1 participant