Thanks so much for your explanation, Eric.
Yes, when I added option --skosify skosify.cfg to the mc2skos.ext, I
did get more results.
Yongming
On Mon, May 13, 2024 at 12:43 PM Eric Phetteplace <[log in to unmask]>
wrote:
> Hi Yongming,
>
> Based on the CLI code
> <
> https://github.com/scriptotek/mc2skos/blob/master/mc2skos/mc2skos.py#L198-L201
> >
> in the repo, the --skosify flag accepts the path to a config file that
> looks like this:
> https://github.com/scriptotek/mc2skos/blob/master/examples/skosify.cfg
>
> Unfortunately, that example doesn't fill out much. Skosify is a dependency
> of mc2skos though and it has more documentation:
> https://github.com/NatLibFi/Skosify I'm hoping the API Reference link
> there
> can answer your question.
>
> Best,
> Eric
>
>
> On Mon, May 13, 2024 at 11:49 AM Wang, Yongming <[log in to unmask]> wrote:
>
> > Hi Jacob,
> >
> > Thanks for your reply. I installed mc2skos and got it to work. I have a
> > question about its usage but I can't find Dan Michael O. Heggøh's email
> > address. I appreciate it if you know the answer.
> >
> > My question is regarding one of the options:
> >
> > --skosify SKOSIFY? It says "Run Skosify with given configuration
> file." I
> > don't know which configuration file it refers to. Do I need to create it
> > myself? If yes, what does it look like?
> >
> > Thanks so much.
> >
> > Yongming
> >
> > On Tue, Feb 27, 2024 at 3:12 AM Voß, Jakob <[log in to unmask]> wrote:
> >
> > > Yongming Wang wrote:
> > >
> > > > Does anyone know of a good application or script that converts
> MARCXML
> > > to SKOS XML?
> > >
> > > Converting any MARC serialization (e.g. binary MARC) to MARCXML and
> > > converting from any SKOS RDF serialization to SKOS XML is possible with
> > > standard tools, so the hard part is converting from MARC21 to SKOS.
> There
> > > are two variants of MARC21 that can be converted to SKOS:
> > >
> > > - https://www.loc.gov/marc/classification/
> > > - https://www.loc.gov/marc/authority/
> > >
> > > We have used mc2skos for both with success, but the devil is in the
> > > details. As you can see at https://github.com/scriptotek/mc2skos there
> > > are some open issues and a pull request, so you may want to contact Dan
> > > Michael O. Heggøh if something is missing.
> > >
> > > Best
> > > Jakob
> > > ________________________________________
> > > Von: Code for Libraries <[log in to unmask]> im Auftrag von Wang,
> > > Yongming <[log in to unmask]>
> > > Gesendet: Montag, 26. Februar 2024 16:31:32
> > > An: [log in to unmask]
> > > Betreff: [CODE4LIB] Convert MARCXML to SKOS XML file
> > >
> > > Dear colleagues,
> > >
> > > Does anyone know of a good application or script that converts MARCXML
> to
> > > SKOS XML?
> > >
> > > I found the following two scripts on github. Anyone have experience or
> > > comments to share?
> > >
> > > https://github.com/scriptotek/mc2skos
> > >
> > > https://github.com/lcnetdev/marcauth-to-madsrdf
> > >
> > >
> > > Thanks so much in advance.
> > >
> > > Yongming
> > >
> > > --
> > > Yongming Wang
> > > Systems Librarian
> > > R. Barbara Gitenstein Library
> > > The College of New Jersey
> > > Email: [log in to unmask]
> > >
> >
> >
> > --
> > Yongming Wang
> > Systems Librarian
> > R. Barbara Gitenstein Library
> > The College of New Jersey
> > Email: [log in to unmask]
> >
>
--
Yongming Wang
Systems Librarian
R. Barbara Gitenstein Library
The College of New Jersey
Email: [log in to unmask]
|