Hello,
  I'm using org.topbraid.spin.model.SPINFactory to retrieve a stored 
org.topbraid.spin.model.Query in one of my models, and then using the print 
function to get the string version of the query, e.g.:

org.topbraid.spin.model.Query spinQuery = SPINFactory
                              .asQuery(spinQueryRes);
                  StringBuilder queryBldr = new StringBuilder();
                  StringPrintContext printCntxt = new 
StringPrintContext(queryBldr);
                  spinQuery.print(printCntxt);
String sparqlStr = queryBldr.toString();


but I don't see an obvious way to get the prefixes associated with the Query.  
Is there a way to retrieve them in the api?

Thanks,
Jeff

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion 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

Reply via email to