TBCM: batch mode to run semantic XML conversion

22 views
Skip to first unread message

Kai Liu

unread,
Feb 8, 2022, 7:07:46 AM2/8/22
to TopBraid Suite Users
I am wondering how to run XSD to OWL and semantic XML to RDF conversion in batch mode without openning TBCM GUI. 

A side question: since TBCM is discontinued, how to run XSD/XML to OWL/RDF with TopBraid Studio in the future?

Any suggestion is much appreciated. Thanks.

Kai

David Price

unread,
Feb 8, 2022, 12:36:14 PM2/8/22
to 'Felix Sasaki' via TopBraid Suite Users
On 8 Feb 2022, at 12:07, Kai Liu <kai...@siemens.com> wrote:

I am wondering how to run XSD to OWL and semantic XML to RDF conversion in batch mode without openning TBCM GUI. 

That is not supported as far as I’m aware. There are a lot of options to select/set and I imagine that’s part of the issue.


A side question: since TBCM is discontinued, how to run XSD/XML to OWL/RDF with TopBraid Studio in the future?


Composer ME is still available - there is a 7.1 release in our downloads page today. It will available as-is for the forseeable future.

FYI you might investigate ADS as a means of doing this kind of conversion.

Cheers,
David


Any suggestion is much appreciated. Thanks.

Kai


--
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 topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/5b0f7d83-e2a8-4d28-beee-cca75fbbcf56n%40googlegroups.com.


Kai Liu

unread,
Feb 8, 2022, 2:08:08 PM2/8/22
to TopBraid Suite Users
Thanks David. Can you please post some reference links about how to use ADS to perform the same tasks, i.e. conversion from XSD to OWL and corressponding semantic XML to RDF? 

Best regards, Kai

David Price

unread,
Feb 8, 2022, 2:34:38 PM2/8/22
to topbrai...@googlegroups.com
On 8 Feb 2022, at 19:08, Kai Liu <kai...@siemens.com> wrote:

Thanks David. Can you please post some reference links about how to use ADS to perform the same tasks, i.e. conversion from XSD to OWL and corressponding semantic XML to RDF? 

This is not a *tool* like the Composer XSD->OWL converter, but is instead an alternative *approach* perhaps worth consideration wrt doing things with XML files. Given that ADS is JavaScript, some of the XML/XSD to JSON tooling might be useful in your use case.


Cheers,
David


Best regards, Kai

On Tuesday, 8 February 2022 at 18:36:14 UTC+1 David Price wrote:
On 8 Feb 2022, at 12:07, Kai Liu <kai...@siemens.com> wrote:

I am wondering how to run XSD to OWL and semantic XML to RDF conversion in batch mode without openning TBCM GUI. 

That is not supported as far as I’m aware. There are a lot of options to select/set and I imagine that’s part of the issue.


A side question: since TBCM is discontinued, how to run XSD/XML to OWL/RDF with TopBraid Studio in the future?


Composer ME is still available - there is a 7.1 release in our downloads page today. It will available as-is for the forseeable future.

FYI you might investigate ADS as a means of doing this kind of conversion.

Cheers,
David


Any suggestion is much appreciated. Thanks.

Kai


--
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 topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/5b0f7d83-e2a8-4d28-beee-cca75fbbcf56n%40googlegroups.com.



--
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 topbraid-user...@googlegroups.com.

Holger Knublauch

unread,
Feb 9, 2022, 2:21:38 AM2/9/22
to topbrai...@googlegroups.com
To slightly expand on this: Instead of doing XSD to OWL and then importing XML into the resulting proxy-ontology, you may want to consider directly going from XML (instance) files to the target ontology. The “problem” that I see with XSD to OWL (or SHACL) is that the resulting ontology is probably not really the format that you want to use on the long term. XML documents are rather tree-based and XSD reflects this. If you would design an ontology from the ground up, it would probably be rather graph-shaped and less about document syntax than about domain objects and their relationships. Therefore, one approach is to design the SHACL ontology of your choice with EDG and then write an ADS import script that directly operates the XML files using the API described in


If it helps, you could annotate the classes in your ontology with XPath expressions or similar instructions that define how they are imported from the XML instance documents. Such annotations could be used by an ADS-based importer at run-time.

Holger


Reply all
Reply to author
Forward
0 new messages