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

Support converting GND authority file record #56

Closed
nichtich opened this issue Jun 20, 2018 · 3 comments
Closed

Support converting GND authority file record #56

nichtich opened this issue Jun 20, 2018 · 3 comments

Comments

@nichtich
Copy link
Contributor

nichtich commented Jun 20, 2018

GND records provided by the German National Library (e.g. http://d-nb.info/1020118989/about/marcxml) cannot be converted because:

  • Field 008[11] is set to n (Not applicable) instead of z (Other)
  • gnd is not specified in 040$f

The first may be fixed in mc2skos by also allowing n but the second needs to be done by German National Library.

After both changes (an example is included in https://github.com/gbv/mc2skos/blob/gnd/examples/gnd-1020118989.xml), the converted RDF contains an empty string triple:

skos:note ""@de ;

This should better be fixed in mc2skos.

Finally GND records contain mappings via field 024 to be converted too (#55).

@danmichaelo
Copy link
Member

Do you understand why they use "n"? Seems a bit strange to me, but I'm not totally sure I understand the semantics of it :)

Are you in contact with DNB about adding 040$f? That would be good to have indeed.

danmichaelo added a commit that referenced this issue Jun 28, 2018
Fixes the note issue reported in #56
@nichtich
Copy link
Contributor Author

I got feedback, they are not going to change the date. Can we just accept n in 008[11] instead of rejecting the records? The connection to GND still needs to be given explicitly via --scheme and --uri:

 mc2skos --scheme http://d-nb.info/gnd/ --uri 'http://d-nb.info/gnd/{control_number}' examples/gnd-4003412-4.xml

I'd like to simplifiy this, e.g.

mc2skos --scheme gnd

To set a default value of 040$4 or 084$a.

danmichaelo added a commit that referenced this issue Aug 18, 2018
Support specifying concept scheme by setting --scheme to a key from
vocabularies.yml.
danmichaelo added a commit that referenced this issue Aug 18, 2018
Add unmodified GND record. Since it doesn't specify vocabulary code, it
must be specified with a flag `--scheme gnd`.
@danmichaelo
Copy link
Member

You didn't get an explanation as for why they prefer "n"?

The short form makes good sense, so I added support for that.

danmichaelo added a commit that referenced this issue Aug 18, 2018
Support specifying concept scheme by setting --scheme to a key from
vocabularies.yml.
danmichaelo added a commit that referenced this issue Aug 18, 2018
Add unmodified GND record. Since it doesn't specify vocabulary code, it
must be specified with a flag `--scheme gnd`.
danmichaelo added a commit that referenced this issue Aug 18, 2018
Support specifying concept scheme by setting --scheme to a key from
vocabularies.yml.
danmichaelo added a commit that referenced this issue Aug 18, 2018
Add unmodified GND record. Since it doesn't specify vocabulary code, it
must be specified with a flag `--scheme gnd`.
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

No branches or pull requests

2 participants