One other related question. I downloaded the latest TBC Maestro edition, but I didn't see any new tbc owl models included as part of the download. How do I get a local copy of the latest TBC owl files (e.g. sparqlmotion.owl)? Is there a zipped package I can download somewhere, or do I need to just grab them one at a time using their URIs in my browser?
Jeff > -----Original Message----- > From: Schmitz, Jeffrey A > Sent: Monday, December 07, 2009 12:47 PM > To: [email protected] > Subject: [tbc-users] Updated SPIN API ?s > > I'm trying to update to the latest TBC and SPIN libraries and > had the following questions pertaining to changes in the SPIN API: > > 1. The QueryWrapper constructor has changed and I'm not sure > what to pass in for the statement and thisUnbound parameters: > > QueryWrapper(Query query, String text, > org.topbraid.spin.model.Query spinQuery, String label, > Statement statement, boolean thisUnbound) > > 2. In the org.topbraid.spin.vocabulary.SPIN class I used to > use the below function: > > public static int getRuleIndex(Resource rule) { > Statement s = rule.getProperty(SPIN.ruleIndex); > if(s != null && s.getObject().isLiteral()) { > return s.getInt(); > } > else { > return 100000; > } > > After updating my SPIN library it's now gone. However, this > might have been something I added to my local copy. If not, > is there an alternate function I can use now? > > Thanks, > > Jeff > > > > -- > > You received this message because you are subscribed to the > Google Groups "TopBraid Composer Users" group. > 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-composer-users?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. 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-composer-users?hl=en.
