I have done the bridging between OWLIM-SE and TopBraid Composer. I have even created simple Functions and executed against OWLIM data from TopBraid Composer.
Now I would like to call this spin function using SPIN API on OWLIM model,
Loading model from OWLIM,manager = RemoteRepositoryManager.getInstance(Preferences
.getRepositoryURL());
manager.initialize();
owlimRepository = manager.getRepository(Preferences.Common.REPOSITORY_NAME);
owlimRepository.initialize();
dataset = new SesameDataset(con);
model = ModelFactory.createModelForGraph(dataset.getDefaultGraph());
QueryExecution qExec = QueryExecutionFactory.create(queryFromSparqlTxt,
model);
return qExec.execSelect();
Note:-
Now, When I execute the SPARQL, I don't get the expected output.
Please help me on this. Am I missing any spin registry?
Thanks
Raj