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 #160

Open
cmungall opened this issue Jun 4, 2023 · 0 comments
Open

Define semantics for referential integrity #160

cmungall opened this issue Jun 4, 2023 · 0 comments

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
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

1 participant