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

Define semantics for referential integrity #2405

Open
cmungall opened this issue Jun 4, 2023 · 1 comment
Open

Define semantics for referential integrity #2405

cmungall opened this issue Jun 4, 2023 · 1 comment

Comments

@cmungall
Copy link
Member

cmungall commented Jun 4, 2023

A non-inlined class range may be intended as:

  • a reference to an object in the same document, database, or graph
  • a reference to an object in the external document, database, or graph

For external references, the mechanism for deferencing will vary depending on substrate:

  • for rdf, the reference MUST be a URI. If the URI is a URL then the URL may be deferenceable by conneg
  • for json/yaml docs, there would need to be a bridge from URIs to e.g. JSONPointer
  • for sql there would need to be a way to bind URIs to other databases

In all cases some kind of configuration would need to be supplied.

Additionally, the interpretation may be one of:

  • the reference MUST be present
  • the reference SHOULD be present

Furthermore, the semantics of deleting could be one of:

  • no action
  • cascading delete
@nlharris
Copy link
Contributor

nlharris commented Nov 8, 2024

(moved from linkml-model)

@nlharris nlharris transferred this issue from linkml/linkml-model Nov 8, 2024
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

2 participants