XML fromn RDF wizard in TBCME (tutorial anywhere?)

14 views
Skip to first unread message

Jack Hodges

unread,
May 18, 2021, 1:04:13 PM5/18/21
to TopBraid Suite Users
I have created an OWL/RDFS model and populated it with some data (manually). I want to export this data to XML so that I can test an ingest SPARQL MOTION script. There is a TBCME export wizard called XML from RDF which asks for an output file and an instance, and it tries to work but produces empty files. Clearly I am not using it properly. Is there one of Holger's videos that shows how to make this work, or a tutorial? I've been wandering the site and the forum looking and I don't really want to write a SPARQL MOTION script to do it if there is already an export utility that does it. Thanks for pointers.

Jack

Holger Knublauch

unread,
May 18, 2021, 6:49:48 PM5/18/21
to topbrai...@googlegroups.com

Hi Jack,

there are many ways of mapping RDF to XML. What output would you like to produce? Do you mean RDF/XML, XML based on our Semantic XML technology or some arbitrary XML?

One new technique to produce arbitrary XML is Active Data Shapes (ADS), see the last example in

    http://datashapes.org/active/tutorial.html#getting-started

which produces HTML yet the same approach works for XML.

Holger


On 2021-05-19 3:04 am, Jack Hodges wrote:
I have created an OWL/RDFS model and populated it with some data (manually). I want to export this data to XML so that I can test an ingest SPARQL MOTION script. There is a TBCME export wizard called XML from RDF which asks for an output file and an instance, and it tries to work but produces empty files. Clearly I am not using it properly. Is there one of Holger's videos that shows how to make this work, or a tutorial? I've been wandering the site and the forum looking and I don't really want to write a SPARQL MOTION script to do it if there is already an export utility that does it. Thanks for pointers.

Jack
--
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/9a2b523e-a8f3-4eb5-ac81-91404b1997c3n%40googlegroups.com.

Jack Hodges

unread,
May 19, 2021, 5:33:34 PM5/19/21
to TopBraid Suite Users
I'll take a look, thanks. In the meantime I went to another approach (convoluted but it worked), where I took a sample XML, backed out an XSD, imported the XSD into TBC, created the OWL file, and proceeded on to the real task of building a SPINMap to my ontology (another problem reported elsewhere). But I will look over this solution as it would have been the preferred approach. Thanks.

Jack

Reply all
Reply to author
Forward
0 new messages