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 specification of multiple contexts/descriptors for loading #73

Closed
ledsoft opened this issue Sep 9, 2020 · 1 comment
Closed

Comments

@ledsoft
Copy link
Contributor

ledsoft commented Sep 9, 2020

As a user, I want to be able to specify multiple descriptors/contexts when loading an entity and its attributes. The current behavior is problematic in cases where the property values may be loaded from several context, yet not the whole repository should be scanned.

As an example, in the TermIt project, there are workspaces consisting of several vocabularies. Each vocabulary is stored in its own repository context, but since a vocabulary may be used in multiple workspaces, there are several copies of the vocabulary content in several contexts (one context per each vocabulary per each workspace). Now, a term can have several skos:broader terms, even from different vocabularies. In this case, it is necessary to ensure that only the references from the relevant workspace are taken into account.

ledsoft added a commit that referenced this issue Sep 24, 2020
…for supporting multiple contexts per assertion/subject.

AxiomValueDescriptor has been split from AxiomDescriptor, as it can contain only one context per assertion/subject to prevent ambiguity issues when saving values.
ledsoft added a commit that referenced this issue Sep 24, 2020
ledsoft added a commit that referenced this issue Sep 24, 2020
ledsoft added a commit that referenced this issue Sep 29, 2020
ledsoft added a commit that referenced this issue Sep 29, 2020
ledsoft added a commit that referenced this issue Sep 29, 2020
Also put Hamcrest into parent pom to make it accessible in tests in all modules.
ledsoft added a commit that referenced this issue Sep 30, 2020
ledsoft added a commit that referenced this issue Sep 30, 2020
…er descriptor and attribute.

The changes are as small as possible w.r.t. existing API.
ledsoft added a commit that referenced this issue Oct 5, 2020
…end Descriptor with methods for getting single context (used for write operations).
ledsoft added a commit that referenced this issue Oct 5, 2020
ledsoft added a commit that referenced this issue Oct 5, 2020
@ledsoft
Copy link
Contributor Author

ledsoft commented Oct 12, 2020

Done in 0.16.0

@ledsoft ledsoft closed this as completed Oct 12, 2020
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
…paration for supporting multiple contexts per assertion/subject.

AxiomValueDescriptor has been split from AxiomDescriptor, as it can contain only one context per assertion/subject to prevent ambiguity issues when saving values.
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
…plural contexts supporting axiom descriptors.
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
Also put Hamcrest into parent pom to make it accessible in tests in all modules.
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
…ontexts per descriptor and attribute.

The changes are as small as possible w.r.t. existing API.
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
… API. Extend Descriptor with methods for getting single context (used for write operations).
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
…ns) to support contains call with plural contexts.
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
Sidonivs pushed a commit to Sidonivs/jopa that referenced this issue Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant