biolink / biolink-model

Schema and generated objects for biolink data model and upper ontology
https://biolink.github.io/biolink-model/
Other
169 stars 71 forks source link

Visualize shex models #154

Closed cmungall closed 3 years ago

cmungall commented 5 years ago

Could we use this for visualizing our derived shex? h/t @balhoff cc @hsolbrig

http://shaclex.validatingrdf.com/schemaInfo?schema=prefix%20%3A%20%3Chttp%3A%2F%2Fexample.org%2F%3E%0Aprefix%20xsd%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0Abase%20%3Chttp%3A%2F%2Fexample.org%2F%3E%0A%0A%3AUser%20CLOSED%20%7B%0A%20%20%20%20%3Aname%20xsd%3Astring%3B%0A%20%20%20%20%3Aage%20xsd%3Aint%3B%0A%20%20%20%20%3Aknows%20%40%3AUser%20%3B%0A%20%20%20%20%3AworksFor%20%40%3ACompany%20%3B%0A%20%20%20%20%3Abuys%20%40%3CProduct%3E%20%7B1%2C10%7D%0A%7D%0A%0A%3ACompany%20%7B%0A%20%20%20%20%3Aname%20xsd%3Astring%20%3B%0A%20%20%20%20%3AhasEmployee%20%40%3AUser%20*%0A%7D%0A%0A%3CProduct%3E%20%7B%0A%20%20%20%20%3Aname%20.%3B%0A%20%20%20%20%3Asku%20xsd%3Astring%20%3B%0A%20%20%20%20%3Amanufacturer%20%40%3COrganization%3E%0A%7D%0A%0A%3COrganization%3E%20%7B%0A%20%20%20%20%3Aname%20xsd%3Astring%20%3B%0A%20%20%20%20%3AisPartOf%20%40%3COrganization%3E%0A%7D&schemaFormat=ShExC&schemaEngine=ShEx

hsolbrig commented 5 years ago

Took a peek at it, unfortunately, Wellformed: true SVG conversion: Not implemented UML representation of ShapeOr. You can help us suggesting UML diagrams for OR { "schemaName": "ShEx", "schemaEngine": "Iterative", "wellFormed": true, "errors": [], "parsed": "Parsed OK", "svg": "SVG conversion: Not implemented UML representation of ShapeOr. You can help us suggesting UML diagrams for OR" }

I think I know the authors. A UML “OR” is sometimes represented as a set of disjoint subtypes of an abstract base class. I’ll pass it on…

From: Chris Mungall notifications@github.com Reply-To: biolink/biolink-model reply@reply.github.com Date: Thursday, October 25, 2018 at 10:33 AM To: biolink/biolink-model biolink-model@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [biolink/biolink-model] Visualize shex models (#154)

Could we use this for visualizing our derived shex?

http://shaclex.validatingrdf.com/schemaInfo?schema=prefix%20%3A%20%3Chttp%3A%2F%2Fexample.org%2F%3E%0Aprefix%20xsd%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0Abase%20%3Chttp%3A%2F%2Fexample.org%2F%3E%0A%0A%3AUser%20CLOSED%20%7B%0A%20%20%20%20%3Aname%20xsd%3Astring%3B%0A%20%20%20%20%3Aage%20xsd%3Aint%3B%0A%20%20%20%20%3Aknows%20%40%3AUser%20%3B%0A%20%20%20%20%3AworksFor%20%40%3ACompany%20%3B%0A%20%20%20%20%3Abuys%20%40%3CProduct%3E%20%7B1%2C10%7D%0A%7D%0A%0A%3ACompany%20%7B%0A%20%20%20%20%3Aname%20xsd%3Astring%20%3B%0A%20%20%20%20%3AhasEmployee%20%40%3AUser%20*%0A%7D%0A%0A%3CProduct%3E%20%7B%0A%20%20%20%20%3Aname%20.%3B%0A%20%20%20%20%3Asku%20xsd%3Astring%20%3B%0A%20%20%20%20%3Amanufacturer%20%40%3COrganization%3E%0A%7D%0A%0A%3COrganization%3E%20%7B%0A%20%20%20%20%3Aname%20xsd%3Astring%20%3B%0A%20%20%20%20%3AisPartOf%20%40%3COrganization%3E%0A%7D&schemaFormat=ShExC&schemaEngine=ShEx

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/biolink/biolink-model/issues/154, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAZYtiKvZiG3EpLlNVxay8Za7NjM8bAwks5uodm3gaJpZM4X6jG-.

deepakunni3 commented 4 years ago

Is this something we want to support in biolinkml? @cmungall @hsolbrig