Skip to content

docs(spec): fixes for Calculate Permissible Values algorithm - #296

Draft
noelmcloughlin wants to merge 2 commits into
linkml:mainfrom
noelmcloughlin:docs/spec-enum-include-matches
Draft

noelmcloughlin wants to merge 2 commits into
linkml:mainfrom
noelmcloughlin:docs/spec-enum-include-matches

Conversation

@noelmcloughlin

Copy link
Copy Markdown
Contributor

This PR updates "Calculate Permissible Values" algorithm in 04derived-schemas

  • Add include
  • Change reachable_from to a conditional (a query is not a list)
  • Add matches, with a ResolveMatch function
  • Fix typo (r should be q)
  • ResolveQuery takes a ReachabilityQuery
  • Fix typo (g should be q)
  • Correct slot include_self("True if the query is reflexive") instead of using alias reflexive

Uncertainty

While reviewing ReachabilityQuery I am uncertain about:

  • how should traverse_up and is_direct be captured?

  • what qualifies a "a match" - does pattern need to match the whole identifier or only part of?

@noelmcloughlin
noelmcloughlin marked this pull request as draft November 28, 2026 22:07

This branch has not been deployed

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

Successfully merging this pull request may close these issues.

1 participant