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

Object property doesn't use functional setting #3848

Open
litvinovg opened this issue Mar 22, 2023 · 1 comment
Open

Object property doesn't use functional setting #3848

litvinovg opened this issue Mar 22, 2023 · 1 comment
Milestone

Comments

@litvinovg
Copy link
Collaborator

Describe the bug
Object property doesn't use functional setting

To Reproduce
Steps to reproduce the behavior:

  1. Create object property, set functional setting.
  2. Create first instance of object property
  3. Create second instance of object property

Expected behavior
No option to create second instance of object property should be available

@litvinovg litvinovg added the rc label Mar 22, 2023
@brianjlowe
Copy link
Member

brianjlowe commented Apr 17, 2023

This is a bit of a tricky issue -- and not one that I consider a bug -- because if property P is functional we can have assertions P(x, y) and P(x, z) without making the ontology inconsistent so long as there is no asserted/inferred statement differentFrom(y, z). We simply get the inference sameAs(y, z).

I think settings limiting the number of entries that an editor can create for a property should be governed by an annotation (such as a cousin of displayLimit) or something in the display/configuration ontology.

It also may be the case that some/most Vitros would prefer to assume that all IRIs are differentFrom one another. Maybe this could be a universal configuration setting that would then allow the functionality of properties to limit entries to one per subject.

@chenejac chenejac removed the rc label Apr 20, 2023
@chenejac chenejac added this to the v1.15 milestone May 9, 2023
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

No branches or pull requests

3 participants