RE: UML class input to (eventual) JSON-LD output

Yes,
We have done mappings of UML (and other modeling/ontology languages) to/from RDF and application code in various languages for about 15 years. It may seem a bit like a black art, but it is very doable. We are actually preparing some open source that does just that but it isn’t out yet – we do use it in projects.
Note that Jason-LD –IS— RDF, it is an RDF syntax. Multiple tools will produce RDF/OWL (and other things) from UML, for example: https://www.nomagic.com/product-addons/magicdraw-addons/cameo-concept-modeler-plugin


The other question is your “code”, what code to do what in what language? The open source I described will produce a Java API for the application based on the ontology as modeled in UML or OWL, it uses a specific profile and metamodel: http://smif.modeldriven.org. The focus of this is information federation, translation and analytics.

I hope this helps!

-Cory Casanave

From: Julie Bielski <jbielski@rxmaker.com>
Sent: Tuesday, May 8, 2018 3:53 PM
To: public-linked-json@w3.org
Subject: UML class input to (eventual) JSON-LD output

Hi,

Does anyone here have experience with starting with a UML class diagram of an application domain and getting to the point where your code
can output instances of the various classes, their attributes, and relationships to instances of other classes via JSON-LD? From the reading I’ve done,
seems like I’d first convert the UML class diagram to RDFS and then to RDF, which could be serialized as JSON-LD? Seems like this would be a
common activity in the move from siloed data interchange to linked data.

Thanks,

Julie

Received on Tuesday, 8 May 2018 23:49:03 UTC