Skip to content

[Feat] Add support for changing SKOS collection order type - #466

Merged
ledsoft merged 7 commits into
kbss-cvut:developmentfrom
lukaskabc:lukaskabc/ui/875-skos-collections-order-conversion
Nov 16, 2026
Merged

ledsoft merged 7 commits into
kbss-cvut:developmentfrom
lukaskabc:lukaskabc/ui/875-skos-collections-order-conversion

Conversation

@lukaskabc

Copy link
Copy Markdown
Collaborator

Requires: #465

Implements: kbss-cvut/termit-ui#875

Frontend PR: kbss-cvut/termit-ui#924

This PR allows editing an existing SKOS Collection and changing its order type (converting ordered to unordered and vice versa).

@ledsoft ledsoft left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing collection type from unordered to ordered retains skos:Collection as explicit type in the repository. Is this necessary? The ordered collection being instance of skos:Collection can be inferred from the class hierarchy.

@lukaskabc

Copy link
Copy Markdown
Collaborator Author

Changing collection type from unordered to ordered retains skos:Collection as explicit type in the repository. Is this necessary? The ordered collection being instance of skos:Collection can be inferred from the class hierarchy.

JOPA would not bind ordered collection to collection DTO (which is OWL Class skos:Collection)

@lukaskabc
lukaskabc requested a review from ledsoft November 16, 2026 06:53
@lukaskabc

Copy link
Copy Markdown
Collaborator Author

Removed explicit skos:Collection type from ordered collection.

If you want to clear local db:

PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DELETE {
    ?collection a skos:Collection
} WHERE {
    ?collection a skos:OrderedCollection
}

@ledsoft ledsoft left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ledsoft ledsoft linked an issue Nov 16, 2026 that may be closed by this pull request
@ledsoft
ledsoft merged commit ae79c81 into kbss-cvut:development Nov 16, 2026
2 checks passed
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 this pull request may close these issues.

Add support for SKOS (ordered) collections

2 participants