Mena said:
> I want to apply the OnTools .FindShortestPath function on Yago.
> I am using the following code to load the model:
>
> Model model = TDBFactory.createModel(FullYagoDirectory);
>
> The FindShortestPath function taking too much time to return a result.
> I wonder if it is possible to load the model into main memory to make it
> faster or if there is any other way to make FindShortestPath much faster.
Model model = ModelFactory.createDefaultModel().add(
TDBFactory.createModel(FullYagoDirectory) );
Of course you may then run out of memory if the model is big.
Chris
("Default" models are in-memory models.)
--
"I don't want to know what the Structuralists think! I want /Archer's Goon/
to know what YOU think!"
Epimorphics Ltd, http://www.epimorphics.com
Registered address: Court Lodge, 105 High Street, Portishead, Bristol BS20 6PT
Epimorphics Ltd. is a limited company registered in England (number 7016688)