You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Annif Users
Hi all,
Is the command "annif loadvoc" allows to load a tar file which contains a set of skos files ?
BR.
Sefiane.
juho.i...@helsinki.fi
unread,
Feb 10, 2022, 9:59:40 AM2/10/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Annif Users
Hi,
No, loadvoc command cannot handle a tar-archive of vocabulary files. And not multiple vocabulary files in any way: currently the vocabulary to load needs to be one file, in some of the supported formats: https://github.com/NatLibFi/Annif/wiki/Subject-vocabulary-formats
Maybe you can write the terms of each individual SKOS files into tsv files, which could then just be concatenated together to one tsv file? Or possibly there is a tool to concatenate SKOS files directly to one? Surely someone here knows more about the SKOS tools than me.
-Juho
Sefiane Touhami
unread,
Feb 10, 2022, 1:22:26 PM2/10/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Annif Users
Thank you so much Juho !
Osma Suominen
unread,
Feb 11, 2022, 6:57:49 AM2/11/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to annif...@googlegroups.com
Hi,
for merging SKOS files you can use any RDF tools. For example, rdflib
(which is used in Annif) comes with the utility rdfpipe, which works
well for this although it can be a bit slow. For example, to merge two
SKOS files into a single Turtle file, you can use a command like this: