Hey guys! Here's another question:
Let's say I have my XML/RDF/OWL exported from Studio and want to use it in some Java application. How do I run the SPIN rules on my file? ontology = ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM_RULE_INF); // Read model from file fis = new FileInputStream(args[0]); ontology.read(fis, null); SPINModuleRegistry.get().registerAll(ontology, null); It seems that I have to run each rule manually using SPINInferences.run(...). Is there some "easy" way to retrieve all the spin:rule objects from the Ontology, run them and query the inferred model? Regards, Michael -- -- 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 Insight, 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.
