Richard, You do not need need to recreate your ontology.
In order to use SPIN with your model, you should import into it the SPIN namespace simply drag and drop the file into the Import tab of your ontology. The file to import is under TopBraid/SPIN directory spl.spin.ttl. This will make it possible for you to add SPIN rules into your model. You can also create a new SPIN/RDF file (take a look at all the import options in the wizard to figure out what you need to add) and then drag and drop your ontology into it as an import. This way the new file will contain only the SPIN rules and your underlying file will remain unchanged. It is up to you which approach to take. Once you have SPIN rules, you can run them. Inferred triples are placed in the runtime inference graph. You will see all of them in the Inference tab. You can then assert them into the file you have opened or you can use Export>TopBraid Composer>Export/Merge/Convert RDF Graphs and save the inferred triples as a separate graph. Running such inferencing can be automated as a web service, but this would require a TopBraid Live server or, at minimum, TopBraid Composer Maestro Edition. And, yes, the server would need to be running to execute the process. Regards, Irene Polikoff From: 'Richard Reuter' via TopBraid Suite Users <[email protected]> Reply-To: <[email protected]> Date: Wednesday, July 27, 2016 at 2:39 PM To: TopBraid Suite Users <[email protected]> Subject: [topbraid-users] Usefullness of SPIN for my Use Case Hi guys, i created a process Ontology in Protege. Now i read about spin and TBC. I installed the free version of tbc and tried to use SPIN. I imported my Ontology, but i couldnt use spin in the imported Ontology. Only when i create a new Ontology with RDF/SPIN it showed me the option to use spin rules. But i dont want to recreate the Ontology in the .spin.ttl manually from scratch. Further i need to use some upate queries. What i mean i need to apply some rules and when a expression is true, i need to add 2 object properties to all of my individuals that are from a special type of object property. The querry is not from importance here. I also created a mapping in protege(e.g equivalentTo) . In addation to that mapping i want to use the spin rules. I read that i can include them into my Ontology. By applying my mapping and spin rules i want to create another Ontology that includes the missing object properties when a condition is true. To execute that spin rule to write this 2 object properties into my Ontology, do i need to start TBC everytime? Can i use TBC for that or do i need the to do it in JAVA and import spin? How to use TBC with an imported Ontology and SPIN? Is TBC the right approach? My aim is to open Ontology A in the jena model, apply my mapping and spin rules, generate a new Ontology. Do i need a reasoner in java to execute that? Sorry for so many questions, im relative new to this topic. best regards Richy -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include the TopBraid Suite family of products and its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to [email protected] --- 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/d/optout. -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include the TopBraid Suite family of products and its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to [email protected] --- 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/d/optout.
