model=obographviz: a PNG file with an obographviz picture
model=mermaid: an embeddable diagram in mermaid syntax
The infrastructure should be easily extensible to allow many other kinds models, including "schema instance", "schema validation" and more.
The infrastructure should be implemented in a modern API framework (e.g. fastapi). The actual transformation processes (generate_owl(), generate_obographviz(), generate_mermaid() take as an input the LinkML schema that underpins the service, an instance of a complex expression (jsonurl->json) and generate the required model instance. Some of the transformation processes will be handled by standard LinkML conversion tools, others will need bespoke generators.
@cmungall @sierramoxon @cassiatrojahn can you check if this rough draft makes any sense? I am thinking of working with @cassiatrojahn to turn this into a proper project description for a master student.
Summary: We propose to build a web service for processing complex expressions. The goal is to support requests of the kind:
or
or
to return a "model instance", for example:
mermaid
syntaxThe infrastructure should be easily extensible to allow many other kinds models, including "schema instance", "schema validation" and more.
The infrastructure should be implemented in a modern API framework (e.g. fastapi). The actual transformation processes (generate_owl(), generate_obographviz(), generate_mermaid() take as an input the LinkML schema that underpins the service, an instance of a complex expression (jsonurl->json) and generate the required model instance. Some of the transformation processes will be handled by standard LinkML conversion tools, others will need bespoke generators.