Showing modified concepts?

49 views
Skip to first unread message

opo...@gmail.com

unread,
Jan 15, 2024, 7:27:46 AM1/15/24
to Skosmos Users
Hi,
I am looking for a way to list modified concepts,  similar to the list of new concepts. That is,  a listing based on dc:modified rather than dc:created. Does SKOSMOS offer any such facility?
Regards,
Oddrun Pauline Ohren
National Library of Norway

Osma Suominen

unread,
Jan 17, 2024, 10:40:13 AM1/17/24
to skosmo...@googlegroups.com
Hi Oddrun!

The Skosmos UI doesn't currently show a list of modified concepts. We
implemented one initially, but that turned out not to make sense to
users, because Skosmos doesn't know what has changed within that
concept. So we ended up removing it from the user interface; see
https://github.com/NatLibFi/Skosmos/issues/358 for a few details.

However, the REST API does have a vocabulary-specific method called
"modified" that can provide the list in JSON(-LD) format. For example
this will give you a list of modified concepts in YSO (with labels in
English):

https://api.finto.fi/rest/v1/yso/modified?lang=en

Like the list of new concepts, the results are ordered primarily by year
and month (most recent first), then alphabetically by prefLabel within
each month. Paging can be done with limit and offset parameters.
Swagger-UI interactive documentation is here:
https://api.finto.fi/doc/#!/Vocabulary45specific32methods/get_vocid_modified

-Osma
> --
> You received this message because you are subscribed to the Google
> Groups "Skosmos Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to skosmos-user...@googlegroups.com
> <mailto:skosmos-user...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/skosmos-users/8553ada1-d55d-4eba-95a5-bbf856b8bcebn%40googlegroups.com <https://groups.google.com/d/msgid/skosmos-users/8553ada1-d55d-4eba-95a5-bbf856b8bcebn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 15 (Unioninkatu 36)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
osma.s...@helsinki.fi
http://www.nationallibrary.fi

opo...@gmail.com

unread,
Jan 25, 2024, 3:11:04 AM1/25/24
to Skosmos Users
Hi again,

Thanks for your answer, I think using the API to produce a list of changed concepts on demand will be good enough for us. 
One thing though: How excactly does Skosmos determine change in a concept? Just checking dc:modified?
(In our case, what constitutes modifications in a concept has turned out not to be completely clear-cut. 
The software we are using for managing our thesauri, and which produces the skos export to be adapted for SKOSMOS, has an internal model in which "everything" (notes, labels in other languages, alternative labels, relationships between terms, etc)  is represented as separate entities. Hence, e.g. updating a definition of a concept is only registered as modification of the definition note entity, - a piece of information that is not included in the skos export. In fact, only change in a concept's  perferred label is timestamped as dc:modified in the skos export. We'll probably remedy this - at least partly - by comparing individual skos exports and assigning dc:modified to all concepts that have been changed in any way)
Reply all
Reply to author
Forward
0 new messages