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

Remove dependance of record on institution #72

Open
blcham opened this issue Jan 9, 2024 · 3 comments
Open

Remove dependance of record on institution #72

blcham opened this issue Jan 9, 2024 · 3 comments
Assignees
Labels

Comments

@blcham
Copy link

blcham commented Jan 9, 2024

  • ?record rm:was-treated-at ?institution should not be asserted, e.g.
    image
  • ?record rm:has-author ?user and ?user is-member-of ?institution can be used instead to find out relation between record and institution

Motivation:
We want to remove ?record rm:was-treated-at ?institution as it can be inferred from ?record rm:has-author ?userand?user is-member-of ?institution`

PREFIX rm: <http://onto.fel.cvut.cz/ontologies/record-manager/>

RULE: inferTreatmentInstitution
IF {
    ?record rm:has-author ?user .
    ?user rm:is-member-of ?institution .
}
THEN {
    ?record rm:was-treated-at ?institution .
}

User not being assigned to an institution was temporary solved in #186.

@blcham blcham changed the title Inform user in case he forgets to enter institution for a user Migrate record from institution to the user Apr 14, 2024
@blcham blcham changed the title Migrate record from institution to the user Remove dependance of record on institution Apr 14, 2024
@blcham
Copy link
Author

blcham commented Aug 8, 2024

Open questions:

  • does the following scenario work:
    • create a user
    • create some records
    • assign the user to an organization
    • check that records now belong to the organtization
    • assign the user to other organization
    • check that records now belong to the newly assigned organtization

@blcham
Copy link
Author

blcham commented Aug 8, 2024

Based on open question we decide ho to solve it.

@blcham blcham added the blocked label Aug 8, 2024
@palagdan
Copy link
Collaborator

palagdan commented Sep 9, 2024

@blcham

Could you please tell me where I can find these rules? I can only see the relationships in a graph if they actually exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants