Thanks for your feedback Scott, I'll try that out. Mike
Sent from my HTC ----- Reply message ----- From: "Scott Henninger" <[email protected]> To: <[email protected]> Subject: [topbraid-users] Si there a way to Automate XML triplification Date: Thu, Jun 20, 2013 6:39 pm Mike; I think you have the general idea. Repeat the process of using the XSD importer and create a new .rdf/ttl file. To combine the results of multiple passes, I'd suggest creating a aggregator model that contains nothing or just the model elements. Then use owl:imports to merge the files generated on each pass of the XSD/XML import. The aggregator model can be a text serialization graph, or a connector to a back-end if the combined triples from XML imports is too large to fit into memory. There isn't a way to do XSD/XML imports via SPARQLMotion, but you may want to have a look at Semantic XML and SPINMap. Using these, you can create a mapping from raw XML to an RDFS/OWL model. The rules generated by SPINMap can then be placed in a SPARQLMotion script that can take other XML files (meeting the general schema criteria) as input and place into the back-end as needed. The help files in reference are: - Semantic XML: Help > TopBraid Composer > Working with XML and Table files > Creating, Importing, Querying, Saving XML documents with Semantic XML - SPINMap: Help > TopBraid Composer > Application Development Tools > SPIN > Ontology Mapping with SPINMap If you are interested in that approach, we can do a quick example. -- Scott On 6/20/2013 11:28 AM, Mikey wrote: Hi, I'm using the TBC feature where an XSD is imported into a project and then any XML files in the project can be queried as if they were RDF. I exported the project to TBL and it all works fine. Next I want to add additional XML files to the same project. Is there any way to do this automatically? It would be great if I could just drag and drop more XML files into a project folder and 'reindex' somehow. I guess what I'll have to do is open TBC, add the files and republish to TBL. The problem here is that the task can't be handled by an administrator. Mike -- -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en --- 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]. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en --- You received this message because you are subscribed to a topic in the Google Groups "TopBraid Suite Users" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/topbraid-users/x0frZIBDdNg/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en --- 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]. For more options, visit https://groups.google.com/groups/opt_out.
