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

Improve display of mapping relations expressed with SKOS #312

Open
rettinghaus opened this issue May 31, 2022 · 6 comments · May be fixed by #410
Open

Improve display of mapping relations expressed with SKOS #312

rettinghaus opened this issue May 31, 2022 · 6 comments · May be fixed by #410

Comments

@rettinghaus
Copy link

rettinghaus commented May 31, 2022

It would be nice if the MACS-Mapping cross concordance information could be integrated/displayed somehow in the HTML view.
Maybe just add the corresponding links in the Siehe auch row?

Example: https://d-nb.info/gnd/4154647-7
See also: https://wiki.dnb.de/display/GND/GND-Mappings+zu+externen+Thesauri

@rettinghaus
Copy link
Author

Any plans for this?

@rettinghaus
Copy link
Author

I just noticed, that the links now are present, but marked as "closeMatch".

Image

Maybe a better German title could be found.

@acka47
Copy link
Contributor

acka47 commented Jan 24, 2025

I just noticed, that the links now are present, but marked as "closeMatch".

Yes, they are as skos:closeMatch in the underlying JSON-LD, added in 2024, see #362:

{
   "closeMatch":[
      {
         "id":"https://data.bnf.fr/ark:/12148/cb119712096",
         "label":"https://data.bnf.fr/ark:/12148/cb119712096"
      },
      {
         "id":"https://data.bnf.fr/ark:/12148/cb16269444g",
         "label":"https://data.bnf.fr/ark:/12148/cb16269444g"
      },
      {
         "id":"http://id.loc.gov/authorities/subjects/sh85049452",
         "label":"http://id.loc.gov/authorities/subjects/sh85049452"
      },
      {
         "id":"http://purl.org/bncf/tid/1712",
         "label":"http://purl.org/bncf/tid/1712"
      }
   ]
}

Maybe a better German title could be found.

You are right, this is not ideal. AFAIK, currently, we do not have any configuration option for the labels but only use the labels from GND Ontology. As closeMatch comes from SKOS and not GNDO it does not get a decent human-readable label. I will rename the issue and we will look into it.

@acka47 acka47 changed the title Show cross concordances Improve display of skos:closeMatch and exactMatch relations Jan 24, 2025
@acka47 acka47 changed the title Improve display of skos:closeMatch and exactMatch relations Improve display of mapping relations expressed with SKOS Jan 24, 2025
@acka47
Copy link
Contributor

acka47 commented Jan 24, 2025

Currently, all SKOS mapping relations are used in GND data:

In the UI:

  • closeMatch is displayed as "closeMatch"
  • exactMatch is displayed as "Entspricht"
  • broadMatch is displayed as "Oberbegriff"
  • narrowMatch is displayed as "narrowMatch"
  • relatedMatch is displayed as "Verwandet Begriff"

Looking at exactMatch, broadMatch and relatedMatch, my last comment apparently wasn't correct and we already have a way to configure human-readable labels. I will look into this and how we can also cover closeMatch and narrowMatch.

@acka47
Copy link
Contributor

acka47 commented Jan 24, 2025

Looks like we will have to adjust:

put("broadMatch", "Oberbegriff");
put("exactMatch", "Entspricht");
put("relatedMatch", "Verwandter Begriff");

and:

{ "broadMatch", "Oberbegriff" }, //
{ "exactMatch", "Entspricht" }, //
{ "relatedMatch", "Verwandter Begriff" }, //

Fancy a PR, @rettinghaus ?

@rettinghaus rettinghaus linked a pull request Jan 24, 2025 that will close this issue
@rettinghaus
Copy link
Author

done 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants