geneontology/minerva

return any type mentioned in ShEx in root types

balhoff opened this issue · 2 comments

BlazegraphOntologyManager has a hardcoded root_types list. Currently this is missing 'anatomical structure development', which is causing problems for relation autocomplete choices in the UI. Instead of hardcoding, we should keep the list aligned with the ShEx shapes.

It turns out the autocomplete actually relies on GOlr, and has the info it needs. But we should still address this.

kltm commented

Ideas:

  • YAML metadata (or similar) that was consumed at compile or runtime (easier non-java-edit build and deploy)
  • direct consumption of the ShEx