On 31/01/13 18:09, Petar Jovanovic wrote:
Hi, I found many threads about finding the shortest path and calculating distance between two nodes in the ontology with Jena (OntTools class to be precise). However, I'm interested to find all the paths between two nodes and then to let user for example choose the one he wants. Is there some method for getting the set of all paths between two classes?
There's no build in operation like that but it'll be an easy piece of code for you to write.
Dave
