Hello Drew, TBC is a single user tool, not licensed to be called via APIs. APIs our offered by our server product, TopBraid EDG.
I am not aware of any tool that would auto-convert XMI to RDF in a semantically meaningful way. Although XMI is intended as an interchange format, there are still variations across the UML tools that produce it. XMI produced by one UML tool may not be correctly imported by another tool. Then, there is a complex topic of RDF conversion. What you can do with TBC is open any XML file. If you have XSD for XML, you get a more meaningful conversion. Otherwise, there is a default conversion that translates hierarchical information in XML using smxl:child property. You can read more about this at https://topbraidcomposer.org/html/XMap.htm <https://topbraidcomposer.org/html/XMap.htm>. Or better, use Help within TBC. Once you get a row or semi-row conversion to RDF, you can use SPARQL and/or write SPIN and SHACL transformation rules to get it into the shape you want your final RDF to be in. However, even with the row/generic conversion, what you get is RDF and you could query it with SPARQL. With respect to your requirements 2 and 3: You can use TBC to create Jena database and import any RDF into it. You can use TBC to create and execute SPARQL queries. To do this, your RDF does not need to be loaded to Jena. It could stay as a file that you open in TBC. Internally, this will load it into RAM and use Jena APIs but all of this will be transparent to you. You could try these operations by downloading a trial version of TBC. > On Jul 1, 2019, at 4:36 PM, andrew kwak <[email protected]> wrote: > > Hello! > > I'm having to evaluate some tools for my professor. I was wondering if > TopBraid composer fulfills these requirements? If it does, > does the free version have the capability to do so? > > 1) Find tools to assist with converting UML class diagram (in XMI) to > RDF. Also see if they have API we can call so that this conversion > can be done programmatically. Pick a tool with an API. > > 2) Save the RDF to Apache Jena > > 3) Create SPARQL queries to find specific UML patterns (will supply > this later). We will need to find specific relationships between > classes to detect security design patterns. > > If it doesn't can anyone make any suggestions? It didn't seem like there were > many options when I was looking on google. > > I tried looking at EulerGUI but it seems outdated. Thanks in advance! > > -Drew > > > > -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/da5c8672-64a6-47b8-92f1-d5c46ccbb809%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/da5c8672-64a6-47b8-92f1-d5c46ccbb809%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/48038DE5-5839-414E-AF68-04561610D7D7%40topquadrant.com. For more options, visit https://groups.google.com/d/optout.
